Add first-pass testing framework based on vim's runtest.vim

This commit is contained in:
Ben Jackson 2019-02-17 19:36:21 +00:00
commit 2cfd5afacb
14 changed files with 1043 additions and 184 deletions

8
run_test_vim Executable file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
RUN_VIM="vim --noplugin --clean --not-a-term -Nu vimrc"
RUN_TEST="${RUN_VIM} -S run_test.vim"
pushd tests > /dev/null
exec $RUN_VIM "$@"