mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 08:13:35 +00:00
Bug 1342963 - only run jsreftests when js/src/* changes. r=dustin
MozReview-Commit-ID: 2stKqaayBHY
This commit is contained in:
parent
71318f787d
commit
810d6c683a
@ -318,6 +318,10 @@ jsreftest:
|
||||
- remove_executables.py
|
||||
extra-options:
|
||||
- --reftest-suite=jsreftest
|
||||
when:
|
||||
files-changed:
|
||||
- js/src/**
|
||||
- js/public/**
|
||||
|
||||
marionette:
|
||||
description: "Marionette unittest run"
|
||||
|
@ -271,6 +271,11 @@ test_description_schema = Schema({
|
||||
|
||||
# the product name, defaults to firefox
|
||||
Optional('product'): basestring,
|
||||
|
||||
# conditional files to determine when these tests should be run
|
||||
Optional('when'): Any({
|
||||
Optional('files-changed'): [basestring],
|
||||
}),
|
||||
|
||||
}, required=True)
|
||||
|
||||
@ -633,6 +638,7 @@ def make_job_description(config, tests):
|
||||
jobdesc['name'] = name
|
||||
jobdesc['label'] = label
|
||||
jobdesc['description'] = test['description']
|
||||
jobdesc['when'] = test.get('when', {})
|
||||
jobdesc['attributes'] = attributes
|
||||
jobdesc['dependencies'] = {'build': build_label}
|
||||
jobdesc['expires-after'] = test['expires-after']
|
||||
|
Loading…
Reference in New Issue
Block a user