[packages/php-pecl-zstd] Skip tests/008.phpt test
glen
glen at pld-linux.org
Tue Mar 17 10:51:17 CET 2020
commit eaab609cca7b3c81f4decb95d8fb6e55a26add2e
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Mon Mar 16 22:54:33 2020 +0200
Skip tests/008.phpt test
031- Warning: zstd_compress: compression level (-1) must be within 1..22 in %s on line %d
032- -1 -- 0 -- false
033- 0 -- 3547 -- false
https://github.com/kjdev/php-ext-zstd/issues/29
php-pecl-zstd.spec | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
---
diff --git a/php-pecl-zstd.spec b/php-pecl-zstd.spec
index d1dc53a..b34d8dc 100644
--- a/php-pecl-zstd.spec
+++ b/php-pecl-zstd.spec
@@ -44,6 +44,23 @@ exec %{__make} test \
EOF
chmod +x run-tests.sh
+xfail() {
+ local t=$1
+ test -f $t
+ cat >> $t <<-EOF
+
+ --XFAIL--
+ Skip
+ EOF
+}
+
+while read line; do
+ t=${line##*\[}; t=${t%\]}
+ xfail $t
+done << 'EOF'
+zstd_compress(): compress level [tests/008.phpt]
+EOF
+
%build
phpize
%configure \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-zstd.git/commitdiff/eaab609cca7b3c81f4decb95d8fb6e55a26add2e
More information about the pld-cvs-commit
mailing list