gecko-dev/testing/mochitest
Geoff Brown da36fe7c54 Bug 1569982 - Respect verify annotations when running tests in mach with --verify; r=bc
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
2019-08-06 22:13:50 +00:00
..
baselinecoverage Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
BrowserTestUtils Backed out 3 changesets (bug 1559244) for causing bug 1370046 2019-07-25 17:42:32 +03:00
chrome
dynamic
embed
manifests
MochiKit
pywebsocket
ssltunnel Bug 1535210 - Set SSL STATE_IS_BROKEN flag for TLS1.0 and TLS 1.1 connections. r=keeler 2019-05-15 23:34:52 +00:00
static
tests Merge mozilla-inbound to mozilla-central. a=merge 2019-07-25 08:59:39 +03:00
__init__.py
api.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
bisection.py Bug 1559975 - convert testing/mochitest to python3 r=ahal 2019-08-02 19:44:34 +00:00
browser-harness.xul
browser-test.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
chrome-harness.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
chunkifyTests.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
favicon.ico
harness.xul
leaks.py Bug 1551334 - Migrate OSX hidden window from XUL to XHTML r=Gijs 2019-05-22 18:00:13 +00:00
mach_commands.py Bug 1570051 - Minor updates to android mach commands; r=bc 2019-08-03 01:52:39 +00:00
mach_test_package_commands.py Bug 1560073 - Change default android package name for most mach test commands; r=snorp,nalexander,maja_zf 2019-06-26 02:34:49 +00:00
manifest.json
manifest.webapp
manifestLibrary.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
mochitest_options.py Bug 1567264 - [mochitest] Ensure --enable-fission sets the pref to 'true' instead of '1', r=kmag 2019-08-06 17:37:58 +00:00
mochitest-e10s-utils.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
moz.build Bug 1558298: Part 12 - Remove nested OOP support from SpecialPowers and mochitest. 2019-06-12 10:52:47 -07:00
pywebsocket_wrapper.py
README.txt
redirect.html
runjunit.py Bug 1559975 - convert testing/mochitest to python3 r=ahal 2019-08-02 19:44:34 +00:00
runrobocop.py Bug 1559975 - convert testing/mochitest to python3 r=ahal 2019-08-02 19:44:34 +00:00
runtests.py Bug 1569982 - Respect verify annotations when running tests in mach with --verify; r=bc 2019-08-06 22:13:50 +00:00
runtestsremote.py Bug 1552052 - Do not dump mochitest/reftest logcat for successful runs; r=bc 2019-05-15 22:48:26 +00:00
schema.json
server.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
shutdown-leaks-collector.js
ShutdownLeaksCollector.jsm Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
start_desktop.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00

See https://developer.mozilla.org/en/docs/Mochitest for detailed information on running and writing mochitests.