1 |
commit: 18fe7bff51c86a2ae1930ef166b2994005242270 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 29 13:23:37 2019 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 29 13:23:37 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18fe7bff |
7 |
|
8 |
dev-php/pecl-ps: fix tests |
9 |
|
10 |
Package-Manager: Portage-2.3.80, Repoman-2.3.19 |
11 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
12 |
|
13 |
dev-php/pecl-ps/pecl-ps-1.4.1.ebuild | 7 +++++++ |
14 |
1 file changed, 7 insertions(+) |
15 |
|
16 |
diff --git a/dev-php/pecl-ps/pecl-ps-1.4.1.ebuild b/dev-php/pecl-ps/pecl-ps-1.4.1.ebuild |
17 |
index 816c3d9eec8..fd04378b47c 100644 |
18 |
--- a/dev-php/pecl-ps/pecl-ps-1.4.1.ebuild |
19 |
+++ b/dev-php/pecl-ps/pecl-ps-1.4.1.ebuild |
20 |
@@ -40,3 +40,10 @@ src_install() { |
21 |
php-ext-pecl-r3_src_install |
22 |
fi |
23 |
} |
24 |
+ |
25 |
+src_test() { |
26 |
+ if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then |
27 |
+ # tests/004.phpt depends on set numeric format |
28 |
+ LC_ALL=C php-ext-pecl-r3_src_test |
29 |
+ fi |
30 |
+} |