Bug 1142765 - Schedule Android 4.0 Debug xpcshell tests on all trunk trees and let them ride the trains r=jlund
authorkmoir@mozilla.com
Tue, 17 Mar 2015 16:35:58 -0400 (2015-03-17)
changeset 12009 bd1582014509964c4f90c2c78bdc1f71d997cb2a
parent 12007 6e758f0c91cac89fcb49a1c00ee6ad9c3fe1559f
child 12010 6d6b3530e5166ba83d5f90f7915e8133bd42df7b
push id8708
push userkmoir@mozilla.com
push dateTue, 17 Mar 2015 20:36:12 +0000 (2015-03-17)
reviewersjlund
bugs1142765
Bug 1142765 - Schedule Android 4.0 Debug xpcshell tests on all trunk trees and let them ride the trains r=jlund
mozilla-tests/mobile_config.py
--- a/mozilla-tests/mobile_config.py
+++ b/mozilla-tests/mobile_config.py
@@ -1759,16 +1759,34 @@ for name, branch in items_at_least(BRANC
                 continue
             if not branch['platforms'][platform][slave_plat]['debug_unittest_suites']:
                 continue
             if branch['platforms'][platform]['enable_debug_unittests'] is True:
                 for type in branch['platforms'][platform][slave_plat]:
                     if 'debug_unittest_suite' in type:
                         BRANCHES[name]['platforms'][platform][slave_plat]['debug_unittest_suites'] = deepcopy(ANDROID_MOZHARNESS_MOCHITEST + ANDROID_MOZHARNESS_JSREFTEST + ANDROID_MOZHARNESS_CRASHTEST + ANDROID_MOZHARNESS_PLAIN_REFTEST)
 
+## Bug 1142765 - Schedule Android 4.0 Debug xpcshell tests on 
+## all trunk trees and let them ride the trains 
+for name, branch in items_at_least(BRANCHES, 'gecko_version', 39):
+    # Loop removes it from any branch that gets beyond here
+    if name in ('cedar', ):
+        continue
+    for platform in branch['platforms']:
+        if not platform in PLATFORMS:
+            continue
+        if platform not in ('android-api-11'):
+            continue
+        for slave_plat in PLATFORMS[platform]['slave_platforms']:
+            if not slave_plat in branch['platforms'][platform]:
+                continue
+            if not 'panda' in slave_plat:
+                continue          
+            if branch['platforms'][platform]['enable_debug_unittests'] is True:
+                BRANCHES[name]['platforms'][platform][slave_plat]['debug_unittest_suites'] = deepcopy(ANDROID_MOZHARNESS_MOCHITEST + ANDROID_MOZHARNESS_JSREFTEST + ANDROID_MOZHARNESS_CRASHTEST + ANDROID_MOZHARNESS_PLAIN_REFTEST + ANDROID_MOZHARNESS_XPCSHELL)
 
 def remove_suite_from_slave_platform(BRANCHES, PLATFORMS, suite_to_remove, slave_platform, branches_to_keep=[]):
     """Remove suites named like |suite_to_remove| from all branches on slave platforms named like |slave_platform|.
 
 Updates BRANCHES in place.  Consumes PLATFORMS without side
 effects. Does not remove any suites from the specified
 |branches_to_keep|."""