engine: host: oops

This commit is contained in:
Alibek Omarov 2024-04-18 16:48:41 +03:00
parent 87ac217887
commit ca3b4a9d7f
1 changed files with 1 additions and 1 deletions

View File

@ -941,7 +941,7 @@ static void Host_RunTests( int stage )
TEST_LIST_1_CLIENT;
#endif
Msg( "Done! %d passed, %d failed\n", tests_stats.passed, tests_stats.failed );
error_on_exit = tests_stats.failed >= 0 ? EXIT_FAILURE : EXIT_SUCCESS;
error_on_exit = tests_stats.failed > 0 ? EXIT_FAILURE : EXIT_SUCCESS;
Sys_Quit();
}
}