Bug 1522113 - schedule test-verify by test framework and directories rather than test source files, r=gbrown.
☠☠ backed out by c062846ae62b ☠ ☠
authorBob Clary <bclary@bclary.com>
Fri, 17 May 2019 17:22:38 +0000
changeset 533193 8d14aa373383797d65e44e11689171068bdde62e
parent 533192 8c01df028cc2b49c54e1216a4b2c562e23ea2dfe
child 533194 31953bf83dfd9710390419a006d41c51ff61b101
push id11276
push userrgurzau@mozilla.com
push dateMon, 20 May 2019 13:11:24 +0000
treeherdermozilla-beta@847755a7c325 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgbrown
bugs1522113
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1522113 - schedule test-verify by test framework and directories rather than test source files, r=gbrown. Differential Revision: https://phabricator.services.mozilla.com/D31622
moz.build
--- a/moz.build
+++ b/moz.build
@@ -54,34 +54,73 @@ with Files('README.txt'):
 with Files("nsprpub/**"):
     BUG_COMPONENT = ("NSPR", "NSPR")
 
 with Files('**/Makefile.in'):
     BUG_COMPONENT = ('Firefox Build System', 'General')
     FINAL = True
 
 with Files("**/*.js"):
-    SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu', 'docs']
+    SCHEDULES.inclusive += ['docs']
 
 with Files("**/*.jsm"):
     SCHEDULES.inclusive += ['docs']
 
 with Files("**/*.rst"):
     SCHEDULES.inclusive += ['docs']
 
 with Files("**/*.md"):
     SCHEDULES.inclusive += ['docs']
 
-with Files("**/*.html"):
+with Files("**/reftest.list"):
+    SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
+
+with Files("**/crashtest*.list"):
+    SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
+
+with Files("**/mochitest.ini"):
+    SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
+
+with Files("**/browser.ini"):
+    SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
+
+with Files("**/chrome.ini"):
+    SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
+
+with Files("**/xpcshell.ini"):
+    SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
+
+with Files("**/reftest*/**"):
     SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
 
-with Files("**/*.xhtml"):
+with Files("**/crashtest*/**"):
+    SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
+
+with Files("**/mochitest*/**"):
+    SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
+
+with Files("**/xpcshell/**"):
+    SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
+
+with Files("**/tests/**"):
     SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
 
-with Files("**/*.xul"):
+with Files("**/test/**"):
+    SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
+
+with Files("**/unit/**"):
+    SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
+
+with Files("**/browser/tools/mozscreenshots/**"):
+    SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
+
+with Files("**/devtools/shared/test-helpers/**"):
+    SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
+
+with Files("**/toolkit/components/perf/**"):
     SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
 
 CONFIGURE_SUBST_FILES += [
     'config/autoconf.mk',
     'config/emptyvars.mk',
 ]
 
 if CONFIG['ENABLE_CLANG_PLUGIN']: