mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 11:13:29 +00:00
da36fe7c54
Test manifest annotations like "skip-if = verify" are normally handled in mozharness: When a TV task finds a modified test that needs verification, but that test is skipped in verify mode, mozharness discards the test from the list of tests to be run. When running tests locally (mach mochitest, etc), these annotations should also be respected, and are currently handled in wpt and reftest harnesses, but not in mochitest or xpcshell -- rectified by this patch. mochitest and xpcshell had neglected to set mozinfo["verify"] when running in verify mode -- easily corrected. It should be noted that when running tests locally and a single test is requested, most test harnesses run the requested test even if it is skip-annotated. Thus, "mach test <test> --verify" will continue to run tests annotated "skip-if = verify" and this patch only changes the mochitest/xpcshell behavior of verify-skipped tests when run with "mach test <directory> --verify" -- a long-running test mode with complex logging never used in continuous integration. Differential Revision: https://phabricator.services.mozilla.com/D40486 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
dns-packet | ||
example | ||
moz-http2 | ||
node-http2 | ||
node-ip | ||
dbg-actors.js | ||
head.js | ||
mach_commands.py | ||
mach_test_package_commands.py | ||
moz.build | ||
python.ini | ||
README | ||
remotexpcshelltests.py | ||
runxpcshelltests.py | ||
selftest.py | ||
xpcshellcommandline.py |
Simple xpcshell-based test harness converted from netwerk/test/unit Some documentation at http://developer.mozilla.org/en/docs/Writing_xpcshell-based_unit_tests See also http://wiki.mozilla.org/SoftwareTesting:Tools:Simple_xpcshell_test_harness