summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-08-05 11:32:28 +0200
committerRemi Collet <fedora@famillecollet.com>2016-08-05 11:32:28 +0200
commitdf2f4a479d00a5fc0daf6dcd42fe6bc17a21143d (patch)
treeb0bf5e356bc2b5b30ad4d8bb3022163d5e60e4fe
parent48fa93eee3e6cd691e88c31aea9b95f3d28253ef (diff)
php-nette: cleanup test suite
-rw-r--r--php-nette-tokenizer.spec8
1 files changed, 3 insertions, 5 deletions
diff --git a/php-nette-tokenizer.spec b/php-nette-tokenizer.spec
index 1cf4a3a..4c66a0d 100644
--- a/php-nette-tokenizer.spec
+++ b/php-nette-tokenizer.spec
@@ -90,17 +90,15 @@ require_once '%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}/autoload.php';
EOF
: Run test suite in sources tree
-# remirepo:13
+# remirepo:11
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 php -c ./php.ini tests -s || ret=1
+ php56 %{_bindir}/nette-tester --colors 0 -p php56 -C tests -s || ret=1
run=1
fi
if which php71; then
- cat /etc/opt/remi/php71/php.ini /etc/opt/remi/php70/php.d/*ini >php.ini
- php71 %{_bindir}/nette-tester --colors 0 -p php -c ./php.ini tests -s || ret=1
+ php71 %{_bindir}/nette-tester --colors 0 -p php71 -C tests -s || ret=1
run=1
fi
if [ $run -eq 0 ]; then