Bug 1159430 - Remove b2g emulator success codes hack for since fixed Nuwa tests, r=chmanchester
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Tue, 28 Apr 2015 15:56:37 -0400 (2015-04-28)
changeset 3921 081ee78931220ee9ee33ecc6d8d95dcc7a1427e4
parent 3920 b8e46610ae6383ce8d5324ec95a939cf0273ff5c
child 3931 06a2bc3e6b42407b590852d496084d60ba838101
push id3106
push userahalberstadt@mozilla.com
push dateWed, 29 Apr 2015 18:44:40 +0000 (2015-04-29)
reviewerschmanchester
bugs1159430
Bug 1159430 - Remove b2g emulator success codes hack for since fixed Nuwa tests, r=chmanchester
scripts/b2g_emulator_unittest.py
--- a/scripts/b2g_emulator_unittest.py
+++ b/scripts/b2g_emulator_unittest.py
@@ -332,28 +332,20 @@ class B2GEmulatorTest(TestingMixin, VCSM
 
     def install(self):
         # The emulator was extracted during the download_and_extract step;
         # there's no separate binary to install.  We call pass to prevent
         # the base implementation from running here.
         pass
 
     def _get_success_codes(self, suite_name):
-        chunk = int(self.config.get('this_chunk', 0))
-        branch = self.buildbot_config['properties'].get('branch')
-        platform = self.buildbot_config['properties'].get('stage_platform')
-
         success_codes = None
         if suite_name == 'xpcshell':
             # bug 773703
             success_codes = [0, 1]
-        elif suite_name == 'mochitest' and platform == 'emulator':
-            if chunk == 11 or (chunk == 12 and branch in ('mozilla-b2g32_v2_0', 'mozilla-b2g34_v2_1')):
-                # bug 1120580
-                success_codes = [0, 247]
         return success_codes
 
     def run_tests(self):
         """
         Run the tests
         """
         dirs = self.query_abs_dirs()