summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2015-01-27 14:10:15 +0000
committerThomas Wood <thomas.wood@intel.com>2015-02-09 14:39:41 +0000
commit9942a404379c1a021a6d26b8b2fcd9b70818a971 (patch)
tree28feb8308f39c6f1fe85ea66067f853c2a125964 /lib
parent2b05ecfb0625ddf4b8cced18c471063aa23e2768 (diff)
lib: add subtest start and exit status code messages to debug output
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/igt_core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/igt_core.c b/lib/igt_core.c
index d74f6f8f..41f84bb9 100644
--- a/lib/igt_core.c
+++ b/lib/igt_core.c
@@ -729,6 +729,7 @@ bool __igt_run_subtest(const char *subtest_name)
}
kmsg(KERN_INFO "%s: starting subtest %s\n", command_str, subtest_name);
+ igt_debug("Starting subtest: %s\n", subtest_name);
gettime(&subtest_time);
return (in_subtest = subtest_name);
@@ -972,6 +973,7 @@ void igt_exit(void)
exit(IGT_EXIT_SUCCESS);
kmsg(KERN_INFO "%s: exiting, ret=%d\n", command_str, igt_exitcode);
+ igt_debug("Exiting with status code %d\n", igt_exitcode);
if (!test_with_subtests)
exit(igt_exitcode);