public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matti Bickel (mabi)" <mabi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: php-ext-pecl-r2.eclass
Date: Fri, 28 Jan 2011 13:33:53 +0000 (UTC)	[thread overview]
Message-ID: <20110128133353.865E920054@flycatcher.gentoo.org> (raw)

mabi        11/01/28 13:33:53

  Modified:             php-ext-pecl-r2.eclass
  Log:
  switch to slot dir before running tests in php-ext-pecl-r2_src_test

Revision  Changes    Path
1.4                  eclass/php-ext-pecl-r2.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/php-ext-pecl-r2.eclass?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/php-ext-pecl-r2.eclass?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/php-ext-pecl-r2.eclass?r1=1.3&r2=1.4

Index: php-ext-pecl-r2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/php-ext-pecl-r2.eclass,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- php-ext-pecl-r2.eclass	20 Jan 2011 12:13:30 -0000	1.3
+++ php-ext-pecl-r2.eclass	28 Jan 2011 13:33:53 -0000	1.4
@@ -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 @@
 # @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
-
 }






             reply	other threads:[~2011-01-28 13:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-28 13:33 Matti Bickel (mabi) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-08-19  9:14 [gentoo-commits] gentoo-x86 commit in eclass: php-ext-pecl-r2.eclass Ole Markus With (olemarkus)
2011-01-20 12:13 Ole Markus With (olemarkus)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110128133353.865E920054@flycatcher.gentoo.org \
    --to=mabi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox