[packages/php-pecl-zstd] Skip tests/008.phpt test
glen
glen at pld-linux.org
Tue Mar 17 10:46:12 CET 2020
commit 977add53be5939650ef390c53b5de4ba42791cad
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/2
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/977add53be5939650ef390c53b5de4ba42791cad
More information about the pld-cvs-commit
mailing list