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
commit466684bc5d6ea1e33c7201014a7de68acabe245e (patch)
tree91f8e137dec8799ca511d7249486b987cd5a3778 /eclass/autotools-utils.eclass
parentdrop old, run/build time verified, approved by radhermit (diff)
downloadhistorical-466684bc5d6ea1e33c7201014a7de68acabe245e.tar.gz
historical-466684bc5d6ea1e33c7201014a7de68acabe245e.tar.bz2
historical-466684bc5d6ea1e33c7201014a7de68acabe245e.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