Page MenuHomePhabricator

PHPUnit with both HHVM and PHP5

Authored By
Lokal_Profil
Oct 25 2016, 10:34 AM
Size
483 B
Referenced Files
None
Subscribers
None

PHPUnit with both HHVM and PHP5

#! /usr/bin/env bash
function runHhvm {
echo "******"
echo "*HHVM*"
echo "******"
/vagrant/mediawiki/tests/phpunit/phpunit.php --wiki wiki $* || return 1
}
function runPhp5 {
echo "******"
echo "*PHP5*"
echo "******"
php5 /vagrant/mediawiki/tests/phpunit/phpunit.php --wiki wiki $* || return 1
}
while getopts "h" optname
do
case "$optname" in
"h")
shouldPhp5Run=false
;;
esac
done
runHhvm $* && runPhp5 $*

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4094320
Default Alt Text
PHPUnit with both HHVM and PHP5 (483 B)

Event Timeline