diff --git a/lib/igt_core.c b/lib/igt_core.c index 08e0c47f..3c035451 100644 --- a/lib/igt_core.c +++ b/lib/igt_core.c @@ -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);