Created
March 9, 2011 18:50
-
-
Save jeffgca/862720 to your computer and use it in GitHub Desktop.
Shell script to run via ant to actually run the PHPUnit tests run and avoid segfaults caused by code coverage issues with gc and xdebug.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # this mitigates this issue with Xdebug, PHPUnit, code coverage and Rediska: | |
| # http://bugs.xdebug.org/view.php?id=670 | |
| export USE_ZEND_ALLOC=0 | |
| /usr/bin/phpunit --configuration tests/phpunit.xml --log-junit build/logs/junit.xml --coverage-clover build/logs/clover.xml tests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment