summaryrefslogtreecommitdiff
path: root/cpp/allTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/allTests.py')
-rwxr-xr-xcpp/allTests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/allTests.py b/cpp/allTests.py
index 294bd044161..4047b0b1cfc 100755
--- a/cpp/allTests.py
+++ b/cpp/allTests.py
@@ -36,9 +36,9 @@ for i in \
try:
execfile(os.path.normpath(dir + "/run.py"))
- except SystemExit, (ex,):
- if ex:
- sys.exit(ex)
+ except SystemExit, (status,):
+ if status:
+ sys.exit(status)