B2G/Hacking: Difference between revisions

Jump to navigation Jump to search
25 bytes removed ,  15 August 2012
Line 221: Line 221:


# A few external packages are needed. First make sure you have pip (and preferably virtualenv), download http://people.mozilla.com/~ahalberstadt/runreftest-requirements.txt then run <pre>pip install -r runreftest-requirements.txt</pre>
# A few external packages are needed. First make sure you have pip (and preferably virtualenv), download http://people.mozilla.com/~ahalberstadt/runreftest-requirements.txt then run <pre>pip install -r runreftest-requirements.txt</pre>
# Either do: <pre>cd objdir-gecko/_tests/reftest</pre><pre>ln -s <path_to_gecko_dir> tests</pre><pre>python runreftestsb2g.py --b2gpath <path_to_b2g_repo> --adbpath <path_to_adb_binary> --xre-path <path_to_firefox_objdir>/dist/bin --emulator arm --emulator-res 800x1000 --remote-webserver 10.0.2.2 --ignore-windowsize <path_to_reftest_manifest></pre>
# Either do:
 
cd objdir-gecko/_tests/reftest
ln -s <path_to_gecko_dir> tests
python runreftestsb2g.py --b2gpath <path_to_b2g_repo> --adbpath <path_to_adb_binary> --xre-path <path_to_firefox_objdir>/dist/bin --emulator arm --emulator-res 800x1000 --remote-webserver 10.0.2.2 --ignore-windowsize <path_to_reftest_manifest>
 
 
#* xre-path is the path to a directory containing a desktop xpcshell binary. The one that is build with b2g will cause errors. Typically you can find it the objdir/dist/bin directory of a normal firefox build.
#* xre-path is the path to a directory containing a desktop xpcshell binary. The one that is build with b2g will cause errors. Typically you can find it the objdir/dist/bin directory of a normal firefox build.
#* the reftest manifest is the path starting from the gecko root. E.g to run the main manifest you would put "layout/reftests/reftest.list"
#* the reftest manifest is the path starting from the gecko root. E.g to run the main manifest you would put "layout/reftests/reftest.list"
Confirmed users
656

edits

Navigation menu