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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user