]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/ftrace: Add color to the PASS / FAIL results
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Sat, 13 Oct 2018 02:21:06 +0000 (22:21 -0400)
committerShuah Khan (Samsung OSG) <shuah@kernel.org>
Wed, 24 Oct 2018 20:49:37 +0000 (14:49 -0600)
commitabf7e5a00c85a87d4f8d4ab3c9b90f8f0d0c5a95
treeddbb3493bf65dfbd34077dae9b5815f0d58da020
parent5c2117b24a6739ef930c2694bc787d368bed0acf
selftests/ftrace: Add color to the PASS / FAIL results

Now that ftracetest has over 80 tests, it is difficult to simply scroll
up the console window to find the failed tests when it reports just two
tests have failed. In order to make this stand out better, have the
color of the word "PASS" be green, "FAIL" and "XFAIL" be red, and all
other results be blue. This helps tremendously in quickly spotting the
failed tests by just scrolling up the console window.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
tools/testing/selftests/ftrace/ftracetest