]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite, asan: Avoid color in asan test output.
authorIain Sandoe <iain@sandoe.co.uk>
Sun, 19 Jun 2022 09:31:01 +0000 (10:31 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Mon, 20 Jun 2022 15:33:10 +0000 (16:33 +0100)
commit607118dfa47a1865dc59f98e7d161da98471d688
tree80c63a7e41874efd9d0de870559db15c81cdb890
parentfe9765c0b97e6b4ce2cd226631d329fc05ba2aa5
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.
gcc/testsuite/lib/asan-dg.exp