[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181017164103.4fb8692f@gandalf.local.home>
Date: Wed, 17 Oct 2018 16:41:03 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Daniel Díaz <daniel.diaz@...aro.org>
Cc: shuah@...nel.org, linux-kselftest@...r.kernel.org,
Ingo Molnar <mingo@...hat.com>,
linux-kernel@...r.kernel.org (open list),
Masami Hiramatsu <mhiramat@...nel.org>
Subject: Re: [PATCH] selftests/ftrace: Use colored output when available
On Tue, 16 Oct 2018 12:02:20 -0500
Daniel Díaz <daniel.diaz@...aro.org> wrote:
> 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@...aro.org>
Acked-by: Steven Rostedt (VMware) <rostedt@...dmis.org>
Shuah, can you pull this into your tree?
Thanks,
-- Steve
Powered by blists - more mailing lists