Drupal Association members fund grants that make connections all over the world.
phpunit command fails on MAMP.
According to comment #1, there is a workaround in place:
Comment out the following lines in /Applications/MAMP/Library/bin/envvars
DYLD_LIBRARY_PATH="/Applications/MAMP/Library/lib:$DYLD_LIBRARY_PATH" export DYLD_LIBRARY_PATH
Determine if fix is necessary.
Original report by msonnabaum
The error is this:
Warning: file_get_contents(~/sites/default/files/simpletest/phpunit-2.xml) [function.file-get-contents]: failed to open stream: No such file or directory in simpletest_phpunit_xml_to_rows() (line 733 of core/modules/simpletest/simpletest.module). Exception: String could not be parsed as XML in SimpleXMLElement->__construct() (line 734 of ~/core/modules/simpletest/simpletest.module).
The issue is just that the phpunit command is failing.
I spent some time debugging it, and it looks like a MAMP bug, described in this issue: http://stackoverflow.com/questions/7163497/resolved-mamp-php-cant-exec-c...
If I change the exec line to this, it passes for me with MAMP:
$ret = exec('export DYLD_LIBRARY_PATH="/usr/lib";' . join($command, " "));
I guess we could put a conditional in for MAMP and do that, but it doesn't feel great to me.