2016-11-22 03:36:31 -05:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
VIM="/Applications/MacVim.app/Contents/MacOS/Vim -v"
|
|
|
|
|
2018-03-31 10:56:26 -04:00
|
|
|
export VIM_GITGUTTER_TEST=1
|
|
|
|
|
2016-11-22 03:36:31 -05:00
|
|
|
$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 \
|
2019-08-22 11:36:17 -04:00
|
|
|
"$@"
|
2016-11-22 03:36:31 -05:00
|
|
|
|
|
|
|
cat messages.log
|
|
|
|
|
|
|
|
grep -q "0 errors, 0 failures" messages.log
|
|
|
|
status=$?
|
|
|
|
rm messages.log
|
|
|
|
exit $status
|
|
|
|
|