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:
parent
60abd4ff2f
commit
5c41b48621
1
wscript
1
wscript
@ -178,6 +178,7 @@ def build(bld):
|
|||||||
bld.recurse(d)
|
bld.recurse(d)
|
||||||
|
|
||||||
if bld.cmd == 'check':
|
if bld.cmd == 'check':
|
||||||
|
bld.options.clear_failed_tests = True
|
||||||
if not bld.env.HAS_GTEST:
|
if not bld.env.HAS_GTEST:
|
||||||
bld.fatal('check: gtest library is required')
|
bld.fatal('check: gtest library is required')
|
||||||
bld.add_post_fun(ardupilotwaf.test_summary)
|
bld.add_post_fun(ardupilotwaf.test_summary)
|
||||||
|
Loading…
Reference in New Issue
Block a user