[PATCH i-g-t 4/5] igt_core: Make sure test result gets to runner when test has no subtests

Petri Latvala petri.latvala at intel.com
Thu Nov 3 14:35:27 UTC 2022


One more raw printf, converted to the wrapper that sends to runner if
connected.

Signed-off-by: Petri Latvala <petri.latvala at intel.com>
---
 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



More information about the Intel-gfx-trybot mailing list