Bug 1223072 - disable media-tests on linux asan, debug on development and release-stabilization branches - r=coop
authorAlin Selagea <alin.selagea@softvision.ro>
Thu, 19 Nov 2015 12:27:14 -0500 (2015-11-19)
changeset 13342 91edb875118eb2722c655580ece21c1b74bfaa28
parent 13341 b27086167ddde78a61ef5a0203a4db320faba611
child 13343 441fa7c837db85861945ae9ae8b641097cfccd85
child 13344 e012e1491497a9a09d74c661402aa3a27be82cd8
push id9453
push usercoop@mozilla.com
push dateThu, 19 Nov 2015 17:27:19 +0000 (2015-11-19)
reviewerscoop
bugs1223072
Bug 1223072 - disable media-tests on linux asan, debug on development and release-stabilization branches - r=coop
mozilla-tests/config.py
--- a/mozilla-tests/config.py
+++ b/mozilla-tests/config.py
@@ -2509,16 +2509,34 @@ for name, branch in items_at_least(BRANC
     for platform in PLATFORMS.keys():
         if platform not in branch['platforms']:
             continue
         for slave_platform in ('ubuntu64_vm', 'ubuntu64-asan_vm', 'win7-ix', 'win8_64', 'yosemite'):
             if slave_platform in branch['platforms'][platform]:
                 branch['platforms'][platform][slave_platform]['opt_unittest_suites'] += MEDIATESTS
                 branch['platforms'][platform][slave_platform]['debug_unittest_suites'] += MEDIATESTS
 
+
+# Bug 1223072 - disable media-tests on linux asan, debug (on development and release-stabilization branches)
+development_branches = ('b2g-inbound', 'fx-team', 'mozilla-central', 'mozilla-inbound')
+release_stability_branches = ('mozilla-b2g37_v2_2', 'mozilla-beta', 'mozilla-esr38', 'mozilla-release', 'mozilla-aurora')
+
+for slave_platform in ('ubuntu64_vm', 'ubuntu64-asan_vm'):
+    for platform in ('linux64', 'linux64-asan'):
+        for branch in development_branches + release_stability_branches:
+            if platform not in BRANCHES[branch]['platforms']:
+                continue
+            if slave_platform in BRANCHES[branch]['platforms'][platform]:
+                if platform == 'linux64':
+                    BRANCHES[branch]['platforms'][platform][slave_platform]['debug_unittest_suites'] = [item for item in BRANCHES[branch]['platforms'][platform][slave_platform]['debug_unittest_suites'] if item not in MEDIATESTS]
+                elif platform == 'linux64-asan':
+                    BRANCHES[branch]['platforms'][platform][slave_platform]['opt_unittest_suites'] = [item for item in BRANCHES[branch]['platforms'][platform][slave_platform]['opt_unittest_suites'] if item not in MEDIATESTS]
+                    BRANCHES[branch]['platforms'][platform][slave_platform]['debug_unittest_suites'] = [item for item in BRANCHES[branch]['platforms'][platform][slave_platform]['debug_unittest_suites'] if item not in MEDIATESTS]
+
+
 ### Test suites that only run on Cedar ###
 # Turn off most suites on cedar (bug 1198400)
 for platform in PLATFORMS.keys():
     if platform not in BRANCHES['cedar']['platforms']:
         continue
     for slave_platform in PLATFORMS[platform]['slave_platforms']:
         if slave_platform in BRANCHES['cedar']['platforms'][platform]:
             BRANCHES['cedar']['platforms'][platform][slave_platform]['opt_unittest_suites'] = []