make batch file return non zero on test fail

This commit is contained in:
Joao Moreno 2016-03-03 11:17:48 +01:00
parent 3b378b1339
commit 3249f6960e

View file

@ -5,6 +5,9 @@ set ELECTRON_NO_ATTACH_CONSOLE=1
pushd %~dp0\..
.\.build\electron\electron.exe .\node_modules\mocha\bin\_mocha %*
set RESULT=%errorlevel%
popd
endlocal
endlocal
exit /b %RESULT%