mirror of
https://github.com/Microsoft/vscode
synced 2024-09-18 01:58:27 +00:00
make batch file return non zero on test fail
This commit is contained in:
parent
3b378b1339
commit
3249f6960e
|
@ -5,6 +5,9 @@ set ELECTRON_NO_ATTACH_CONSOLE=1
|
||||||
|
|
||||||
pushd %~dp0\..
|
pushd %~dp0\..
|
||||||
.\.build\electron\electron.exe .\node_modules\mocha\bin\_mocha %*
|
.\.build\electron\electron.exe .\node_modules\mocha\bin\_mocha %*
|
||||||
|
set RESULT=%errorlevel%
|
||||||
popd
|
popd
|
||||||
|
|
||||||
endlocal
|
endlocal
|
||||||
|
|
||||||
|
exit /b %RESULT%
|
Loading…
Reference in a new issue