From 01456b337dc78718cc323073d23daba414b6362e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 13 Jun 2019 14:57:25 +0200 Subject: run tests in parallel --- php-pecl-xdebug.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/php-pecl-xdebug.spec b/php-pecl-xdebug.spec index 58585dd..537b4e3 100644 --- a/php-pecl-xdebug.spec +++ b/php-pecl-xdebug.spec @@ -256,13 +256,17 @@ done %if %{with_tests} cd NTS : Upstream test suite NTS extension +%if "%{php_version}" > "7.4" +TEST_OPTS="-q --show-diff %{?_smp_mflags}" +%else +TEST_OPTS="-q --show-diff" +%endif # bug00886 is marked as slow as it uses a lot of disk space SKIP_SLOW_TESTS=1 \ TEST_PHP_EXECUTABLE=%{_bindir}/php \ TEST_PHP_ARGS="-n $modules -d zend_extension=%{buildroot}%{php_extdir}/%{pecl_name}.so -d xdebug.auto_trace=0" \ -NO_INTERACTION=1 \ REPORT_EXIT_STATUS=1 \ -%{__php} -n run-tests.php --show-diff +%{__php} -n run-tests.php $TEST_OPTS %else : Test suite disabled %endif -- cgit