[PhpUnit] exit gracefully to workaround segfaults at shutdown time

This commit is contained in:
Nicolas Grekas 2015-10-13 17:54:10 +02:00
parent e0e38ba8e3
commit 1a93494f7d
1 changed files with 2 additions and 1 deletions

View File

@ -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());
}
}
}