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
commit682cb9b8a4cef2dc7436810b76c98e66e44b0db5 (patch)
tree31fc2f4d89470495eea365dc4d179533347aff74
parentd3e840d0635d1a2532a2f7c773d5f65618de7567 (diff)
php-nette: cleanup test suite
-rw-r--r--php-nette-safe-stream.spec8
1 files changed, 3 insertions, 5 deletions
diff --git a/php-nette-safe-stream.spec b/php-nette-safe-stream.spec
index bc4dc18..d253131 100644
--- a/php-nette-safe-stream.spec
+++ b/php-nette-safe-stream.spec
@@ -96,17 +96,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 php56 -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/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 tests -s || ret=1
run=1
fi
if [ $run -eq 0 ]; then