Mobile/WinMo Xpcshell: Difference between revisions

 
Line 54: Line 54:
cp -R bin/* <device>/tests/bin
cp -R bin/* <device>/tests/bin
</pre>
</pre>
==Getting the scripts==
There are two method for getting the python scripts to run these tests:
* build with these 3 patches
** {{bug|541420}} - devicemanager.py
** {{bug|493748}} - refactor runxpcshelltests.py
** {{bug|545867}} - add remotexpcshelltests.py as a subclass
* download [[http://people.mozilla.org/~jmaher/remotexpcshell.tar scripts]] to your $(testroot)


==Running the tests==
==Running the tests==
Line 63: Line 71:
<pre>
<pre>
cd $(testroot)
cd $(testroot)
python -u xpcshell/runxpcshelltests.py --xre-path=/tests/bin --manifest=xpcshell/tests/all-test-dirs.list /tests/bin/xpcshell
python --device 192.168.1.103 /tests/bin/xpcshell.exe --manifest=/tests/xpcshell/tests/all-test-dirs.list
</pre>
</pre>
Confirmed users
3,376

edits