]> git.pld-linux.org Git - packages/php-pecl-zstd.git/commitdiff
Add tests_online bcond
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 19 Mar 2020 16:25:14 +0000 (18:25 +0200)
committerElan Ruusamäe <glen@pld-linux.org>
Thu, 19 Mar 2020 16:25:14 +0000 (18:25 +0200)
php-pecl-zstd.spec

index 7aff384eb6717f8c73fb35b6e2ae79731bb13421..25ad0f4c6cae99f0c62f8972cd84715ad1acf070 100644 (file)
@@ -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
 
This page took 0.10578 seconds and 4 git commands to generate.