From 54d938e2c4de78dcfe1633894ffda0e0e45a1f6b Mon Sep 17 00:00:00 2001 From: Gustavo Jose de Sousa Date: Mon, 18 Jan 2016 15:57:32 -0200 Subject: [PATCH] waf: fail the check if not all test programs succeed So that integration with Travis work properly. --- Tools/ardupilotwaf/ardupilotwaf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tools/ardupilotwaf/ardupilotwaf.py b/Tools/ardupilotwaf/ardupilotwaf.py index 5410b4f58c..d0e41b5247 100644 --- a/Tools/ardupilotwaf/ardupilotwaf.py +++ b/Tools/ardupilotwaf/ardupilotwaf.py @@ -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: