diff options
author | Matti Bickel <mabi@gentoo.org> | 2011-01-28 13:33:53 +0000 |
---|---|---|
committer | Matti Bickel <mabi@gentoo.org> | 2011-01-28 13:33:53 +0000 |
commit | fadf8e6e0ed940b26a9ab2da69bde6b2b5d54a9a (patch) | |
tree | bbed3abc59db70ddfa0cc857e956268ad3852286 /eclass | |
parent | This doesn't really need so old vala version, 0.10 slot is enough. (diff) | |
download | historical-fadf8e6e0ed940b26a9ab2da69bde6b2b5d54a9a.tar.gz historical-fadf8e6e0ed940b26a9ab2da69bde6b2b5d54a9a.tar.bz2 historical-fadf8e6e0ed940b26a9ab2da69bde6b2b5d54a9a.zip |
switch to slot dir before running tests in php-ext-pecl-r2_src_test
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/php-ext-pecl-r2.eclass | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/eclass/php-ext-pecl-r2.eclass b/eclass/php-ext-pecl-r2.eclass index c5091b747403..d899fb64f406 100644 --- a/eclass/php-ext-pecl-r2.eclass +++ b/eclass/php-ext-pecl-r2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-pecl-r2.eclass,v 1.3 2011/01/20 12:13:30 olemarkus Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-pecl-r2.eclass,v 1.4 2011/01/28 13:33:53 mabi Exp $ # # Author: Tal Peer <coredumb@gentoo.org> # Author: Luca Longinotti <chtekk@gentoo.org> @@ -92,12 +92,11 @@ php-ext-pecl-r2_src_install() { # @FUNCTION: php-ext-pecl-r2_src_test # @DESCRIPTION: # Takes care of running any tests delivered with the PECL package. -# Testing is somewhat standardized across pecl extensions through phpize's -# run-tests.php - unfortunatly there are some quirks we need to work around +# Standard phpize generates a run-tests.php file that is executed in make test +# We only need to force it to non-interactive mode php-ext-pecl-r2_src_test() { - for slot in `php_get_slots`; do + php_init_slot_env ${slot} NO_INTERACTION="yes" emake test || die "emake test failed for slot ${slot}" done - } |