Bug 1155919 - Fix how B2G desktop mochitests would fail to run. r=ahalberstadt
authorAndrew Osmond <aosmond@mozilla.com>
Fri, 17 Apr 2015 19:19:28 -0400
changeset 259206 6e0da04c19fb568308bfd06284a5e6c8d5b1d001
parent 259205 f27313f6d86ae5d72daf618d558bd28effb20b17
child 259207 7664ea964147a0ef87dee4c3ce00a8ecc1a5ce42
push id8007
push userraliiev@mozilla.com
push dateMon, 11 May 2015 19:23:16 +0000
treeherdermozilla-aurora@e2ce1aac996e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersahalberstadt
bugs1155919
milestone40.0a1
Bug 1155919 - Fix how B2G desktop mochitests would fail to run. r=ahalberstadt
testing/mochitest/mach_commands.py
--- a/testing/mochitest/mach_commands.py
+++ b/testing/mochitest/mach_commands.py
@@ -839,17 +839,17 @@ class MachCommands(MachCommandBase):
         description='Run a plain mochitest (integration test, plain web page).',
         parser=setup_argument_parser)
     def run_mochitest_plain(self, test_paths, **kwargs):
         if is_platform_in('firefox', 'mulet')(self):
             return self.run_mochitest(test_paths, 'plain', **kwargs)
         elif conditions.is_emulator(self):
             return self.run_mochitest_remote(test_paths, **kwargs)
         elif conditions.is_b2g_desktop(self):
-            return self.run_b2g_desktop(test_paths, **kwargs)
+            return self.run_mochitest_b2g_desktop(test_paths, **kwargs)
         elif conditions.is_android(self):
             return self.run_mochitest_android(test_paths, **kwargs)
 
     @Command(
         'mochitest-chrome',
         category='testing',
         conditions=[is_platform_in('firefox', 'emulator', 'android')],
         description='Run a chrome mochitest (integration test with some XUL).',