Skip to content

Commit

Permalink
[PhpUnit] exit gracefully to workaround segfaults at shutdown time
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Oct 13, 2015
1 parent e0e38ba commit 1a93494
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Symfony/Bridge/PhpUnit/SymfonyTestsListener.php
Expand Up @@ -52,7 +52,8 @@ public function startTestSuite(\PHPUnit_Framework_TestSuite $suite)
$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());
}
}
}
Expand Down

0 comments on commit 1a93494

Please sign in to comment.