From 7773e5d8b7f68d1865eb10886a96b248076a1a24 Mon Sep 17 00:00:00 2001 From: Marc Di Luzio Date: Wed, 6 Feb 2019 19:02:37 +0000 Subject: [PATCH] Use the logging macros for tests --- daemon/gamemode-tests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/gamemode-tests.c b/daemon/gamemode-tests.c index 4c7181d..074a14e 100644 --- a/daemon/gamemode-tests.c +++ b/daemon/gamemode-tests.c @@ -246,7 +246,7 @@ static int run_dual_client_tests(void) static int game_mode_run_feature_tests(void) { 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 */ @@ -272,7 +272,7 @@ static int game_mode_run_feature_tests(void) /* TODO */ 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; }