Commit aa63913f by David Malcolm Committed by David Malcolm

testsuite: ensure GCC_COLORS is unset

gcc/testsuite/ChangeLog:
	* lib/gcc-dg.exp: Ensure GCC_COLORS is unset.

From-SVN: r248800
parent 77560086
2017-06-01 David Malcolm <dmalcolm@redhat.com>
* lib/gcc-dg.exp: Ensure GCC_COLORS is unset.
2017-06-01 Pierre-Marie de Rodat <derodat@adacore.com>
* debug12.adb, debug12.ads: New testcase.
......
......@@ -43,6 +43,12 @@ if { [ishost "*-*-cygwin*"] } {
setenv LANG C.ASCII
}
# Ensure GCC_COLORS is unset, for the rare testcases that verify
# how output is colorized.
if [info exists ::env(GCC_COLORS) ] {
unsetenv GCC_COLORS
}
global GCC_UNDER_TEST
if ![info exists GCC_UNDER_TEST] {
set GCC_UNDER_TEST "[find_gcc]"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment