Bug 1544858 - [ci] Add '-e10s' back to task labels to satisfy SETA, r=jmaher CLOSED TREE
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Tue, 16 Apr 2019 12:48:45 -0400
changeset 469722 9066ae618a1e
parent 469720 140dfb5fd701
child 469723 d23cfcd83850
push id35880
push usercbrindusan@mozilla.com
push dateWed, 17 Apr 2019 09:36:19 +0000
treeherdermozilla-central@79e6ed0b08d6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmaher
bugs1544858
milestone68.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 1544858 - [ci] Add '-e10s' back to task labels to satisfy SETA, r=jmaher CLOSED TREE Differential Revision: https://phabricator.services.mozilla.com/D27791
taskcluster/taskgraph/transforms/tests.py
--- a/taskcluster/taskgraph/transforms/tests.py
+++ b/taskcluster/taskgraph/transforms/tests.py
@@ -972,33 +972,34 @@ def split_serviceworker_e10s(config, tes
         yield test
 
 
 @transforms.add
 def split_e10s(config, tests):
     for test in tests:
         e10s = test['e10s']
 
-        test['e10s'] = True
-        test['attributes']['e10s'] = True
+        if e10s:
+            test_copy = copy.deepcopy(test)
+            test_copy['test-name'] += '-e10s'
+            test_copy['e10s'] = True
+            test_copy['attributes']['e10s'] = True
+            yield test_copy
 
-        if e10s == 'both':
-            yield copy.deepcopy(test)
-            e10s = False
-        if not e10s:
+        if not e10s or e10s == 'both':
             test['test-name'] += '-1proc'
             test['try-name'] += '-1proc'
             test['e10s'] = False
             test['attributes']['e10s'] = False
             group, symbol = split_symbol(test['treeherder-symbol'])
             if group != '?':
                 group += '-1proc'
             test['treeherder-symbol'] = join_symbol(group, symbol)
             test['mozharness']['extra-options'].append('--disable-e10s')
-        yield test
+            yield test
 
 
 @transforms.add
 def split_socketprocess_e10s(config, tests):
     for test in tests:
         if test['attributes'].get('serviceworker_e10s'):
             yield test
             continue