diff options
author | David Robillard <d@drobilla.net> | 2018-02-04 12:28:38 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-02-04 16:19:31 +0100 |
commit | 4d82ac1e09f787c24c28d64d3f09665c94bc27c2 (patch) | |
tree | 15a7fdc8a57f61975c60e70ad994805d0e154e9a /wscript | |
parent | 930b2bd2fb6e8739e71ad2c503087ae675ffe194 (diff) | |
download | serd-4d82ac1e09f787c24c28d64d3f09665c94bc27c2.tar.gz serd-4d82ac1e09f787c24c28d64d3f09665c94bc27c2.tar.bz2 serd-4d82ac1e09f787c24c28d64d3f09665c94bc27c2.zip |
Exit with error status when test suite fails
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -487,6 +487,8 @@ def test(ctx): 'TriGTests', report, 'TriG', 'NQuads', '-a') autowaf.post_test(ctx, APPNAME) + if ctx.autowaf_tests[APPNAME]['failed'] > 0: + ctx.fatal('Failed %s tests' % APPNAME) def posts(ctx): path = str(ctx.path.abspath()) |