mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-07 08:07:20 +02:00
Use the logging macros for tests
This commit is contained in:
parent
97cfc3bb17
commit
7773e5d8b7
@ -246,7 +246,7 @@ static int run_dual_client_tests(void)
|
|||||||
static int game_mode_run_feature_tests(void)
|
static int game_mode_run_feature_tests(void)
|
||||||
{
|
{
|
||||||
int status = 0;
|
int status = 0;
|
||||||
fprintf(stdout, " *feature tests*\n");
|
LOG_MSG(" *feature tests*\n");
|
||||||
|
|
||||||
/* If we reach here, we should assume the basic requests and register functions are working */
|
/* If we reach here, we should assume the basic requests and register functions are working */
|
||||||
|
|
||||||
@ -272,7 +272,7 @@ static int game_mode_run_feature_tests(void)
|
|||||||
/* TODO */
|
/* TODO */
|
||||||
|
|
||||||
if (status != -1)
|
if (status != -1)
|
||||||
fprintf(stdout, " *passed*%s\n", status > 0 ? " (with optional failures)" : "");
|
LOG_MSG(" *passed*%s\n", status > 0 ? " (with optional failures)" : "");
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user