From ca3b4a9d7f418cac6e9d583dda7fcf5161bf6685 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Thu, 18 Apr 2024 16:48:41 +0300 Subject: [PATCH] engine: host: oops --- engine/common/host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/host.c b/engine/common/host.c index da08c408..362ca09e 100644 --- a/engine/common/host.c +++ b/engine/common/host.c @@ -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(); } }