diff options
Diffstat (limited to 'waflib')
-rw-r--r-- | waflib/extras/autowaf.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/waflib/extras/autowaf.py b/waflib/extras/autowaf.py index c49bee7e..13526eb9 100644 --- a/waflib/extras/autowaf.py +++ b/waflib/extras/autowaf.py @@ -818,6 +818,7 @@ def post_test(ctx, appname, dirs=['src'], remove=['*boost*', 'c++*']): Logs.pprint('GREEN', '[ PASSED ] %d tests' % passed_tests) if failed_tests > 0: Logs.pprint('RED', '[ FAILED ] %d tests' % failed_tests) + sys.exit(1) Logs.pprint('', '') top_level = (len(ctx.stack_path) > 1) |