Daniel Díaz
8096fbcf55
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 >
2018-10-24 14:49:37 -06:00
..
2018-09-05 08:12:09 -06:00
2018-09-22 02:46:42 +02:00
2018-05-30 15:21:52 -06:00
2017-11-02 11:10:55 +01:00
2018-09-07 16:36:01 -06:00
2018-05-30 15:21:52 -06:00
2018-05-30 15:21:52 -06:00
2018-10-09 16:13:42 +02:00
2018-09-05 10:58:07 -06:00
2018-05-30 15:21:52 -06:00
2018-05-30 15:21:52 -06:00
2018-05-30 15:21:52 -06:00
2018-10-24 14:49:37 -06:00
2018-09-05 08:12:09 -06:00
2018-10-24 14:49:37 -06:00
2017-11-02 11:10:55 +01:00
2018-05-30 21:31:31 -06:00
2018-05-30 15:21:53 -06:00
2017-11-02 11:10:55 +01:00
2018-05-30 15:21:53 -06:00
2018-10-24 14:49:37 -06:00
2018-05-30 21:32:55 -06:00
2018-05-30 15:29:06 -06:00
2018-05-30 15:29:06 -06:00
2018-05-30 15:29:06 -06:00
2018-05-30 15:29:06 -06:00
2018-09-05 10:58:31 -06:00
2018-08-09 11:26:07 -06:00
2018-05-30 15:29:06 -06:00
2018-10-14 13:01:20 -07:00
2018-09-05 08:12:09 -06:00
2018-01-12 11:41:33 -07:00
2018-01-28 22:17:24 -05:00
2018-09-28 15:07:45 +10:00
2017-11-02 11:10:55 +01:00
2018-10-24 14:49:37 -06:00
2018-06-18 09:11:09 -06:00
2018-01-04 14:57:10 +01:00
2017-11-02 11:10:55 +01:00
2018-07-12 15:42:01 -07:00
2018-09-27 12:59:19 -06:00
2018-05-30 15:21:51 -06:00
2018-05-05 00:51:44 +02:00
2017-11-02 11:10:55 +01:00
2017-06-14 18:23:27 -06:00
2018-06-18 09:29:20 -06:00
2017-11-02 11:10:55 +01:00
2018-06-18 09:11:09 -06:00
2018-06-18 09:11:10 -06:00
2018-06-18 09:11:09 -06:00
2018-08-29 22:10:59 -07:00
2018-07-10 12:43:21 -07:00
2018-05-23 15:24:22 -04:00
2018-06-18 09:11:09 -06:00
2018-07-11 10:14:26 -06:00
2018-09-05 08:12:09 -06:00
2018-10-24 14:49:36 -06:00
2018-10-04 08:17:50 +02:00
2018-06-18 09:11:09 -06:00
2017-04-25 09:49:38 -06:00
2018-01-12 11:44:31 -07:00
2018-03-21 10:42:46 -06:00
2018-01-12 11:45:05 -07:00
2018-08-27 14:07:46 -06:00
2018-09-05 08:12:09 -06:00
2018-06-10 10:17:09 -07:00