In a similar vein to [1], this does the same for the tsan tests.
These tests also suffer from being overly picky w.r.t. ansi escape codes in the runtime diagnostics (which can't be suppressed as explained in [2]).
Tested on a remote x86_64-linux-gnu target. 2015-09-08 Jonathan Roelofs <jonat...@codesourcery.com> * c-c++-common/tsan/race_on_mutex.c: Don't be picky about ansi escape codes in diagnostics. * c-c++-common/tsan/free_race2.c: Ditto. * c-c++-common/tsan/mutexset1.c: Ditto. * c-c++-common/tsan/fd_pipe_race.c: Ditto. * c-c++-common/tsan/atomic_stack.c: Ditto. * c-c++-common/tsan/write_in_reader_lock.c: Ditto. * c-c++-common/tsan/free_race.c: Ditto. * c-c++-common/tsan/simple_stack.c: Ditto. Cheers, Jon 1: https://gcc.gnu.org/ml/gcc-patches/2015-08/msg01755.html 2: https://gcc.gnu.org/ml/gcc-patches/2015-09/msg00292.html -- Jon Roelofs jonat...@codesourcery.com CodeSourcery / Mentor Embedded