commit:     e132fe9bfdfd51c307dfa107a745cc63f95a6857
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  8 03:18:05 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec  8 03:18:05 2024 +0000
URL:        https://gitweb.gentoo.org/proj/gcc-config.git/commit/?id=e132fe9b

tests/run_tests: adapt to NO_COLOR

Signed-off-by: Sam James <sam <AT> gentoo.org>

 tests/run_tests | 5 ++---
 1 file 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.

Reply via email to