Skip to content

Commit 19f37f9

Browse files
committed
add test status codes legend to the 'Started' test trace
motivation: (for someone new to the tests) it's puzzling to find the odd 'S' interspersed in the test output proposed alternative test output (extract): $ cmake --build . && ./libgit2_clar -srepo -v ... Loaded 340 suites: Started (test status codes: OK='.' FAILURE='F' SKIPPED='S') repo::config... repo::discover.......... repo::env. repo::getters... repo::hashfile.. repo::head...................... repo::headtree.... repo::init.........................S repo::message.. repo::new.. repo::open............. repo::pathspec.......... repo::reservedname..... repo::setters..... repo::shallow.... repo::state.............
1 parent 15f8d9a commit 19f37f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/clar/print.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ static void clar_print_init(int test_count, int suite_count, const char *suite_n
33
{
44
(void)test_count;
55
printf("Loaded %d suites: %s\n", (int)suite_count, suite_names);
6-
printf("Started\n");
6+
printf("Started (test status codes: OK='.' FAILURE='F' SKIPPED='S')\n");
77
}
88

99
static void clar_print_shutdown(int test_count, int suite_count, int error_count)

0 commit comments

Comments
 (0)