Bug 1403322 - schedule test-verification inclusively; r?ahal
MozReview-Commit-ID: CsIUEq6CDln
--- 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
@@ -1904,22 +1904,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