diff options
-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 |