File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -55,9 +55,10 @@ install:
55
55
56
56
test_script :
57
57
- cd c:\projects\symfony
58
+ - Setlocal EnableDelayedExpansion
58
59
- SET X=0
59
60
- 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!
61
62
- 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!
63
64
- exit %X%
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ if (isset($argv[1]) && 'symfony' === $argv[1]) {
162
162
163
163
// Fail on any individual component failures but ignore STATUS_STACK_BUFFER_OVERRUN (-1073740791) on Windows when APCu is enabled
164
164
if ($ procStatus && ('\\' !== DIRECTORY_SEPARATOR || !extension_loaded ('apcu ' ) || !ini_get ('apc.enable_cli ' ) || -1073740791 !== $ procStatus )) {
165
- $ exit = 1 ;
165
+ $ exit = $ procStatus ;
166
166
echo "\033[41mKO \033[0m $ component \n\n" ;
167
167
} else {
168
168
echo "\033[32mOK \033[0m $ component \n\n" ;
You can’t perform that action at this time.
0 commit comments