* [gentoo-commits] proj/gcc-config:master commit in: tests/, /
@ 2018-08-13 22:21 Sergei Trofimovich
0 siblings, 0 replies; 2+ messages in thread
From: Sergei Trofimovich @ 2018-08-13 22:21 UTC (permalink / raw
To: gentoo-commits
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[@]}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] proj/gcc-config:master commit in: tests/, /
@ 2022-09-22 23:46 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2022-09-22 23:46 UTC (permalink / raw
To: gentoo-commits
commit: ba452333dca237866e793ec40d0f387aefa917a3
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 22 23:19:09 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 22 23:45:43 2022 +0000
URL: https://gitweb.gentoo.org/proj/gcc-config.git/commit/?id=ba452333
*/*: use portable Bash shebang
Useful for Prefix in particular.
Signed-off-by: Sam James <sam <AT> gentoo.org>
gcc-config | 4 ++--
tests/run_tests | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/gcc-config b/gcc-config
index eff9cca..65a7ceb 100755
--- a/gcc-config
+++ b/gcc-config
@@ -1,5 +1,5 @@
-#!/bin/bash
-# Copyright 2002-2021 Gentoo Authors
+#!/usr/bin/env bash
+# Copyright 2002-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Format of /etc/env.d/gcc/ contents:
diff --git a/tests/run_tests b/tests/run_tests
index 19fbe7b..602aa92 100755
--- a/tests/run_tests
+++ b/tests/run_tests
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# Avoid bash localization of error messages
export LC_ALL=C
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-22 23:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-22 23:46 [gentoo-commits] proj/gcc-config:master commit in: tests/, / Sam James
-- strict thread matches above, loose matches on Subject: below --
2018-08-13 22:21 Sergei Trofimovich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox