Bug 1596279 - Don't disable ccov opt tests with a transform. r=jmaher
authorMarco Castelluccio <mcastelluccio@mozilla.com>
Thu, 14 Nov 2019 16:20:23 +0000
changeset 502072 04bae87f5d5006a7cfa116a639ef277178989e71
parent 502071 0cf789cf0a8bc75e1a538613b3b6f70abf8fe566
child 502073 113422a367964ca6cf242e2b2e25d4e1fd31568f
push id114172
push userdluca@mozilla.com
push dateTue, 19 Nov 2019 11:31:10 +0000
treeherdermozilla-inbound@b5c5ba07d3db [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmaher
bugs1596279
milestone72.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1596279 - Don't disable ccov opt tests with a transform. r=jmaher Depends on D52999 Differential Revision: https://phabricator.services.mozilla.com/D53000
taskcluster/taskgraph/transforms/tests.py
--- a/taskcluster/taskgraph/transforms/tests.py
+++ b/taskcluster/taskgraph/transforms/tests.py
@@ -1068,18 +1068,18 @@ def disable_fennec_e10s(config, tests):
         yield test
 
 
 @transforms.add
 def enable_code_coverage(config, tests):
     """Enable code coverage for the ccov build-platforms"""
     for test in tests:
         if 'ccov' in test['build-platform']:
-            # Do not run tests on fuzzing or opt build
-            if 'opt' in test['build-platform'] or 'fuzzing' in test['build-platform']:
+            # Do not run tests on fuzzing builds
+            if 'fuzzing' in test['build-platform']:
                 test['run-on-projects'] = []
                 continue
             # Skip this transform for android code coverage builds.
             if 'android' in test['build-platform']:
                 test.setdefault('fetches', {}).setdefault('toolchain', []).append('linux64-grcov')
                 test['mozharness'].setdefault('extra-options', []).append('--java-code-coverage')
                 yield test
                 continue