[packages/php-pecl-zstd] Add tests_online bcond
glen
glen at pld-linux.org
Thu Mar 19 17:26:38 CET 2020
commit 043b5a62728c52a56bd003b9469cea146fa63636
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Thu Mar 19 18:25:14 2020 +0200
Add tests_online bcond
php-pecl-zstd.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/php-pecl-zstd.spec b/php-pecl-zstd.spec
index 7aff384..25ad0f4 100644
--- a/php-pecl-zstd.spec
+++ b/php-pecl-zstd.spec
@@ -1,6 +1,7 @@
#
# Conditional build:
%bcond_without tests # build without tests
+%bcond_without tests_online # build without online tests
%define php_name php%{?php_suffix}
%define modname zstd
@@ -75,6 +76,7 @@ phpize
grep %{modname} modules.log
%if %{with tests}
+%{!?tests_online:SKIP_ONLINE_TESTS=1} \
./run-tests.sh --show-diff
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-zstd.git/commitdiff/720a7792ab7e037354db5a53f2b11903c224436c
More information about the pld-cvs-commit
mailing list