run_mru_tests.cmd 466 B

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