summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2016-07-15 10:17:47 -0400
committerBrian Evans <grknight@gentoo.org>2016-07-15 10:17:47 -0400
commitfd8cf76b79eb634d105976a77c4bc58f965719a7 (patch)
tree4efbf342e3798b1d04ef56d64327fe4ad7ca353c /dev-php
parentdev-php/xhprof: Drop old (diff)
downloadgentoo-fd8cf76b79eb634d105976a77c4bc58f965719a7.tar.gz
gentoo-fd8cf76b79eb634d105976a77c4bc58f965719a7.tar.bz2
gentoo-fd8cf76b79eb634d105976a77c4bc58f965719a7.zip
dev-php/pecl-mysqlnd_ms: Drop php 5.5 support wrt bug 588732; Add tests
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/pecl-mysqlnd_ms/pecl-mysqlnd_ms-1.6.0_pre20141127.ebuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/dev-php/pecl-mysqlnd_ms/pecl-mysqlnd_ms-1.6.0_pre20141127.ebuild b/dev-php/pecl-mysqlnd_ms/pecl-mysqlnd_ms-1.6.0_pre20141127.ebuild
index 202269be1099..83d16317ac26 100644
--- a/dev-php/pecl-mysqlnd_ms/pecl-mysqlnd_ms-1.6.0_pre20141127.ebuild
+++ b/dev-php/pecl-mysqlnd_ms/pecl-mysqlnd_ms-1.6.0_pre20141127.ebuild
@@ -8,7 +8,7 @@ PHP_EXT_NAME="mysqlnd_ms"
PHP_EXT_INI="yes"
PHP_EXT_ZENDEXT="no"
-USE_PHP="php5-5 php5-6"
+USE_PHP="php5-6"
# This is an SVN snapshot stored locally
SRC_URI="https://dev.gentoo.org/~grknight/distfiles/${P}.tar.xz"
inherit php-ext-source-r3
@@ -24,11 +24,6 @@ IUSE=""
# Specifying targets due to USE flag transition
DEPEND="
dev-libs/libxml2
- php_targets_php5-5? ( || (
- dev-lang/php:5.5[-libmysqlclient,mysql,json]
- dev-lang/php:5.5[-libmysqlclient,mysqli,json]
- )
- )
php_targets_php5-6? ( || (
dev-lang/php:5.6[-libmysqlclient,mysql,json]
dev-lang/php:5.6[-libmysqlclient,mysqli,json]
@@ -36,3 +31,10 @@ DEPEND="
)
"
RDEPEND="${DEPEND}"
+
+src_test() {
+ for slot in $(php_get_slots); do
+ php_init_slot_env "${slot}"
+ NO_INTERACTION="yes" emake test
+ done
+}