show diff from failed tests

This commit is contained in:
Remi Collet 2020-05-15 14:39:15 +02:00
parent 44c8c2cfe8
commit ff86d9eee1

View File

@ -131,7 +131,7 @@ TEST_PHP_ARGS="-n -d extension_dir=$PWD/modules -d extension=%{pecl_name}.so" \
REPORT_EXIT_STATUS=1 \ REPORT_EXIT_STATUS=1 \
NO_INTERACTION=1 \ NO_INTERACTION=1 \
TEST_PHP_EXECUTABLE=%{_bindir}/php \ TEST_PHP_EXECUTABLE=%{_bindir}/php \
%{_bindir}/php -n run-tests.php %{_bindir}/php -n run-tests.php --show-diff
%if %{with_zts} %if %{with_zts}
cd ../ZTS cd ../ZTS
@ -145,7 +145,7 @@ TEST_PHP_ARGS="-n -d extension_dir=$PWD/modules -d extension=%{pecl_name}.so" \
REPORT_EXIT_STATUS=1 \ REPORT_EXIT_STATUS=1 \
NO_INTERACTION=1 \ NO_INTERACTION=1 \
TEST_PHP_EXECUTABLE=%{_bindir}/zts-php \ TEST_PHP_EXECUTABLE=%{_bindir}/zts-php \
%{_bindir}/zts-php -n run-tests.php %{_bindir}/zts-php -n run-tests.php --show-diff
%endif %endif