commit: c8793a6a74cc9af9ad6ecc85536efb8a7ffc7eff Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Mon Aug 13 22:19:54 2018 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Mon Aug 13 22:19:54 2018 +0000 URL: https://gitweb.gentoo.org/proj/gcc-config.git/commit/?id=c8793a6a
gcc-config: fix tests (drop einfo for LTO plugin) Before the change 3 tests failed due to extra output about switching to LTO plugin: * Running rw-multi-native-configs/test.use-old ... due to log difference; see .../TMP-test.use-old-rw-multi-native-configs/test.use-old.log [ !! ] * Running rw-multi-native-configs/test.select-insane ... due to log difference; see .../TMP-test.select-insane-rw-multi-native-configs/test.select-insane.log [ !! ] * Running rw-multi-native-configs/test.select ... due to log difference; see .../TMP-test.select-rw-multi-native-configs/test.select.log [ !! ] Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> gcc-config | 1 - tests/run_tests | 2 -- 2 files changed, 3 deletions(-) diff --git a/gcc-config b/gcc-config index e42008e..db173f3 100755 --- a/gcc-config +++ b/gcc-config @@ -698,7 +698,6 @@ switch_profile() { else BFD_PLUGINS_DIR="${EROOT}usr/${CHOST}/binutils-bin/lib/bfd-plugins" fi - einfo "Updating LTO plugin symlink in ${BFD_PLUGINS_DIR}" mkdir -p "${BFD_PLUGINS_DIR}" ln -sf "${LIBLTO_PLUGIN}" "${BFD_PLUGINS_DIR}" diff --git a/tests/run_tests b/tests/run_tests index 9ba34a0..19fbe7b 100755 --- a/tests/run_tests +++ b/tests/run_tests @@ -3,7 +3,6 @@ # Avoid bash localization of error messages export LC_ALL=C -. /lib/gentoo/functions.sh 2>/dev/null ebegin() { printf '%s*%s %s ... ' "${GOOD}" "${NORMAL}" "$*" ; } eend() { local r=${1:-0} @@ -16,7 +15,6 @@ eend() { return $r } die() { echo "$*" 1>&2; exit 1; } -eval $(eval_ecolors 2>/dev/null) vars=( CHOST GCC_CONFIG ROOT TROOT NOCOLOR RC_NOCOLOR ) unset ${vars[@]}