mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-11 16:32:58 +00:00
lib/core: Show the exitcode in kmsg as well
This provides symmetry with logging the start of the test via kmsg. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
@@ -943,6 +943,8 @@ void igt_exit(void)
|
||||
if (igt_only_list_subtests())
|
||||
exit(IGT_EXIT_SUCCESS);
|
||||
|
||||
kmsg(KMSG_INFO "%s: exiting, ret=%d\n", command_str, igt_exitcode);
|
||||
|
||||
if (!test_with_subtests)
|
||||
exit(igt_exitcode);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user