| 1 | # Copyright 1999-2007 Gentoo Foundation |
1 | # Copyright 1999-2007 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/Attic/php-ext-pecl-r1.eclass,v 1.12 2010/09/13 13:44:14 mabi Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/Attic/php-ext-pecl-r1.eclass,v 1.13 2010/10/06 19:58:45 olemarkus Exp $ |
| 4 | # |
4 | # |
| 5 | # Author: Tal Peer <coredumb@gentoo.org> |
5 | # Author: Tal Peer <coredumb@gentoo.org> |
| 6 | # Author: Luca Longinotti <chtekk@gentoo.org> |
6 | # Author: Luca Longinotti <chtekk@gentoo.org> |
| 7 | # Author: Jakub Moc <jakub@gentoo.org> |
7 | # Author: Jakub Moc <jakub@gentoo.org> |
| 8 | |
8 | |
| … | |
… | |
| 97 | php-ext-pecl-r1_src_test() { |
97 | php-ext-pecl-r1_src_test() { |
| 98 | # Makefile passes a hard-coded -d extension_dir=./modules, we move the lib |
98 | # Makefile passes a hard-coded -d extension_dir=./modules, we move the lib |
| 99 | # away from there in src_compile |
99 | # away from there in src_compile |
| 100 | ln -s "${WORKDIR}/${PHP_EXT_NAME}-default.so" "${S}/modules/${PHP_EXT_NAME}.so" |
100 | ln -s "${WORKDIR}/${PHP_EXT_NAME}-default.so" "${S}/modules/${PHP_EXT_NAME}.so" |
| 101 | |
101 | |
| 102 | NO_INTERACTION="yes" emake test |
102 | NO_INTERACTION="yes" emake test || die "emake test failed" |
| 103 | } |
103 | } |