From 932c835759b2c5e3fb50d16277be8d03c146b33a Mon Sep 17 00:00:00 2001 From: Dwayne Boone Date: Mon, 25 May 2015 14:29:17 -0230 Subject: ICE-6405 Fixed test status check on Windows --- scripts/TestUtil.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts/TestUtil.py') 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): -- cgit v1.2.3