aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-02-04 12:28:38 +0100
committerDavid Robillard <d@drobilla.net>2018-02-04 16:19:31 +0100
commit4d82ac1e09f787c24c28d64d3f09665c94bc27c2 (patch)
tree15a7fdc8a57f61975c60e70ad994805d0e154e9a /wscript
parent930b2bd2fb6e8739e71ad2c503087ae675ffe194 (diff)
downloadserd-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--wscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/wscript b/wscript
index ee2875a5..51fdc9c0 100644
--- a/wscript
+++ b/wscript
@@ -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())