Use compiled Vim binaries for Vim tests

Part 1: use latest single-python Vim builds
This commit is contained in:
ZyX 2014-12-09 19:20:46 +03:00
parent 104cea9a5c
commit 5d6caaeecd
1 changed files with 5 additions and 3 deletions

View File

@ -1,8 +1,10 @@
#!/bin/sh
. tests/bot-ci/scripts/common/main.sh
VIM=$PWD/tests/bot-ci/deps/vim/tip-$PYTHON_VERSION/vim
FAILED=0
for script in tests/*.vim ; do
if ! vim -u NONE -S $script || test -f message.fail ; then
echo "Failed script $script" >&2
for script in tests/test_*.vim ; do
if ! $VIM -u NONE -S $script || test -f message.fail ; then
echo "Failed script $script run with $VIM" >&2
cat message.fail >&2
rm message.fail
FAILED=1