Add a green [pass] print.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3662 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2021-09-09 00:23:55 +00:00
parent a09d159268
commit 3b4f0c1321

View File

@ -499,6 +499,7 @@ static void _tf_test_run(const tf_test_options_t* options, const char* name, voi
if (!options->tests || specified) { if (!options->tests || specified) {
printf("Running test %s.\n", name); printf("Running test %s.\n", name);
test(options); test(options);
printf("[\e[1;32mpass\e[0m] %s\n", name);
} }
} }