Bug 1273135 - Migrate more tests to AWS instances r=rail
MozReview-Commit-ID: 993oWMXtEX8
--- 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']: