Merge "Replaced some !count() with explicit and more efficient check"
[lhc/web/wiklou.git] / tests / phpunit / install-phpunit.sh
index 5da28d0..2d2b53a 100755 (executable)
@@ -26,6 +26,10 @@ else if ( has_binary apt-get ); then
 else if ( has_binary yum ); then
     echo Installing phpunit with yum
     yum install phpunit
+else if ( has_binary port ); then
+    echo Installing phpunit with macports
+    port install php5-unit
+fi
 fi
 fi
 fi