Bug 1141566 - Disable debug coverage tests and jittest on mozilla-b2g34_v2_1s since there are no builds to trigger them. r=kmoir
authorArmen Zambrano Gasparnian <armenzg@mozilla.com>
Fri, 27 Mar 2015 14:01:20 -0400
changeset 11856 73a7bd03095232f2d04ac4f1018206e5fc3b5373
parent 11855 0b8d8d8a633945c68f453695fb321d1ad1776b59
child 11857 05c0f42e3e6770655fb9ec7b4c5bd79fdad64042
push id3
push userahalberstadt@mozilla.com
push dateWed, 29 Apr 2015 14:58:39 +0000
reviewerskmoir
bugs1141566
Bug 1141566 - Disable debug coverage tests and jittest on mozilla-b2g34_v2_1s since there are no builds to trigger them. r=kmoir
mozilla-tests/config.py
--- a/mozilla-tests/config.py
+++ b/mozilla-tests/config.py
@@ -997,20 +997,20 @@ PLATFORM_UNITTEST_VARS = {
     },
     'linux64-cc': {
         'product_name': 'firefox',
         'app_name': 'browser',
         'brand_name': 'Minefield',
         'builds_before_reboot': 1,
         'unittest-env': {'DISPLAY': ':0'},
         'enable_opt_unittests': True,
-        'enable_debug_unittests': True,
+        'enable_debug_unittests': False,
         'ubuntu64_vm': {
             'opt_unittest_suites': UNITTEST_SUITES['opt_unittest_suites'][:],
-            'debug_unittest_suites': UNITTEST_SUITES['debug_unittest_suites'][:],
+            'debug_unittest_suites': [],
             'suite_config': {
                 'mochitest': {
                     'config_files': ["unittests/linux_unittest.py"],
                 },
                 'mochitest-e10s': {
                     'config_files': ["unittests/linux_unittest.py"],
                 },
                 'mochitest-browser-chrome': {
@@ -2105,34 +2105,34 @@ for platform in PLATFORMS.keys():
         for slave_platform in PLATFORMS[platform]['slave_platforms']:
             if slave_platform not in ['ubuntu64_vm']:
                 continue
             if platform in BRANCHES[name]['platforms']:
                 if slave_platform in BRANCHES[name]['platforms'][platform]:
                     BRANCHES[name]['platforms'][platform][slave_platform]['opt_unittest_suites'] += LUCIDDREAM[:]
 
 # Enable jittests on trunk trees https://bugzilla.mozilla.org/show_bug.cgi?id=973900
-for platform in PLATFORMS.keys():
+for p in PLATFORMS.keys():
     # run in chunks on linux only
-    if platform in ['linux', 'linux64', 'linux64-asan', 'linux64-cc']:
+    if p in ['linux', 'linux64', 'linux64-asan', 'linux64-cc']:
         jittests = JITTEST_CHUNKED
     else:
         jittests = JITTEST
 
-    for name, branch in items_at_least(BRANCHES, 'gecko_version', 31):
-        for slave_platform in PLATFORMS[platform]['slave_platforms']:
+    for _, branch in items_at_least(BRANCHES, 'gecko_version', 31):
+        for sp in PLATFORMS[p]['slave_platforms']:
 
             # See Bug 997946 - skip these on OS X 10.8 due to limited capacity
-            if slave_platform in ['mountainlion', 'yosemite']:
+            if sp in ['mountainlion', 'yosemite']:
                 continue
 
-            if platform in BRANCHES[name]['platforms']:
-                if slave_platform in BRANCHES[name]['platforms'][platform]:
-                    BRANCHES[name]['platforms'][platform][slave_platform]['opt_unittest_suites'] += jittests[:]
-                    BRANCHES[name]['platforms'][platform][slave_platform]['debug_unittest_suites'] += jittests[:]
+            if p in branch['platforms'] and sp in branch['platforms'][p]:
+                branch['platforms'][p][sp]['opt_unittest_suites'] += jittests[:]
+                if branch['platforms'][p][sp]['debug_unittest_suites'] != []:
+                    branch['platforms'][p][sp]['debug_unittest_suites'] += jittests[:]
 
 # Enable webapprt-chrome tests on cedar
 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'] += WEBAPPRT_CHROME[:]
         BRANCHES['cedar']['platforms'][platform][slave_platform]['debug_unittest_suites'] += WEBAPPRT_CHROME[:]