waf: fail the check if not all test programs succeed

So that integration with Travis work properly.
This commit is contained in:
Gustavo Jose de Sousa 2016-01-18 15:57:32 -02:00 committed by Lucas De Marchi
parent e9195a3989
commit 54d938e2c4

View File

@ -234,6 +234,8 @@ def test_summary(bld):
for filename in fails:
Logs.error(' %s' % filename)
bld.fatal('check: some tests failed')
def build_shortcut(targets=None):
def build_fn(bld):
if targets: