waf: run tests failed before on check

That avoids a failing test to "hide" behind some tests that were just modified
and fixed.
This commit is contained in:
Gustavo Jose de Sousa 2016-01-15 16:20:36 -02:00 committed by Lucas De Marchi
parent 60abd4ff2f
commit 5c41b48621
1 changed files with 1 additions and 0 deletions

View File

@ -178,6 +178,7 @@ def build(bld):
bld.recurse(d)
if bld.cmd == 'check':
bld.options.clear_failed_tests = True
if not bld.env.HAS_GTEST:
bld.fatal('check: gtest library is required')
bld.add_post_fun(ardupilotwaf.test_summary)