From: Thomas Deutschmann Date: Fri, 29 Nov 2019 13:23:37 +0000 (+0100) Subject: dev-php/pecl-ps: fix tests X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=18fe7bff51c86a2ae1930ef166b2994005242270;p=gentoo.git dev-php/pecl-ps: fix tests Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Thomas Deutschmann --- diff --git a/dev-php/pecl-ps/pecl-ps-1.4.1.ebuild b/dev-php/pecl-ps/pecl-ps-1.4.1.ebuild index 816c3d9eec8a..fd04378b47c9 100644 --- a/dev-php/pecl-ps/pecl-ps-1.4.1.ebuild +++ b/dev-php/pecl-ps/pecl-ps-1.4.1.ebuild @@ -40,3 +40,10 @@ src_install() { php-ext-pecl-r3_src_install fi } + +src_test() { + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then + # tests/004.phpt depends on set numeric format + LC_ALL=C php-ext-pecl-r3_src_test + fi +}