Bug 1410911 - Only run test-verify when certain file types are changed; r=dustin

When first introduced, test-verify was only run when .js/.html/.xul/.xhtml files
were changed. Recently, it seems to run on every push. This is a speculative fix:
There may be confusion between "test-verify" and "test-verification" so I am
using "test-verify" consistently.
This commit is contained in:
Geoff Brown 2017-10-24 15:17:27 -06:00
parent 5facbdc255
commit 97898a02d1
4 changed files with 7 additions and 7 deletions

View File

@ -50,16 +50,16 @@ with Files('**/Makefile.in'):
FINAL = True
with Files("**/*.js"):
SCHEDULES.inclusive += ['test-verification']
SCHEDULES.inclusive += ['test-verify']
with Files("**/*.html"):
SCHEDULES.inclusive += ['test-verification']
SCHEDULES.inclusive += ['test-verify']
with Files("**/*.xhtml"):
SCHEDULES.inclusive += ['test-verification']
SCHEDULES.inclusive += ['test-verify']
with Files("**/*.xul"):
SCHEDULES.inclusive += ['test-verification']
SCHEDULES.inclusive += ['test-verify']
FILES_PER_UNIFIED_FILE = 1

View File

@ -17,7 +17,7 @@ INCLUSIVE_COMPONENTS = [
'yaml-lint',
# test suites that only run when certain files have changed
'jittest',
'test-verification',
'test-verify',
# test flavors (narrower than suites)
'jsreftest',
]

View File

@ -50,7 +50,7 @@ telemetry-tests-client:
test-verify:
description: "Extra verification of tests modified on this push"
suite: test-verification
suite: test-verify
treeherder-symbol: tc(TV)
loopback-video: true
max-run-time: 5400

View File

@ -640,7 +640,7 @@ def handle_suite_category(config, tests):
script = test['mozharness']['script']
category_arg = None
if suite == 'test-verification':
if suite == 'test-verify':
pass
elif script == 'android_emulator_unittest.py':
category_arg = '--test-suite'