summaryrefslogtreecommitdiff
path: root/scripts/TestUtil.py
diff options
context:
space:
mode:
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):