summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-08-16 18:44:48 +0200
committerDavid Seifert <soap@gentoo.org>2020-08-16 18:44:48 +0200
commit97c13ee8027a273fd6cf7c56aed5f45783e07b1a (patch)
treeeacde836da6fcf6e82649a46982daf65dd4379f6 /sys-devel
parentdev-ruby/httpauth: add ruby27 (diff)
downloadgentoo-97c13ee8027a273fd6cf7c56aed5f45783e07b1a.tar.gz
gentoo-97c13ee8027a273fd6cf7c56aed5f45783e07b1a.tar.bz2
gentoo-97c13ee8027a273fd6cf7c56aed5f45783e07b1a.zip
sys-devel/bmake: Fix test failure
* Use correct target for tests Closes: https://bugs.gentoo.org/737444 Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/bmake/bmake-20200318.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys-devel/bmake/bmake-20200318.ebuild b/sys-devel/bmake/bmake-20200318.ebuild
index c7915e164c03..c8d34b8e899c 100644
--- a/sys-devel/bmake/bmake-20200318.ebuild
+++ b/sys-devel/bmake/bmake-20200318.ebuild
@@ -32,7 +32,12 @@ src_compile() {
src_test() {
cd unit-tests || die
- LC_ALL=C env -u A "${S}"/bmake -r -m all || die "tests compilation failed"
+
+ # the 'ternary' test uses ${A} internally, which
+ # conflicts with Gentoo's ${A}, hence unset it for
+ # the tests temporarily.
+ env -u A MAKEFLAGS= \
+ "${S}"/bmake -r -m / TEST_MAKE="${S}"/bmake test || die "tests compilation failed"
}
src_install() {