]> asedeno.scripts.mit.edu Git - linux.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)
commit8f381ac4d3210025891c5397e744fd4c771481d7
treeddbb3493bf65dfbd34077dae9b5815f0d58da020
parent717da97e94a9ba590632624992a9f79d53d3579b
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