summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-07-27 19:27:25 +0200
committerRemi Collet <fedora@famillecollet.com>2016-07-27 19:27:25 +0200
commit9d23502eea7c1df97fdb83a275a037d577618859 (patch)
treee900c6b11ed11ed7b359ed194c40efb90288d0c5
parent920db40e580d7e8f5fce5bcbab716f07e118be2f (diff)
php-mongodb: cleanup
-rw-r--r--php-mongodb.spec16
1 files changed, 13 insertions, 3 deletions
diff --git a/php-mongodb.spec b/php-mongodb.spec
index 53db0b7..fa999e7 100644
--- a/php-mongodb.spec
+++ b/php-mongodb.spec
@@ -123,10 +123,20 @@ $Loader->register();
EOF
: Run the test suite
+RET=0
+# remirepo:10
+run=0
+if which php56; then
+ php56 %{_bindir}/phpunit --verbose || RET=1
+ run=1
+fi
+if which php71; then
+ php71 %{_bindir}/phpunit --verbose || RET=1
+ run=1
+fi
+if [ $run -eq 0 ]; then
%{_bindir}/phpunit --verbose || RET=1
-
-if which php70; then
- php70 %{_bindir}/phpunit --verbose || RET=1
+# remirepo:1
fi
: Cleanup