mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-25 16:56:35 +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:
parent
cb512b6470
commit
d8bf7e17cb
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user