diff options
author | Remi Collet <remi@remirepo.net> | 2021-02-04 15:48:21 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-02-04 15:48:21 +0100 |
commit | 950fbc2fb433a523449c7177347c9f04bb56cf38 (patch) | |
tree | 5d2c79f3be3b4c3429a7347c3e8e370557400d8f | |
parent | 6cd9fe675abf5dea39361048fd8b38b930d438fd (diff) |
only ignore ZTS test with PHP 8
-rw-r--r-- | php-pecl-scoutapm.spec | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/php-pecl-scoutapm.spec b/php-pecl-scoutapm.spec index 5b44f72..3893dd7 100644 --- a/php-pecl-scoutapm.spec +++ b/php-pecl-scoutapm.spec @@ -187,7 +187,11 @@ TEST_PHP_EXECUTABLE=%{__php} \ : Upstream test suite for ZTS extension cd ../ZTS TEST_PHP_ARGS="-n -d extension=curl.so -d extension=pdo.so -d extension=pdo_sqlite.so -d zend_extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \ +%if "%{php_version}" > "8.0" REPORT_EXIT_STATUS=0 \ +%else +REPORT_EXIT_STATUS=1 \ +%endif NO_INTERACTION=1 \ TEST_PHP_EXECUTABLE=%{__ztsphp} \ %{__ztsphp} -n run-tests.php --show-diff |