Also support macports
authorChad Horohoe <demon@users.mediawiki.org>
Sat, 4 Jun 2011 21:32:51 +0000 (21:32 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Sat, 4 Jun 2011 21:32:51 +0000 (21:32 +0000)
tests/phpunit/install-phpunit.sh

index 5da28d0..b7bac77 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 pear ); then
+    echo Installing phpunit with macports
+    port install php5-unit
+fi
 fi
 fi
 fi