mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 05:13:34 +08:00
Showing correct test count also in success case
This commit is contained in:
@@ -181,7 +181,7 @@ test_all(int argc, char *argv[])
|
|||||||
printf(" \\ \\_\\ \\_\\ \\ \\_____\\ \\ \\_____\\ \\ \\_____\\ \\ \\_\\ \\_\\ \n");
|
printf(" \\ \\_\\ \\_\\ \\ \\_____\\ \\ \\_____\\ \\ \\_____\\ \\ \\_\\ \\_\\ \n");
|
||||||
printf(" \\/_/\\/_/ \\/_____/ \\/_____/ \\/_____/ \\/_/\\/_/ \n");
|
printf(" \\/_/\\/_/ \\/_____/ \\/_____/ \\/_____/ \\/_/\\/_/ \n");
|
||||||
printf("\n");
|
printf("\n");
|
||||||
printf(" All tests passed (%d of %d)\n", i, i);
|
printf(" All tests passed (%d of %d)\n", testscount, testscount);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
printf(" ______ ______ __ __ \n");
|
printf(" ______ ______ __ __ \n");
|
||||||
@@ -292,7 +292,7 @@ int test_jig(int argc, char *argv[])
|
|||||||
printf(" \\ \\_\\ \\_\\ \\ \\_____\\ \\ \\_____\\ \\ \\_____\\ \\ \\_\\ \\_\\ \n");
|
printf(" \\ \\_\\ \\_\\ \\ \\_____\\ \\ \\_____\\ \\ \\_____\\ \\ \\_\\ \\_\\ \n");
|
||||||
printf(" \\/_/\\/_/ \\/_____/ \\/_____/ \\/_____/ \\/_/\\/_/ \n");
|
printf(" \\/_/\\/_/ \\/_____/ \\/_____/ \\/_____/ \\/_/\\/_/ \n");
|
||||||
printf("\n");
|
printf("\n");
|
||||||
printf(" All tests passed (%d of %d)\n", i, i);
|
printf(" All tests passed (%d of %d)\n", testscount, testscount);
|
||||||
} else {
|
} else {
|
||||||
printf(" ______ ______ __ __ \n");
|
printf(" ______ ______ __ __ \n");
|
||||||
printf(" /\\ ___\\ /\\ __ \\ /\\ \\ /\\ \\ \n");
|
printf(" /\\ ___\\ /\\ __ \\ /\\ \\ /\\ \\ \n");
|
||||||
|
|||||||
Reference in New Issue
Block a user