SymphonyElectron/auto_update/run_loop.bat

17 lines
450 B
Batchfile
Raw Normal View History

@echo off
echo runs the tests in an infinite loop
echo intended to be run manually and left running for a long time,
echo as a final sanity check to make sure the tests are stable
echo will exit if any tests fail
set started=%date% %time%
2021-05-19 03:43:50 -05:00
:loop
echo INITIATED AT %started%
echo CURRENTLY AT %date% %time%
2021-05-19 03:43:50 -05:00
call npm run test
if %ERRORLEVEL% NEQ 0 (
echo.
echo INITIATED AT %started%
echo TERMINATED AT %date% %time%
goto :eof
)
2021-05-19 03:43:50 -05:00
goto :loop