This commit is contained in:
parent
ae9a706189
commit
dc8b9bd211
1 changed files with 3 additions and 1 deletions
|
|
@ -215,6 +215,8 @@ int main(int argc, char ** argv)
|
|||
std::cout << (success == test_count ? green : red) << (success == test_count ? "Success: " : "Failure: ") << normal << success << '/' << test_count << " passed ("
|
||||
<< psemek::util::pretty(all_end - all_start, std::chrono::milliseconds{1}) << ")" << std::endl;
|
||||
|
||||
if (success <= test_count)
|
||||
if (success < test_count)
|
||||
return EXIT_FAILURE;
|
||||
else
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue