diff options
author | Jose <jose@zeroc.com> | 2014-11-27 18:05:41 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2014-11-27 18:05:41 +0100 |
commit | 72ca71f77de0262acc5b0b786f3b07e684a8a4cd (patch) | |
tree | b7b5fe4a1619359695e2a08265a6d24ba79bf1c5 /scripts/TestUtil.py | |
parent | Fixes for ICE-5984 & ICE-5965: binding test warwnings with WS (diff) | |
download | ice-72ca71f77de0262acc5b0b786f3b07e684a8a4cd.tar.bz2 ice-72ca71f77de0262acc5b0b786f3b07e684a8a4cd.tar.xz ice-72ca71f77de0262acc5b0b786f3b07e684a8a4cd.zip |
Fixed (ICE-5987) - remove i386 from OS X binaries
Diffstat (limited to 'scripts/TestUtil.py')
-rwxr-xr-x | scripts/TestUtil.py | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py index 87b32ef6f73..ed95b5edb64 100755 --- a/scripts/TestUtil.py +++ b/scripts/TestUtil.py @@ -1023,18 +1023,6 @@ def getCommandLineProperties(exe, config): return properties def getCommandLine(exe, config, options = ""): - arch = "" - if isDarwin() and config.lang == "cpp": - if x64: - arch = "arch -x86_64 " - elif x86: - arch = "arch -i386 " - else: - # We don't really know what architecture the binaries were - # built with, prefer 32 bits if --x64 is not set and if 32 - # bits binaries aren't available, 64 bits will be used. - arch = "arch -i386 -x86_64 " - output = getStringIO() if config.mono and config.lang == "cs": @@ -1065,12 +1053,12 @@ def getCommandLine(exe, config, options = ""): # --child-silent-after-fork=yes is required for the IceGrid/activator test where the node # forks a process with execv failing (invalid exe name). output.write("valgrind -q --child-silent-after-fork=yes --leak-check=full ") - output.write('--suppressions="' + os.path.join(toplevel, "config", "valgrind.sup") + '" ' + arch + '"' + exe + '" ') + output.write('--suppressions="' + os.path.join(toplevel, "config", "valgrind.sup") + '" ' + exe + '" ') else: if exe.find(" ") != -1: - output.write(arch + '"' + exe + '" ') + output.write('"' + exe + '" ') else: - output.write(arch + exe + " ") + output.write(exe + " ") if (config.silverlight and config.type == "client"): properties = getCommandLineProperties(exe, config) + ' ' + options |