mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-26 14:20:34 +08:00
WIP posix_sitl_test
This commit is contained in:
committed by
Lorenz Meier
parent
2bc74fd5d9
commit
39d388051a
@@ -50,7 +50,13 @@ UnitTest::~UnitTest()
|
||||
|
||||
void UnitTest::print_results(void)
|
||||
{
|
||||
warnx(_tests_failed ? "SOME TESTS FAILED" : "ALL TESTS PASSED");
|
||||
if (_tests_failed) {
|
||||
warnx("SOME TESTS FAILED");
|
||||
|
||||
} else {
|
||||
warnx("ALL TESTS PASSED");
|
||||
}
|
||||
|
||||
warnx(" Tests passed : %d", _tests_passed);
|
||||
warnx(" Tests failed : %d", _tests_failed);
|
||||
warnx(" Assertions : %d", _assertions);
|
||||
|
||||
Reference in New Issue
Block a user