aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Kbuild.include
diff options
context:
space:
mode:
authorDaniel Díaz <daniel.diaz@linaro.org>2018-10-16 12:02:20 -0500
committerShuah Khan (Samsung OSG) <shuah@kernel.org>2018-10-24 14:49:37 -0600
commit8096fbcf55c0da535bdca9adab982ec0c5affb67 (patch)
tree2163b004622369bec41ef9df44c042b640134497 /scripts/Kbuild.include
parentselftests: fix warning: "_GNU_SOURCE" redefined (diff)
downloadlinux-dev-8096fbcf55c0da535bdca9adab982ec0c5affb67.tar.xz
linux-dev-8096fbcf55c0da535bdca9adab982ec0c5affb67.zip
selftests/ftrace: Use colored output when available
If test is being directly executed (with stdout opened on the terminal) and the terminal capabilities indicate enough colors, then use the existing scheme of green, red, and blue to show when tests pass, fail or end in a different way. When running the tests redirecting the stdout, for instance, to a file, then colors are not shown, thus producing a more readable output. Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org> Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
Diffstat (limited to 'scripts/Kbuild.include')
0 files changed, 0 insertions, 0 deletions