[PhpUnit] exit gracefully to workaround segfaults at shutdown time
This commit is contained in:
parent
e0e38ba8e3
commit
1a93494f7d
|
@ -52,7 +52,8 @@ class SymfonyTestsListener extends \PHPUnit_Framework_BaseTestListener
|
|||
$this->state = 2;
|
||||
|
||||
if (!$this->wasSkipped = require $this->skippedFile) {
|
||||
exit("All tests already ran successfully.\n");
|
||||
echo "All tests already ran successfully.\n";
|
||||
$suite->setTests(array());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue