diff options
author | Kees Cook <keescook@chromium.org> | 2022-02-24 08:53:50 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2022-04-05 00:23:50 +0300 |
commit | d34f82d67d2b1bdbed6bf343f0c9e6d828438976 (patch) | |
tree | c2a81bf20a04c6fcd4e138bbd811c97539514ade /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 885210d348f71e14b91bdf626d5d9039bf1afb03 (diff) | |
download | linux-d34f82d67d2b1bdbed6bf343f0c9e6d828438976.tar.xz |
kunit: tool: Do not colorize output when redirected
Filling log files with color codes makes diffs and other comparisons
difficult. Only emit vt100 codes when the stdout is a TTY.
Cc: Brendan Higgins <brendanhiggins@google.com>
Cc: linux-kselftest@vger.kernel.org
Cc: kunit-dev@googlegroups.com
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: David Gow <davidgow@google.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions