diff options
author | 2019-11-20 19:49:35 +0000 | |
---|---|---|
committer | 2019-11-20 19:51:36 +0000 | |
commit | 3b75b027410fa2f5aca262794173086ec6b19d90 (patch) | |
tree | 308c44030e94ef829f4a1fd925182f28bf16f8b7 /eclass | |
parent | dev-lang/gnat-gpl: EAPI 6 (diff) | |
download | gentoo-3b75b027410fa2f5aca262794173086ec6b19d90.tar.gz gentoo-3b75b027410fa2f5aca262794173086ec6b19d90.tar.bz2 gentoo-3b75b027410fa2f5aca262794173086ec6b19d90.zip |
eclass/tests/flag-o-matic.sh: fix strip-unsupported-flags -B* set of tests
Don't know how I tested previous state, it certainly could not work.
The fix itself is fine though. The change updates expected output.
Reported-by: Michał Górny
Bug: https://bugs.gentoo.org/687198
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'eclass')
-rwxr-xr-x | eclass/tests/flag-o-matic.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/tests/flag-o-matic.sh b/eclass/tests/flag-o-matic.sh index 691b052c3d43..b0b97ea0bc1e 100755 --- a/eclass/tests/flag-o-matic.sh +++ b/eclass/tests/flag-o-matic.sh @@ -63,7 +63,7 @@ CXXFLAGS="-O2 -B/foo -O1" LDFLAGS="-O2 -B/foo -O1" tbegin "strip-unsupported-flags for '-B/foo'" strip-unsupported-flags -[[ ${CFLAGS} == "-O2 -O1" ]] && [[ ${CXXFLAGS} == "-O2 -O1" ]] && [[ ${LDFLAGS} == "" ]] +[[ ${CFLAGS} == "-O2 -B/foo -O1" ]] && [[ ${CXXFLAGS} == "-O2 -B/foo -O1" ]] && [[ ${LDFLAGS} == "-O2 -B/foo -O1" ]] ftend CFLAGS="-O2 -B /foo -O1" @@ -71,7 +71,7 @@ CXXFLAGS="-O2 -B /foo -O1" LDFLAGS="-O2 -B /foo -O1" tbegin "strip-unsupported-flags for '-B /foo'" strip-unsupported-flags -[[ ${CFLAGS} == "-O2 -O1" ]] && [[ ${CXXFLAGS} == "-O2 -O1" ]] && [[ ${LDFLAGS} == "" ]] +[[ ${CFLAGS} == "-O2 -B /foo -O1" ]] && [[ ${CXXFLAGS} == "-O2 -B /foo -O1" ]] && [[ ${LDFLAGS} == "-O2 -B /foo -O1" ]] ftend for var in $(all-flag-vars) ; do |