aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-12-08 03:18:05 +0000
committerSam James <sam@gentoo.org>2024-12-08 03:18:05 +0000
commite132fe9bfdfd51c307dfa107a745cc63f95a6857 (patch)
treea43309c94943e3260fd668cd422ab85574111aab
parentgcc-config: handle offload/accel compilers properly (diff)
downloadgcc-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-xtests/run_tests5
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.