<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Python is great for writing tests, and runs in many places.  If the tests themselves are based on TCP/IP and jsoninfo, and written in python, then I think they'll be quite portable, and should run fine on Windows too.</div><div><br></div><div>The tricky part is that each platform is going to have different ways of getting things into adhoc mode.  You can do something quite similar with Android and GNU/Linux since they both use the Linux kernel, but honestly, recent versions of NetworkManager are so much better to deal with for setting up adhoc than the low level stuff.  So that means Android and GNU/Linux would be handled differently.</div><div><br></div><div>.hc</div><br><div><div>On Mar 15, 2013, at 2:48 PM, Ben West wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi All,<br><br>In lieu of recent progress towards getting Commotion to a working state on Android, Ubuntu/Debian. and now possibly OSX, what thoughts about building a simple and (to whatever degree feasible) cross-platform testing framework in Python?<br>

<br>The general idea is that python scripts could be used to start hitting the test vectors listed here (note the server appears to be really slow):<br><br><a href="https://code.commotionwireless.net/projects/commotion/wiki/Testing#Mesh-Routing-Tech-Evaluations">https://code.commotionwireless.net/projects/commotion/wiki/Testing#Mesh-Routing-Tech-Evaluations</a><br>
<a href="https://code.commotionwireless.net/projects/commotion/wiki/Testing#Testbed-Requirements-based-on-test-suite-defined-above">https://code.commotionwireless.net/projects/commotion/wiki/Testing#Testbed-Requirements-based-on-test-suite-defined-above</a><br>
<a href="https://code.commotionwireless.net/projects/commotion/wiki/Testing#Release-Candidate-Test-Regimen">https://code.commotionwireless.net/projects/commotion/wiki/Testing#Release-Candidate-Test-Regimen</a><br><br>That is, assuming Ubuntu/Debian/OSX's python support as a starting point, could these lighweight python implementations allow for some unified test scripts across platforms?<br>
<br><a href="http://qpython.com/">http://qpython.com/</a> (for Android)<br><a href="https://dev.openwrt.org/browser/packages/lang/python/Makefile">https://dev.openwrt.org/browser/packages/lang/python/Makefile</a> (for OpenWRT, to be compiled as module)<br clear="all">
<br>Has anyone on the list had good experience with these Python implementations?<br><br>My original thought for such testing scripts was to do them in shell scripting, but I'm guessing Python would be easier and more powerful.<br>
<br>-- <br>Ben West<div><a href="http://gowasabi.net/" target="_blank">http://gowasabi.net</a><br><a href="mailto:ben@gowasabi.net" target="_blank">ben@gowasabi.net</a><br>
<a href="tel:314-246-9434" value="+13142469434" target="_blank">314-246-9434</a><br></div>
_______________________________________________<br>Commotion-dev mailing list<br><a href="mailto:Commotion-dev@lists.chambana.net">Commotion-dev@lists.chambana.net</a><br><a href="https://lists.chambana.net/mailman/listinfo/commotion-dev">https://lists.chambana.net/mailman/listinfo/commotion-dev</a><br></blockquote></div><br></body></html>