run_mru_tests.cmd 411 B

12345678910111213141516
  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. SET VIM_CMD=%VIM% -N -u NONE -U NONE -i NONE
  6. %VIM_CMD% -S unit_tests.vim
  7. echo MRU unit test results
  8. type results.txt
  9. findstr /I FAIL results.txt > nul 2>&1
  10. if %ERRORLEVEL% EQU 0 echo ERROR: Some test failed.
  11. if %ERRORLEVEL% NEQ 0 echo SUCCESS: All the tests passed.