aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/radix-tree/linux/kernel.h
diff options
context:
space:
mode:
authorDaniel Díaz <[email protected]>2018-10-16 12:02:20 -0500
committerShuah Khan (Samsung OSG) <[email protected]>2018-10-24 14:49:37 -0600
commit8096fbcf55c0da535bdca9adab982ec0c5affb67 (patch)
tree2163b004622369bec41ef9df44c042b640134497 /tools/testing/radix-tree/linux/kernel.h
parent0387662d1b6c5ad2950d8e94d5e380af3f15c05c (diff)
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 <[email protected]> Acked-by: Steven Rostedt (VMware) <[email protected]> Signed-off-by: Shuah Khan (Samsung OSG) <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions