diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-08-05 11:32:28 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-08-05 11:32:28 +0200 |
commit | 198c83ceb7b2712dc44ca82ca6d572f54bcf7613 (patch) | |
tree | a23666d49e747d4f80319819b33e4ca0eb65c727 | |
parent | 4600527dc8b698b887aad7f0e82624a10985e1c3 (diff) |
php-nette: cleanup test suite
-rw-r--r-- | php-latte-dev.spec | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/php-latte-dev.spec b/php-latte-dev.spec index 52346e9..803dcc1 100644 --- a/php-latte-dev.spec +++ b/php-latte-dev.spec @@ -115,8 +115,6 @@ cp -pr src/* %{buildroot}%{php_home}/ %check %if %{with_tests} -: Generate configuration -cat /etc/php.ini /etc/php.d/*ini >php.ini export LANG=fr_FR.utf8 : Generate autoloader @@ -128,22 +126,20 @@ require_once '%{buildroot}%{php_home}/%{ns_vendor}/autoload.php'; EOF : Run test suite in sources tree -# remirepo:14 +# remirepo:12 ret=0 run=0 if which php56; then - cat /opt/remi/php56/root/etc/php.ini /opt/remi/php56/root/etc/php.d/*ini >php.ini - php56 %{_bindir}/nette-tester --colors 0 -p php56 -c ./php.ini tests -s || ret=1 + php56 %{_bindir}/nette-tester --colors 0 -p php56 -C -s || ret=1 run=1 fi if which php71; then rm tests/Latte/Filters.general.phpt - cat /etc/opt/remi/php71/php.ini /etc/opt/remi/php71/php.d/*ini >php.ini - php71 %{_bindir}/nette-tester --colors 0 -p php71 -c ./php.ini tests -s || ret=1 + php71 %{_bindir}/nette-tester --colors 0 -p php71 -C -s || ret=1 run=1 fi if [ $run -eq 0 ]; then -%{_bindir}/nette-tester --colors 0 -p php -c ./php.ini tests -s +%{_bindir}/nette-tester --colors 0 -p php -C tests -s # remirepo:2 fi exit $ret |