Bug 1269543 - Stop running tests on OS X 10.6 on Firefox 49+ r=kmoir
authorAlin Selagea <aselagea@mozilla.com>
Thu, 05 May 2016 11:55:34 +0300 (2016-05-05)
changeset 14173 f88f7f57f714edeb820c493aebb8f7a2f5e57545
parent 14171 befb16732497c438805cfee5c5d7b91c314fa7e1
child 14176 ffcc165163a85971600708c30f7b3ed429ffb9b7
push id9941
push useraselagea@mozilla.com
push dateThu, 05 May 2016 08:58:15 +0000 (2016-05-05)
reviewerskmoir
bugs1269543
Bug 1269543 - Stop running tests on OS X 10.6 on Firefox 49+ r=kmoir
mozilla-tests/config.py
--- a/mozilla-tests/config.py
+++ b/mozilla-tests/config.py
@@ -3259,28 +3259,40 @@ for platform in PLATFORMS.keys():
 
 # Bug 1254580 - Only run Windows in AWS for try
 for branch in set(BRANCHES) - set(['try']):
     if nested_haskey(BRANCHES[branch]['platforms'], 'win32', 'win7_vm'):
         del BRANCHES[branch]['platforms']['win32']['win7_vm']
     if nested_haskey(BRANCHES[branch]['platforms'], 'win32', 'win7_vm_gfx'):
         del BRANCHES[branch]['platforms']['win32']['win7_vm_gfx']
 
+
 # Bug 1253341 - run talos jobs on AWS
 for branch in ('try',):
     BRANCHES[branch]['platforms']['linux64']['talos_slave_platforms'] = ['ubuntu64_hw', 'ubuntu64_vm_large']
     # Add ubuntu64_vm to the talos suites
     for test, test_config in BRANCHES[branch].items():
         if not test.endswith('_tests'):
             continue
         tests, merge, extra, platforms = test_config
         if 'ubuntu64_hw' in platforms and 'ubuntu64_vm_large' not in platforms:
             platforms = platforms + ['ubuntu64_vm_large']
             BRANCHES[branch][test] = (tests, merge, extra, platforms)
 
+
+#Bug 1269543 - Stop running tests on OS X 10.6 on Firefox 49+
+for name, branch in items_at_least(BRANCHES, 'gecko_version', 49):
+    if name in ['try']:
+        continue
+    for platform in branch['platforms'].keys():
+        if platform not in ['macosx64']:
+            continue
+        for slave_platform in ['snowleopard']:
+            del BRANCHES[name]['platforms'][platform][slave_platform]
+
 if __name__ == "__main__":
     import sys
     import pprint
 
     args = sys.argv[1:]
 
     if len(args) > 0:
         items = dict([(b, BRANCHES[b]) for b in args])