1
0
Fork 0
mirror of synced 2024-11-17 22:45:34 -05:00
ultimate-vim/sources_non_forked/mru.vim/test/run_mru_tests.cmd

19 lines
513 B
Batchfile
Raw Normal View History

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