Page MenuHomePhabricator

PHPUnit with both HHVM and PHP5

Authored By
Sebastian_Berlin-WMSE
Oct 24 2016, 8:08 AM
Size
459 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 $* || return 1
}
function runPhp5 {
echo "******"
echo "*PHP5*"
echo "******"
php5 /vagrant/mediawiki/tests/phpunit/phpunit.php $* || 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
4088121
Default Alt Text
PHPUnit with both HHVM and PHP5 (459 B)

Event Timeline