From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by gabe.freedesktop.org (Postfix) with ESMTPS id BFAD010E19D for ; Mon, 7 Nov 2022 13:58:47 +0000 (UTC) Date: Mon, 7 Nov 2022 14:57:30 +0100 From: Kamil Konieczny To: igt-dev@lists.freedesktop.org Message-ID: References: <20221107120151.2365523-1-petri.latvala@intel.com> <20221107120151.2365523-4-petri.latvala@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20221107120151.2365523-4-petri.latvala@intel.com> Subject: Re: [igt-dev] [PATCH i-g-t 4/6] igt_core: Make sure test result gets to runner when test has no subtests List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Petri Latvala Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: On 2022-11-07 at 14:01:49 +0200, Petri Latvala wrote: > One more raw printf, converted to the wrapper that sends to runner if > connected. > > Signed-off-by: Petri Latvala > Cc: Arkadiusz Hiler > Cc: Kamil Konieczny Reviewed-by: Kamil Konieczny > --- > lib/igt_core.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/lib/igt_core.c b/lib/igt_core.c > index d4bef161..30b43715 100644 > --- a/lib/igt_core.c > +++ b/lib/igt_core.c > @@ -2260,8 +2260,8 @@ void igt_exit(void) > result = "FAIL"; > } > > - printf("%s (%.3fs)\n", > - result, igt_time_elapsed(&subtest_time, &now)); > + _log_line_fprintf(stdout, "%s (%.3fs)\n", > + result, igt_time_elapsed(&subtest_time, &now)); > } > > exit(igt_exitcode); > -- > 2.30.2 >