diff options
author | Remi Collet <remi@remirepo.net> | 2023-02-02 16:44:24 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2023-02-02 16:44:24 +0100 |
commit | 4e1bd257910763249a4e09bd921c025df921b122 (patch) | |
tree | a2f75f77e486ad7af3c6243406b6c68346f2b821 | |
parent | d9f4284b13cec27ddc5f0774ac1c654bd81a9996 (diff) |
cleanup
-rw-r--r-- | php-pecl-igbinary.spec | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/php-pecl-igbinary.spec b/php-pecl-igbinary.spec index c451414..50d62ff 100644 --- a/php-pecl-igbinary.spec +++ b/php-pecl-igbinary.spec @@ -218,14 +218,14 @@ if [ -f %{php_extdir}/json.so ]; then MOD="$MOD -d extension=json.so" fi +%if %{with tests} %if "%{php_version}" > "8.0" OPTS="-q --show-diff %{?_smp_mflags}" %else OPTS="-q -P --show-diff" %endif -%if %{with tests} -: upstream test suite +: upstream NTS test suite cd NTS TEST_PHP_ARGS="-n $MOD -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so" \ REPORT_EXIT_STATUS=1 \ @@ -239,7 +239,7 @@ REPORT_EXIT_STATUS=1 \ --modules | grep '^%{pecl_name}$' %if %{with tests} -: upstream test suite +: upstream ZTS test suite cd ../ZTS TEST_PHP_ARGS="-n $MOD -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \ REPORT_EXIT_STATUS=1 \ |