]> 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)
commit74419cceb1ef05ad2c8a4601414c067f9b541beb
treeddbb3493bf65dfbd34077dae9b5815f0d58da020
parentf7c368624f43d20a8731deac77fbd7810dc036da
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