diff options
author | 2024-12-08 03:18:05 +0000 | |
---|---|---|
committer | 2024-12-08 03:18:05 +0000 | |
commit | e132fe9bfdfd51c307dfa107a745cc63f95a6857 (patch) | |
tree | a43309c94943e3260fd668cd422ab85574111aab | |
parent | gcc-config: handle offload/accel compilers properly (diff) | |
download | gcc-config-e132fe9bfdfd51c307dfa107a745cc63f95a6857.tar.gz gcc-config-e132fe9bfdfd51c307dfa107a745cc63f95a6857.tar.bz2 gcc-config-e132fe9bfdfd51c307dfa107a745cc63f95a6857.zip |
tests/run_tests: adapt to NO_COLOR
Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-x | tests/run_tests | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/run_tests b/tests/run_tests index ef38770..cf48620 100755 --- a/tests/run_tests +++ b/tests/run_tests @@ -23,7 +23,7 @@ source "${functions_script}" || { die() { echo "$*" 1>&2; exit 1; } -vars=( CHOST GCC_CONFIG ROOT TROOT NOCOLOR RC_NOCOLOR ) +vars=( CHOST GCC_CONFIG ROOT TROOT NO_COLOR ) unset ${vars[@]} TROOT=${PWD} @@ -33,8 +33,7 @@ if ! "${GCC_CONFIG}" --help >/dev/null ; then fi PATH="${TROOT}/..:${PATH}" -NOCOLOR="true" -RC_NOCOLOR="yes" # Older baselayout/openrc versions. +NO_COLOR="true" # This CHOST value doesn't matter. It could be anything. # As long as all the configs we test are based on this being # the CHOST value. |