Bug 1273135 - Migrate more tests to AWS instances r=rail
authorChris AtLee <catlee@mozilla.com>
Mon, 16 May 2016 21:30:33 -0400
changeset 14175 c6b4172b5b962ef003d864e76a97658910bac87c
parent 14174 a9a4d80011e1a95369ed8853c200c794bcc489a9
child 14176 10b8e6c3c984c5b5ba5fd1fea3104b65c52254ae
push id77
push userbmo:catlee@mozilla.com
push dateTue, 17 May 2016 01:31:09 +0000
reviewersrail
bugs1273135
Bug 1273135 - Migrate more tests to AWS instances r=rail MozReview-Commit-ID: 993oWMXtEX8
mozilla-tests/config.py
--- a/mozilla-tests/config.py
+++ b/mozilla-tests/config.py
@@ -3429,18 +3429,18 @@ for platform in PLATFORMS.keys():
 # Remove the new AWS platforms from older branches where they won't be running
 for name, branch in items_before(BRANCHES, 'gecko_version', 49):
     if nested_haskey(BRANCHES[name]['platforms'], 'win32', 'win7_vm'):
         del BRANCHES[name]['platforms']['win32']['win7_vm']
     if nested_haskey(BRANCHES[name]['platforms'], 'win32', 'win7_vm_gfx'):
         del BRANCHES[name]['platforms']['win32']['win7_vm_gfx']
 
 # Only enable suites in AWS that are working
-WORKING_WIN7_AWS_OPT_SUITES = WEB_PLATFORM_TESTS_CHUNKED + WEB_PLATFORM_REFTESTS + GTEST + CPPUNIT + JITTEST + OTHER_REFTESTS
-WORKING_WIN7_AWS_DEBUG_SUITES = GTEST + CPPUNIT + JITTEST + WEB_PLATFORM_TESTS_CHUNKED_MORE + WEB_PLATFORM_REFTESTS + OTHER_REFTESTS
+WORKING_WIN7_AWS_OPT_SUITES = WEB_PLATFORM_TESTS_CHUNKED + WEB_PLATFORM_REFTESTS + GTEST + CPPUNIT + JITTEST + OTHER_REFTESTS + MARIONETTE + XPCSHELL
+WORKING_WIN7_AWS_DEBUG_SUITES = GTEST + CPPUNIT + JITTEST + WEB_PLATFORM_TESTS_CHUNKED_MORE + WEB_PLATFORM_REFTESTS + OTHER_REFTESTS + MARIONETTE + XPCSHELL
 for name, branch in items_at_least(BRANCHES, 'gecko_version', 49):
     # Skip branches where win32 isn't running
     if not nested_haskey(branch, 'platforms', 'win32'):
         continue
     win32 = branch['platforms']['win32']
 
     # Strip out suites that we don't want on the VM/GFX instances
     if 'win7_vm' in win32:
@@ -3463,29 +3463,32 @@ for name, branch in items_at_least(BRANC
                     win32['win7_vm_gfx'][test_type].remove(t)
                 if suite_name.startswith('web-platform-tests'):
                     win32['win7_vm_gfx'][test_type].remove(t)
 
     # Leave all suites running on try
     if name == 'try':
         continue
 
-
     if 'win7_vm' in win32:
         win32['win7_vm']['opt_unittest_suites'] = WORKING_WIN7_AWS_OPT_SUITES
         win32['win7_vm']['debug_unittest_suites'] = WORKING_WIN7_AWS_DEBUG_SUITES
+    if 'win7_vm_gfx' in win32:
+        win32['win7_vm_gfx']['opt_unittest_suites'] = REFTEST_ONE_CHUNK + REFTEST_NOACCEL
+        win32['win7_vm_gfx']['debug_unittest_suites'] = REFTEST_ONE_CHUNK
 
     # Disable these suites from the IX machines
     if 'win7_ix' in win32:
         for test_type in ('opt_unittest_suites', 'debug_unittest_suites'):
             for t in win32['win7_vm'][test_type]:
                 if t in win32['win7_ix'][test_type]:
                     win32['win7_ix'][test_type].remove(t)
-    if 'win7_vm_gfx' in win32:
-        del win32['win7_vm_gfx']
+            for t in win32['win7_vm_gfx'][test_type]:
+                if t in win32['win7_ix'][test_type]:
+                    win32['win7_ix'][test_type].remove(t)
 
 ###
 # 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']: