8000 Merge branch '2.3' into 2.7 · SCIF/symfony@90dd3fb · GitHub
[go: up one dir, main page]

Skip to content

Commit 90dd3fb

Browse files
Merge branch '2.3' into 2.7
* 2.3: [appveyor] Exit with failing status code
2 parents e625f1b + 2f08b28 commit 90dd3fb

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

appveyor.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,10 @@ install:
5555

5656
test_script:
5757
- cd c:\projects\symfony
58+
- Setlocal EnableDelayedExpansion
5859
- SET X=0
5960
- copy /Y c:\php\php.ini-min c:\php\php.ini
60-
- php phpunit symfony --exclude-group benchmark,intl-data || SET X=1
61+
- php phpunit symfony --exclude-group benchmark,intl-data || SET X=!errorlevel!
6162
- copy /Y c:\php\php.ini-max c:\php\php.ini
62-
- php phpunit symfony --exclude-group benchmark,intl-data || SET X=1
63+
- php phpunit symfony --exclude-group benchmark,intl-data || SET X=!errorlevel!
6364
- exit %X%

phpunit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ if (isset($argv[1]) && 'symfony' === $argv[1]) {
162162

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

0 commit comments

Comments
 (0)
0