From: | "Ole Markus With (olemarkus)" <olemarkus@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-lang/php/files/eblits: src_test-v1.eblit |
Date: | Mon, 06 Feb 2012 13:53:27 |
Message-Id: | 20120206135317.DD54C2004B@flycatcher.gentoo.org |
1 | olemarkus 12/02/06 13:53:17 |
2 | |
3 | Modified: src_test-v1.eblit |
4 | Log: |
5 | Fixed FEATURES="test", which apparently has not been working for a while. |
6 | |
7 | (Portage version: 2.1.10.41/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.3 dev-lang/php/files/eblits/src_test-v1.eblit |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/php/files/eblits/src_test-v1.eblit?rev=1.3&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/php/files/eblits/src_test-v1.eblit?rev=1.3&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/php/files/eblits/src_test-v1.eblit?r1=1.2&r2=1.3 |
15 | |
16 | Index: src_test-v1.eblit |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-lang/php/files/eblits/src_test-v1.eblit,v |
19 | retrieving revision 1.2 |
20 | retrieving revision 1.3 |
21 | diff -u -r1.2 -r1.3 |
22 | --- src_test-v1.eblit 9 Aug 2010 10:47:57 -0000 1.2 |
23 | +++ src_test-v1.eblit 6 Feb 2012 13:53:17 -0000 1.3 |
24 | @@ -1,15 +1,15 @@ |
25 | -# Copyright 1999-2010 Gentoo Foundation |
26 | +# Copyright 1999-2012 Gentoo Foundation |
27 | # Distributed under the terms of the GNU General Public License v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/files/eblits/src_test-v1.eblit,v 1.2 2010/08/09 10:47:57 mabi Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/files/eblits/src_test-v1.eblit,v 1.3 2012/02/06 13:53:17 olemarkus Exp $ |
30 | |
31 | eblit-php-src_test() { |
32 | vecho ">>> Test phase [test]: ${CATEGORY}/${PF}" |
33 | - |
34 | - if [[ ! -x "${WORKDIR}/sapis/cli/php" ]] ; then |
35 | + PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php" |
36 | + if [[ ! -x "${PHP_BIN}" ]] ; then |
37 | ewarn "Test phase requires USE=cli, skipping" |
38 | return |
39 | else |
40 | - export TEST_PHP_EXECUTABLE="${WORKDIR}/sapis/cli/php" |
41 | + export TEST_PHP_EXECUTABLE="${PHP_BIN}" |
42 | fi |
43 | |
44 | if [[ -x "${WORKDIR}/sapis/cgi/php-cgi" ]] ; then |