run_mru_tests.cmd 513 B

123456789101112131415161718
  1. @echo off
  2. REM Script to run the unit-tests for the MRU Vim plugin on MS-Windows
  3. SETLOCAL
  4. SET VIMPRG="vim.exe"
  5. REM SET VIMPRG="C:\Program Files (x86)\vim\vim82\vim.exe"
  6. REM SET VIMPRG="C:\Program Files (x86)\vim\vim73\vim.exe"
  7. SET VIM_CMD=%VIMPRG% -N -u NONE -U NONE -i NONE --not-a-term
  8. %VIM_CMD% -S unit_tests.vim
  9. echo MRU unit test results
  10. type results.txt
  11. findstr /I FAIL results.txt > nul 2>&1
  12. if %ERRORLEVEL% EQU 0 echo ERROR: Some test failed.
  13. if %ERRORLEVEL% NEQ 0 echo SUCCESS: All the tests passed.