File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,8 @@ build_script:
115
115
echo "call phpize 2>&1" | Out-File -Encoding "ASCII" -Append task.bat
116
116
echo "call configure --enable-ast --enable-debug-pack 2>&1" | Out-File -Encoding "ASCII" -Append task.bat
117
117
echo "nmake /nologo 2>&1" | Out-File -Encoding "ASCII" -Append task.bat
118
- $here = (Get-Item -Path ".\" -Verbose).FullName
118
+ echo "exit %errorlevel%" | Out-File -Encoding "ASCII" -Append task.bat
119
+ $here = (Get-Item -Path "." -Verbose).FullName
119
120
$runner = 'c:\build-cache\php-sdk-' + $env:BIN_SDK_VER + '\phpsdk' + '-' + $env:VC + '-' + $env:ARCH + '.bat'
120
121
$task = $here + '\task.bat'
121
122
& $runner -t $task
@@ -149,10 +150,12 @@ test_script:
149
150
}
150
151
cd c:\projects\ast
151
152
echo "" | Out-File -Encoding "ASCII" task.bat
153
+ echo "set REPORT_EXIT_STATUS=1" | Out-File -Encoding "ASCII" -Append task.bat
152
154
$cmd = 'call configure --enable-ast --with-prefix=c:\build-cache\' + $dname + " 2>&1"
153
155
echo $cmd | Out-File -Encoding "ASCII" -Append task.bat
154
156
echo "nmake /nologo test TESTS=-q 2>&1" | Out-File -Encoding "ASCII" -Append task.bat
155
- $here = (Get-Item -Path ".\" -Verbose).FullName
157
+ echo "exit %errorlevel%" | Out-File -Encoding "ASCII" -Append task.bat
158
+ $here = (Get-Item -Path "." -Verbose).FullName
156
159
$runner = 'c:\build-cache\php-sdk-' + $env:BIN_SDK_VER + '\phpsdk' + '-' + $env:VC + '-' + $env:ARCH + '.bat'
157
160
$task = $here + '\task.bat'
158
161
& $runner -t $task
You can’t perform that action at this time.
0 commit comments