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 | e20831c84954e98a2c66a36d3a8c249d4a240a6d (patch) | |
tree | a9a2c4e083374bebfc3a767d15007171aab41173 /php-nette-forms-dev.spec | |
parent | 1fd4f864eed512d76ab978a5b91e7a2bed53cc75 (diff) |
php-nette: cleanup test suite
Diffstat (limited to 'php-nette-forms-dev.spec')
-rw-r--r-- | php-nette-forms-dev.spec | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/php-nette-forms-dev.spec b/php-nette-forms-dev.spec index 8078a6e..55544e5 100644 --- a/php-nette-forms-dev.spec +++ b/php-nette-forms-dev.spec @@ -109,9 +109,6 @@ rm -rf %{buildroot}%{php_home}/%{ns_vendor}/assets %check %if %{with_tests} -: Generate configuration -cat /etc/php.ini /etc/php.d/*ini >php.ini -echo 'session.save_path = "/tmp"' >>php.ini export LANG=fr_FR.utf8 : Generate autoloader @@ -126,23 +123,19 @@ require_once '%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}/autoload.php'; EOF : Run test suite in sources tree -# remirepo:15 +# remirepo:11 run=0 ret=0 if which php56; then - cat /opt/remi/php56/root/etc/php.ini /opt/remi/php56/root/etc/php.d/*ini >php.ini - echo 'session.save_path = "/tmp"' >>php.ini - php56 %{_bindir}/nette-tester --colors 0 -p php56 -c ./php.ini tests -s + php56 %{_bindir}/nette-tester --colors 0 -p php56 -C tests -s run=1 fi if which php70; then - cat /etc/opt/remi/php70/php.ini /etc/opt/remi/php70/php.d/*ini >php.ini - echo 'session.save_path = "/tmp"' >>php.ini - php70 %{_bindir}/nette-tester --colors 0 -p php70 -c ./php.ini tests -s + php70 %{_bindir}/nette-tester --colors 0 -p php70 -C tests -s 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 |