diff options
Diffstat (limited to 'gcc/testsuite/jit.dg/harness.h')
-rw-r--r-- | gcc/testsuite/jit.dg/harness.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/testsuite/jit.dg/harness.h b/gcc/testsuite/jit.dg/harness.h index 0dc5ed1dad0..7b70ce73dd5 100644 --- a/gcc/testsuite/jit.dg/harness.h +++ b/gcc/testsuite/jit.dg/harness.h @@ -262,6 +262,10 @@ static void set_options (gcc_jit_context *ctxt, const char *argv0) ctxt, GCC_JIT_BOOL_OPTION_DUMP_SUMMARY, 0); + /* Make it easier to compare error messages by disabling colorization, + rather then have them be affected by whether stderr is going to a tty. */ + gcc_jit_context_add_command_line_option + (ctxt, "-fdiagnostics-color=never"); } #endif /* #ifndef TEST_ESCHEWS_SET_OPTIONS */ |