mirror of
https://github.com/amix/vimrc
synced 2024-12-25 19:33:08 +00:00
21 lines
496 B
Bash
21 lines
496 B
Bash
#!/usr/bin/env bash
|
|
|
|
VIM="/Applications/MacVim.app/Contents/MacOS/Vim -v"
|
|
|
|
export VIM_GITGUTTER_TEST=1
|
|
|
|
$VIM -u NONE -U NONE -N \
|
|
--cmd 'set rtp+=../' \
|
|
--cmd 'let g:gitgutter_async=0' \
|
|
--cmd 'source ../plugin/gitgutter.vim' \
|
|
-S runner.vim \
|
|
test_*.vim \
|
|
"$@"
|
|
|
|
cat messages.log
|
|
|
|
grep -q "0 errors, 0 failures" messages.log
|
|
status=$?
|
|
rm messages.log
|
|
exit $status
|
|
|