summaryrefslogtreecommitdiff
path: root/scripts/TestUtil.py
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2012-07-26 22:08:55 +0200
committerJose <jose@zeroc.com>2012-07-26 22:08:55 +0200
commite49fc966255d9ba8ef89d0ddaeffb277f6980a9d (patch)
tree353a22f6ebef4447949f2ffe786842cc99bba51b /scripts/TestUtil.py
parentICE-4694 - --x64 & OSx (diff)
downloadice-e49fc966255d9ba8ef89d0ddaeffb277f6980a9d.tar.bz2
ice-e49fc966255d9ba8ef89d0ddaeffb277f6980a9d.tar.xz
ice-e49fc966255d9ba8ef89d0ddaeffb277f6980a9d.zip
minor fix
Diffstat (limited to 'scripts/TestUtil.py')
-rwxr-xr-xscripts/TestUtil.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py
index 20ac0eee08a..927818b8f02 100755
--- a/scripts/TestUtil.py
+++ b/scripts/TestUtil.py
@@ -36,7 +36,9 @@ sqlPassword = None
serviceDir = None
compact = False
silverlight = False
+global winrt
winrt = False
+global serverOnly
serverOnly = False
def isCygwin():
@@ -949,7 +951,10 @@ def getCommandLine(exe, config, options = ""):
props = props + p.strip().replace("--", "")
output.write("/origin:http://localhost?%s" % props)
else:
- output.write(getCommandLineProperties(exe, config) + ' ' + options)
+ if exe.find("IceUtil\\") != -1 or exe.find("IceUtil/"):
+ output.write(' ' + options)
+ else:
+ output.write(getCommandLineProperties(exe, config) + ' ' + options)
commandline = output.getvalue()
output.close()
@@ -1231,7 +1236,6 @@ def clientServerTest(additionalServerOptions = "", additionalClientOptions = "",
serverProc = spawnServer(server, env = serverenv, lang=serverCfg.lang)
print("ok")
- global serverOnly
if not serverOnly:
if clientLang == lang:
sys.stdout.write("starting %s... " % clientDesc)
@@ -1579,12 +1583,9 @@ def processCmdLine():
global silverlight
silverlight = True
elif o == "--winrt":
- global winrt
- global serverOnly
winrt = True
serverOnly = True
elif o == "--server":
- global serverOnly
serverOnly = True
if len(args) > 0: