Skip to content

Commit 1a93494

Browse files
[PhpUnit] exit gracefully to workaround segfaults at shutdown time
1 parent e0e38ba commit 1a93494

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Symfony/Bridge/PhpUnit/SymfonyTestsListener.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ public function startTestSuite(\PHPUnit_Framework_TestSuite $suite)
5252
$this->state = 2;
5353

5454
if (!$this->wasSkipped = require $this->skippedFile) {
55-
exit("All tests already ran successfully.\n");
55+
echo "All tests already ran successfully.\n";
56+
$suite->setTests(array());
5657
}
5758
}
5859
}

0 commit comments

Comments
 (0)