зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1356122 - Run Stylo tests in sequential mode r=aki
This commit is contained in:
Родитель
7efc47d89a
Коммит
5f874863a8
|
@ -80,6 +80,14 @@ linux64-stylo/opt:
|
||||||
test-sets:
|
test-sets:
|
||||||
- stylo-tests
|
- stylo-tests
|
||||||
- talos
|
- talos
|
||||||
|
linux64-stylo-sequential/debug:
|
||||||
|
build-platform: linux64-stylo/debug
|
||||||
|
test-sets:
|
||||||
|
- stylo-sequential-tests
|
||||||
|
linux64-stylo-sequential/opt:
|
||||||
|
build-platform: linux64-stylo/opt
|
||||||
|
test-sets:
|
||||||
|
- stylo-sequential-tests
|
||||||
|
|
||||||
# QR builds just run a subset right now. Note that the tests in this
|
# QR builds just run a subset right now. Note that the tests in this
|
||||||
# test set are further restricted in tests.yml to run on certain projects
|
# test set are further restricted in tests.yml to run on certain projects
|
||||||
|
|
|
@ -79,6 +79,11 @@ stylo-tests:
|
||||||
- mochitest-style
|
- mochitest-style
|
||||||
- mochitest-chrome-style
|
- mochitest-chrome-style
|
||||||
|
|
||||||
|
stylo-sequential-tests:
|
||||||
|
- crashtest
|
||||||
|
- reftest-stylo
|
||||||
|
- mochitest-style
|
||||||
|
|
||||||
qr-tests:
|
qr-tests:
|
||||||
- cppunit
|
- cppunit
|
||||||
- crashtest
|
- crashtest
|
||||||
|
|
|
@ -1103,6 +1103,7 @@ reftest-stylo:
|
||||||
run-on-projects:
|
run-on-projects:
|
||||||
by-test-platform:
|
by-test-platform:
|
||||||
linux64-stylo/opt: [ 'stylo', 'autoland', 'mozilla-central', 'try' ] # not on mozilla-inbound
|
linux64-stylo/opt: [ 'stylo', 'autoland', 'mozilla-central', 'try' ] # not on mozilla-inbound
|
||||||
|
linux64-stylo-sequential/opt: [ 'mozilla-central']
|
||||||
default: built-projects
|
default: built-projects
|
||||||
e10s:
|
e10s:
|
||||||
# run only e10s tests for this platform see bug 1343301
|
# run only e10s tests for this platform see bug 1343301
|
||||||
|
@ -1121,6 +1122,14 @@ reftest-stylo:
|
||||||
mozilla-central: true
|
mozilla-central: true
|
||||||
mozilla-inbound: true
|
mozilla-inbound: true
|
||||||
default: true
|
default: true
|
||||||
|
linux64-stylo-sequential/opt:
|
||||||
|
by-project:
|
||||||
|
mozilla-central: true
|
||||||
|
default: true
|
||||||
|
linux64-stylo-sequential/debug:
|
||||||
|
by-project:
|
||||||
|
mozilla-central: true
|
||||||
|
default: true
|
||||||
mozharness:
|
mozharness:
|
||||||
script: desktop_unittest.py
|
script: desktop_unittest.py
|
||||||
no-read-buildbot-config: true
|
no-read-buildbot-config: true
|
||||||
|
|
|
@ -644,7 +644,8 @@ def parallel_stylo_tests(config, tests):
|
||||||
parallel traversal in the style system."""
|
parallel traversal in the style system."""
|
||||||
|
|
||||||
for test in tests:
|
for test in tests:
|
||||||
if not test['test-platform'].startswith('linux64-stylo/'):
|
if (not test['test-platform'].startswith('linux64-stylo/')) and \
|
||||||
|
(not test['test-platform'].startswith('linux64-stylo-sequential/')):
|
||||||
yield test
|
yield test
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
@ -655,9 +656,15 @@ def parallel_stylo_tests(config, tests):
|
||||||
yield test
|
yield test
|
||||||
continue
|
continue
|
||||||
|
|
||||||
test['mozharness'].setdefault('extra-options', [])\
|
# Bug 1356122 - Run Stylo tests in sequential mode
|
||||||
.append('--parallel-stylo-traversal')
|
if test['test-platform'].startswith('linux64-stylo-sequential/'):
|
||||||
yield test
|
yield test
|
||||||
|
|
||||||
|
if test['test-platform'].startswith('linux64-stylo/'):
|
||||||
|
# add parallel stylo tests
|
||||||
|
test['mozharness'].setdefault('extra-options', [])\
|
||||||
|
.append('--parallel-stylo-traversal')
|
||||||
|
yield test
|
||||||
|
|
||||||
|
|
||||||
@transforms.add
|
@transforms.add
|
||||||
|
|
Загрузка…
Ссылка в новой задаче