summaryrefslogtreecommitdiff
path: root/scripts/TestUtil.py
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2015-05-25 14:29:17 -0230
committerDwayne Boone <dwayne@zeroc.com>2015-05-25 14:29:17 -0230
commit932c835759b2c5e3fb50d16277be8d03c146b33a (patch)
tree795bc1f8ce4d624017a5d0b2fd36ea733448a77a /scripts/TestUtil.py
parenticehashpassword fixes, no longer install it with make install (diff)
downloadice-932c835759b2c5e3fb50d16277be8d03c146b33a.tar.bz2
ice-932c835759b2c5e3fb50d16277be8d03c146b33a.tar.xz
ice-932c835759b2c5e3fb50d16277be8d03c146b33a.zip
ICE-6405 Fixed test status check on Windows
Diffstat (limited to 'scripts/TestUtil.py')
-rwxr-xr-xscripts/TestUtil.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py
index ca9e1148d0c..1c69736c11e 100755
--- a/scripts/TestUtil.py
+++ b/scripts/TestUtil.py
@@ -2318,7 +2318,9 @@ def runTests(start, expanded, num = 0, script = False):
print(" exit 1")
print("fi")
else:
- status = os.system(sys.executable + " " + quoteArgument(os.path.join(dir, "run.py")) + " " + args) >> 8
+ status = os.system(sys.executable + " " + quoteArgument(os.path.join(dir, "run.py")) + " " + args)
+ if not isWin32():
+ status = status >> 8
if status:
if(num > 0):