summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2014-07-31 23:24:56 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2014-07-31 23:24:56 +0000
commita90e027e61753878d52d16be1b5c494b03948ef7 (patch)
treedf2f442000e695ddeafd26e7f73b110a348c99a7 /eclass/autotools-utils.eclass
parentdrop old, run/build time verified, approved by radhermit (diff)
downloadgentoo-2-a90e027e61753878d52d16be1b5c494b03948ef7.tar.gz
gentoo-2-a90e027e61753878d52d16be1b5c494b03948ef7.tar.bz2
gentoo-2-a90e027e61753878d52d16be1b5c494b03948ef7.zip
When probing for supported test targets for make, explicity ignore recipe errors even if we run make in dry-run mode.
Diffstat (limited to 'eclass/autotools-utils.eclass')
-rw-r--r--eclass/autotools-utils.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/autotools-utils.eclass b/eclass/autotools-utils.eclass
index ab448c1ad14a..3c0f9e76c209 100644
--- a/eclass/autotools-utils.eclass
+++ b/eclass/autotools-utils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.73 2014/03/11 23:55:44 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.74 2014/07/31 23:24:56 reavertm Exp $
# @ECLASS: autotools-utils.eclass
# @MAINTAINER:
@@ -468,9 +468,9 @@ autotools-utils_src_test() {
_check_build_dir
pushd "${BUILD_DIR}" > /dev/null || die
- if make -n check "${@}" &>/dev/null; then
+ if make -ni check "${@}" &>/dev/null; then
emake check "${@}" || die 'emake check failed.'
- elif make -n test "${@}" &>/dev/null; then
+ elif make -ni test "${@}" &>/dev/null; then
emake test "${@}" || die 'emake test failed.'
fi