Bug 1080370 - Disable e10s mochitests on Holly since the normal ones run as e10s. r=nthomas
authorArmen Zambrano Gasparnian <armenzg@mozilla.com>
Mon, 20 Oct 2014 10:50:27 -0400 (2014-10-20)
changeset 11230 4a04be67eb764df199bb2f7414a2ee5bb8581f7e
parent 11229 c3f320dcd3260d3535715c9aedde43d8ef51da20
child 11231 2cf9d5aa50129b4c419eb015b5f908b67055bc73
push id8231
push userarmenzg@mozilla.com
push dateMon, 20 Oct 2014 14:50:31 +0000 (2014-10-20)
reviewersnthomas
bugs1080370
Bug 1080370 - Disable e10s mochitests on Holly since the normal ones run as e10s. r=nthomas
mozilla-tests/config.py
--- a/mozilla-tests/config.py
+++ b/mozilla-tests/config.py
@@ -1880,37 +1880,33 @@ for platform in PLATFORMS.keys():
 for platform in PLATFORMS.keys():
     for slave_platform in PLATFORMS[platform]['slave_platforms']:
         if slave_platform not in BRANCHES['cedar']['platforms'][platform]:
             continue
         BRANCHES['cedar']['platforms'][platform][slave_platform]['opt_unittest_suites'] += MOCHITEST_JP[:]
         BRANCHES['cedar']['platforms'][platform][slave_platform]['debug_unittest_suites'] += MOCHITEST_JP[:]
 
 # Enable e10s Linux mochitests on trunk branches
+# Enable e10s browser-chrome mochitests on trunk branches, opt builds only for all platforms (not ready for Xp).
 # Fix this to a certain gecko version once e10s starts riding the trains
 mc_gecko_version = BRANCHES['mozilla-central']['gecko_version']
 for name, branch in items_at_least(BRANCHES, 'gecko_version', mc_gecko_version):
-    if 'linux' in branch['platforms']:
-        branch['platforms']['linux']['ubuntu32_vm']['opt_unittest_suites'] += MOCHITEST_E10S[:]
-        branch['platforms']['linux']['ubuntu32_vm']['debug_unittest_suites'] += MOCHITEST_E10S[:]
-    if 'linux64' in branch['platforms']:
-        branch['platforms']['linux64']['ubuntu64_vm']['opt_unittest_suites'] += MOCHITEST_E10S[:]
-        branch['platforms']['linux64']['ubuntu64_vm']['debug_unittest_suites'] += MOCHITEST_E10S[:]
-    if 'linux64-asan' in branch['platforms']:
-        branch['platforms']['linux64-asan']['ubuntu64-asan_vm']['opt_unittest_suites'] += MOCHITEST_E10S[:]
-
-# Enable e10s browser-chrome mochitests on trunk branches, opt builds only.
-# Bug 1080370 - We don't want to ride the trains
-# TODO: We're not ready to enable XP
-for name, branch in items_at_least(BRANCHES, 'gecko_version', mc_gecko_version):
+    if name == "holly": # On Holly we use normal mochitest as e10s ones
+        continue
     for platform in PLATFORMS.keys():
+        if platform not in branch['platforms']:
+            continue
         for slave_platform in PLATFORMS[platform]['slave_platforms']:
             if platform in branch['platforms'] and slave_platform in branch['platforms'][platform] and \
                     not slave_platform == 'xp-ix':
                 branch['platforms'][platform][slave_platform]['opt_unittest_suites'] += MOCHITEST_BC_3_E10S[:]
+            if platform in ('linux', 'linux64', 'linux64-asan'):
+                branch['platforms'][platform][slave_platform]['opt_unittest_suites'] += MOCHITEST_E10S[:]
+            if platform in ('linux', 'linux64'):
+                branch['platforms'][platform][slave_platform]['debug_unittest_suites'] += MOCHITEST_E10S[:]
 
 # TALOS: If you set 'talos_slave_platforms' for a branch you will only get that subset of platforms
 for branch in BRANCHES.keys():
     for os in PLATFORMS.keys():  # 'macosx64', 'win32' and on
         if os not in BRANCHES[branch]['platforms'].keys():
             continue
         if BRANCHES[branch]['platforms'][os].get('talos_slave_platforms') is None:
             continue