Bug 1159430 - Remove b2g emulator success codes hack for since fixed Nuwa tests, r=chmanchester
--- 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()