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:
Chris Wilson 2015-01-05 14:07:31 +00:00
parent cb512b6470
commit d8bf7e17cb

View File

@ -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);