I am trying to run PHPUnit unit tests via HHVM on a virtual Ubuntu 12.04 (64-bit Server) install. The tests usually run using a phpunit.xml file located in my tests directory, w
A simple workaround is to configure HHVM to include the PEAR libraries in it's search paths.
I added this to my config.hdf's Server section:
IncludeSearchPaths { forphpunit = /usr/lib/php/ }
and then ran phpunit as:
hhvm -c ~/config.hdf /usr/bin/phpunit --bootstrap bootstrap.php MyTests.php