diff options
author | Marc Laukien <marc@zeroc.com> | 2001-09-29 20:30:28 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-09-29 20:30:28 +0000 |
commit | 4fb513d64c69a9ed6afedb0d51a07ec4cf2a6c22 (patch) | |
tree | 97e41be6715f24e598ef3958f3cbe3141903e116 /cpp/allTests.py | |
parent | additional error checkpoints (diff) | |
download | ice-4fb513d64c69a9ed6afedb0d51a07ec4cf2a6c22.tar.bz2 ice-4fb513d64c69a9ed6afedb0d51a07ec4cf2a6c22.tar.xz ice-4fb513d64c69a9ed6afedb0d51a07ec4cf2a6c22.zip |
runtest fixes
Diffstat (limited to 'cpp/allTests.py')
-rwxr-xr-x | cpp/allTests.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/cpp/allTests.py b/cpp/allTests.py index 33902177f9c..294bd044161 100755 --- a/cpp/allTests.py +++ b/cpp/allTests.py @@ -9,7 +9,7 @@ # # ********************************************************************** -import os +import os, sys for toplevel in [".", "..", "../..", "../../..", "../../../.."]: if os.path.exists(os.path.normpath(toplevel + "/config/TestUtil.py")): @@ -34,4 +34,12 @@ for i in \ print "*** running tests in " + dir + ":" print - os.system("python " + os.path.normpath(dir + "/run.py")) + try: + execfile(os.path.normpath(dir + "/run.py")) + except SystemExit, (ex,): + if ex: + sys.exit(ex) + + + + |