diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2022-06-19 10:31:01 +0100 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2022-06-20 16:33:10 +0100 |
commit | 607118dfa47a1865dc59f98e7d161da98471d688 (patch) | |
tree | 80c63a7e41874efd9d0de870559db15c81cdb890 | |
parent | fe9765c0b97e6b4ce2cd226631d329fc05ba2aa5 (diff) | |
download | gcc-607118dfa47a1865dc59f98e7d161da98471d688.zip gcc-607118dfa47a1865dc59f98e7d161da98471d688.tar.gz gcc-607118dfa47a1865dc59f98e7d161da98471d688.tar.bz2 |
testsuite, asan: Avoid color in asan test output.
The presence of the color markers in the some of the asan tests
appears to confuse the dg-output matching (possibly a platform
TCL or termios bug) on some Darwin platforms.
Since the color is not being tested, switch it off (makes the log
files easier to read too). This fixes a large number of spurious
test fails on AVX512 Darwin19.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/testsuite/ChangeLog:
* lib/asan-dg.exp: Do not apply color to asan output when
under test.
-rw-r--r-- | gcc/testsuite/lib/asan-dg.exp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/lib/asan-dg.exp b/gcc/testsuite/lib/asan-dg.exp index 7e0f85d..87c70d0 100644 --- a/gcc/testsuite/lib/asan-dg.exp +++ b/gcc/testsuite/lib/asan-dg.exp @@ -111,6 +111,8 @@ proc asan_init { args } { global asan_saved_TEST_ALWAYS_FLAGS global asan_saved_ALWAYS_CXXFLAGS + setenv ASAN_OPTIONS "color=never" + set link_flags "" if ![is_remote host] { if [info exists TOOL_OPTIONS] { |