Bug 1374748 - Use regular builds for Stylo via env var. r=catlee

MozReview-Commit-ID: BCMAuSRH1sQ
This commit is contained in:
J. Ryan Stinnett
2017-07-11 13:39:22 -05:00
parent 94c05adc76
commit edd8cf908f
6 changed files with 54 additions and 58 deletions

View File

@@ -698,6 +698,23 @@ def set_test_type(config, tests):
yield test
@transforms.add
def enable_stylo(config, tests):
"""
Force Stylo on for all its tests, except Stylo vs. Gecko reftests where the
test harness will handle this.
"""
for test in tests:
if '-stylo' not in test['test-platform']:
yield test
continue
if 'reftest-stylo' not in test['suite']:
test['mozharness'].setdefault('extra-options', []).append('--enable-stylo')
yield test
@transforms.add
def parallel_stylo_tests(config, tests):
"""Ensure that any stylo tests running with e10s enabled also test