waf: fail the check if not all test programs succeed
So that integration with Travis work properly.
This commit is contained in:
parent
e9195a3989
commit
54d938e2c4
@ -234,6 +234,8 @@ def test_summary(bld):
|
|||||||
for filename in fails:
|
for filename in fails:
|
||||||
Logs.error(' %s' % filename)
|
Logs.error(' %s' % filename)
|
||||||
|
|
||||||
|
bld.fatal('check: some tests failed')
|
||||||
|
|
||||||
def build_shortcut(targets=None):
|
def build_shortcut(targets=None):
|
||||||
def build_fn(bld):
|
def build_fn(bld):
|
||||||
if targets:
|
if targets:
|
||||||
|
Loading…
Reference in New Issue
Block a user