Confirmed users
1,759
edits
Line 138: | Line 138: | ||
* All files are copied to /data/local/tests by default. On some devices, you may need to create /data/local/tests and make it world writable. | * All files are copied to /data/local/tests by default. On some devices, you may need to create /data/local/tests and make it world writable. | ||
== reftests | == reftests (and crashtests and js-reftests) == | ||
[https://developer.mozilla.org/en/docs/Creating_reftest-based_unit_tests General reftest information.] | [https://developer.mozilla.org/en/docs/Creating_reftest-based_unit_tests General reftest information.] | ||
Running reftests: | |||
mach reftest | |||
OR mach reftest <test-dir> | |||
OR mach reftest <test-dir>/<test-name> | |||
Use "find -name reftest.list" to find valid test directories. | |||
Running crashtests: | |||
mach crashtest | |||
OR mach crashtest <test-dir> | |||
OR mach crashtest <test-dir>/<test-name> | |||
Use "find -name crashtest.list" to find valid test directories. | |||
Running js-reftests: | |||
mach jstestbrowser | |||
Notes: | Notes: | ||
* | * There are many reftests; trying to run them all at once is not recommended (takes a long time, may exhaust memory). | ||
== browser-chrome == | == browser-chrome == |