projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ae673c
)
eclass/tests/toolchain-funcs.sh: fix tc-cpp-is-true tests
author
Sergei Trofimovich
<slyfox@gentoo.org>
Wed, 20 Nov 2019 20:28:40 +0000
(20:28 +0000)
committer
Sergei Trofimovich
<slyfox@gentoo.org>
Wed, 20 Nov 2019 20:30:19 +0000
(20:30 +0000)
The test was failing on systems without clang because presence
of compiler was tested incorrectly (${compielr} typo).
Reported-by: Michał Górny
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
eclass/tests/toolchain-funcs.sh
patch
|
blob
|
history
diff --git
a/eclass/tests/toolchain-funcs.sh
b/eclass/tests/toolchain-funcs.sh
index 79ba6fa407b5d4fadea192538f6221edd354f634..4cd4213c2de54c4d2559578d7b476fba0c415d6f 100755
(executable)
--- a/
eclass/tests/toolchain-funcs.sh
+++ b/
eclass/tests/toolchain-funcs.sh
@@
-172,8
+172,8
@@
if type -P pathcc &>/dev/null; then
tend $?
fi
-for compiler in gcc clang; do
- if type -P ${compi
el
r} &>/dev/null; then
+for compiler in gcc clang
not-really-a-compiler
; do
+ if type -P ${compi
le
r} &>/dev/null; then
tbegin "tc-cpp-is-true ($compiler, defined)"
(
export CC=${compiler}