Bug 1382725 - Try: Make Talos run on linux64-pgo r=catlee draft
authorJohan Lorenzo <jlorenzo@mozilla.com>
Mon, 24 Jul 2017 11:37:40 +0200
changeset 614332 7bda700db8d1f95c25e5875b75043304e855f03f
parent 614331 a1c72d87dec61c944f0529bca0755c881e953c12
child 638837 843c767aa4e0290d6fae2db181556a4246fbc84f
push id69981
push userbmo:jlorenzo@mozilla.com
push dateMon, 24 Jul 2017 12:49:13 +0000
reviewerscatlee
bugs1382725
milestone56.0a1
Bug 1382725 - Try: Make Talos run on linux64-pgo r=catlee MozReview-Commit-ID: 4fUG1gKgKjz
taskcluster/taskgraph/transforms/tests.py
--- a/taskcluster/taskgraph/transforms/tests.py
+++ b/taskcluster/taskgraph/transforms/tests.py
@@ -720,29 +720,16 @@ def set_tag(config, tests):
     for test in tests:
         tag = config.config['args'].tag
         if tag:
             test['mozharness']['extra-options'].extend(['--tag', tag])
         yield test
 
 
 @transforms.add
-def remove_linux_pgo_try_talos(config, tests):
-    """linux64-pgo talos tests don't run on try."""
-    def predicate(test):
-        return not(
-            test['test-platform'] == 'linux64-pgo/opt' and
-            (test['suite'] == 'talos' or test['suite'] == 'awsy') and
-            config.params['project'] == 'try'
-        )
-    for test in filter(predicate, tests):
-        yield test
-
-
-@transforms.add
 def set_test_type(config, tests):
     for test in tests:
         for test_type in ['mochitest', 'reftest']:
             if test_type in test['suite'] and 'web-platform' not in test['suite']:
                 test.setdefault('tags', {})['test-type'] = test_type
         yield test