summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-06-29 08:17:06 +0000
committerMichał Górny <mgorny@gentoo.org>2013-06-29 08:17:06 +0000
commita907d20687367fce29705d11cdf8cbf0180b83f4 (patch)
tree66e216d54135556b0b1f6c657200525eab27c41f /eclass
parentRemove old. (diff)
downloadgentoo-2-a907d20687367fce29705d11cdf8cbf0180b83f4.tar.gz
gentoo-2-a907d20687367fce29705d11cdf8cbf0180b83f4.tar.bz2
gentoo-2-a907d20687367fce29705d11cdf8cbf0180b83f4.zip
Respect arguments when checking for test targets. This becomes helpful if one of the arguments is -C.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog6
-rw-r--r--eclass/autotools-utils.eclass6
2 files changed, 8 insertions, 4 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 0c020ae7249c..82acd336f131 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for eclass directory
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.866 2013/06/28 12:42:48 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.867 2013/06/29 08:17:06 mgorny Exp $
+
+ 29 Jun 2013; Michał Górny <mgorny@gentoo.org> autotools-utils.eclass:
+ Respect arguments when checking for test targets. This becomes helpful if one
+ of the arguments is -C.
28 Jun 2013; Michał Górny <mgorny@gentoo.org> autotools-multilib.eclass,
multilib-minimal.eclass:
diff --git a/eclass/autotools-utils.eclass b/eclass/autotools-utils.eclass
index 2cae86d8bdac..28acb3b4c20b 100644
--- a/eclass/autotools-utils.eclass
+++ b/eclass/autotools-utils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.69 2013/06/07 20:59:13 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.70 2013/06/29 08:17:06 mgorny Exp $
# @ECLASS: autotools-utils.eclass
# @MAINTAINER:
@@ -546,9 +546,9 @@ autotools-utils_src_test() {
_check_build_dir
pushd "${BUILD_DIR}" > /dev/null || die
- if make -n check &>/dev/null; then
+ if make -n check "${@}" &>/dev/null; then
emake check "${@}" || die 'emake check failed.'
- elif make -n test &>/dev/null; then
+ elif make -n test "${@}" &>/dev/null; then
emake test "${@}" || die 'emake test failed.'
fi