2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-02 08:42:13 +00:00

Only SystemExit exception from test module indicates failure. Other exceptions

indicator error in the test, so should not be caught.


[SVN r24973]
This commit is contained in:
Vladimir Prus
2004-09-08 14:48:46 +00:00
parent 25b5dd55d0
commit 692ec14ece

View File

@@ -31,7 +31,7 @@ def run_tests(critical_tests, other_tests):
print ("%-25s : " %(i)),
try:
__import__(i)
except:
except SystemExit:
print "FAILED"
if failures_count == 0:
f = open(os.path.join(invocation_dir, 'test_results.txt'), 'w')