Disable xdebug in the test runner, because it has a habit of causing bus errors

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@71755 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2009-02-12 03:30:25 +00:00
parent 931182d0b2
commit 3ed9538ed4

View File

@ -133,6 +133,9 @@ class TestRunner extends Controller {
}
function runTests($classList, $coverage = false) {
// XDEBUG seem to cause problems with test execution :-(
if(function_exists('xdebug_disable')) xdebug_disable();
ini_set('max_execution_time', 0);
$this->setUp();