Bug 1403322 - schedule test-verification inclusively; r=ahal
authorDustin J. Mitchell <dustin@mozilla.com>
Wed, 11 Oct 2017 17:36:16 +0000
changeset 385879 e3a310b6b896d401b66becff274c9f3c6898b096
parent 385878 547109f6eb1d3c93cd60a59cf8d2293b6e0b08b4
child 385880 ccc4f12edef046f95b9a50ca5a22f3f4aa16641b
push id32672
push userarchaeopteryx@coole-files.de
push dateFri, 13 Oct 2017 09:00:05 +0000
treeherdermozilla-central@3efcb26e5f37 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersahal
bugs1403322
milestone58.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 1403322 - schedule test-verification inclusively; r=ahal MozReview-Commit-ID: CsIUEq6CDln
moz.build
python/mozbuild/mozbuild/schedules.py
taskcluster/ci/test/tests.yml
--- a/moz.build
+++ b/moz.build
@@ -44,16 +44,28 @@ with Files('**/l10n.toml'):
 
 with Files('README.txt'):
     BUG_COMPONENT = ('Core', 'General')
 
 with Files('**/Makefile.in'):
     BUG_COMPONENT = ('Core', 'Build Config')
     FINAL = True
 
+with Files("**/*.js"):
+    SCHEDULES.inclusive += ['test-verification']
+
+with Files("**/*.html"):
+    SCHEDULES.inclusive += ['test-verification']
+
+with Files("**/*.xhtml"):
+    SCHEDULES.inclusive += ['test-verification']
+
+with Files("**/*.xul"):
+    SCHEDULES.inclusive += ['test-verification']
+
 FILES_PER_UNIFIED_FILE = 1
 
 CONFIGURE_SUBST_FILES += [
     'config/autoconf.mk',
     'config/emptyvars.mk',
 ]
 
 if CONFIG['ENABLE_CLANG_PLUGIN']:
--- a/python/mozbuild/mozbuild/schedules.py
+++ b/python/mozbuild/mozbuild/schedules.py
@@ -12,17 +12,18 @@ from __future__ import absolute_import, 
 # TODO: ideally these lists could be specified in moz.build itself
 
 INCLUSIVE_COMPONENTS = [
     'py-lint',
     'js-lint',
     'yaml-lint',
     # test suites that only run when certain files have changed
     'jittest',
-    # test flavors
+    'test-verification',
+    # test flavors (narrower than suites)
     'jsreftest',
 ]
 INCLUSIVE_COMPONENTS = sorted(INCLUSIVE_COMPONENTS)
 
 EXCLUSIVE_COMPONENTS = [
     # os families
     'android',
     'linux',
--- a/taskcluster/ci/test/tests.yml
+++ b/taskcluster/ci/test/tests.yml
@@ -1957,22 +1957,16 @@ test-verify:
                 macosx.*:
                     - remove_executables.py
                     - unittests/mac_unittest.py
                 linux.*:
                     - unittests/linux_unittest.py
                     - remove_executables.py
         extra-options:
             - --verify
-    when:
-        files-changed:
-            - '**/*.js'
-            - '**/*.html'
-            - '**/*.xhtml'
-            - '**/*.xul'
 
 web-platform-tests:
     description: "Web platform test run"
     suite: web-platform-tests
     treeherder-symbol: tc-W(wpt)
     chunks:
       by-test-platform:
         macosx64/opt: 5