mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
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:
parent
5facbdc255
commit
97898a02d1
@ -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
|
||||
|
||||
|
@ -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',
|
||||
]
|
||||
|
@ -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
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user