8000 [appveyor] Workaround transient segfault when APCu is enabled · symfony/symfony@4b6b067 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4b6b067

Browse files
[appveyor] Workaround transient segfault when APCu is enabled
1 parent 5f93188 commit 4b6b067

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

phpunit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ if (isset($argv[1]) && 'symfony' === $argv[1]) {
164164
unlink($file);
165165
}
166166

167-
if ($procStatus) {
168-
$exit = 1;
167+
// Fail on any individual component failures but ignore STATUS_STACK_BUFFER_OVERRUN (-1073740791) on Windows when APCu is enabled
168+
if ($procStatus && ('\\' !== DIRECTORY_SEPARATOR || !extension_loaded('apcu') || !ini_get('apc.enable_cli') || -1073740791 !== $procStatus)) {
169169
echo "\033[41mKO\033[0m $component\n\n";
170170
} else {
171171
echo "\033[32mOK\033[0m $component\n\n";

0 commit comments

Comments
 (0)
0