Merge "Revert "Revert "Show a "(blocked)" hint on Special:ListUsers/ActiveUsers"""
[lhc/web/wiklou.git] / tests / phpunit / install-phpunit.sh
index c0ebd9e..2d2b53a 100755 (executable)
@@ -17,6 +17,8 @@ if ( has_binary phpunit ); then
 else if ( has_binary pear ); then
     echo Installing phpunit with pear
     pear channel-discover pear.phpunit.de
+    pear channel-discover components.ez.no
+    pear channel-discover pear.symfony-project.com
     pear install phpunit/PHPUnit
 else if ( has_binary apt-get ); then
     echo Installing phpunit with apt-get
@@ -24,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