]> git.baikalelectronics.ru Git - kernel.git/commit
ktest.pl: Always show log file location if defined even on success
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 1 Jul 2020 14:28:23 +0000 (10:28 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 1 Jul 2020 14:28:23 +0000 (10:28 -0400)
commit12a174fe96b9d48f78cb2a3eab4c56b623c6acfe
tree8e1748ad5673f7bc14660dcdd92ca119ef0c343d
parent5e5bc7c1c68c77f9a109b8c12933ebb7e82d82a0
ktest.pl: Always show log file location if defined even on success

If a log file is defined and the test were to error, a print statement is
made that shows the user where the log file is to examine it further. But
this is not done if the test were to succeed.

I find it annoying that it does not show where the log file is on success,
as I run several different tests that place their log files in various
locations, and even though the test pass, there's things I want to look at
in the log file (like warnings). It is much easier to find where the log
file is, if it is displayed at the end of a test.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl