Bug 1054043 - Remove 32 bit cmd wapper from mozrunner. r=ted

We no longer support MacOS 10.5 and the version string compare
fails on 10.10. Unbreaks running the mochitests there.
This commit is contained in:
Ralph Giles 2014-08-14 15:44:00 -07:00
parent 796d21b80d
commit ef3acdccf9

View File

@ -54,13 +54,6 @@ class GeckoRuntimeRunner(BaseRunner):
# Bug 775416 - Ensure that binary options are passed in first
command[1:1] = self.cmdargs
# If running on OS X 10.5 or older, wrap |cmd| so that it will
# be executed as an i386 binary, in case it's a 32-bit/64-bit universal
# binary.
if mozinfo.isMac and hasattr(platform, 'mac_ver') and \
platform.mac_ver()[0][:4] < '10.6':
command = ["arch", "-arch", "i386"] + command
if hasattr(self.app_ctx, 'wrap_command'):
command = self.app_ctx.wrap_command(command)
return command