Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
only test juggler-restore-mappings in vim >= 7.3.32
  • Loading branch information
sjbach committed Oct 2, 2011
1 parent 3081a60 commit be5d3e1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
5 changes: 5 additions & 0 deletions tests/juggler-restore-mappings/precondition.vim
@@ -0,0 +1,5 @@
if v:version > 703 || (v:version == 703 && has("patch32"))
quit
else
cquit
endif
9 changes: 6 additions & 3 deletions tests/run-tests.bash
Expand Up @@ -39,9 +39,12 @@ fi


for dir in $test_dirs; do for dir in $test_dirs; do
cd $dir cd $dir
if ! expect -f expect; then if ! [ -f precondition.vim ] || \
echo "fail: $dir" $VIM -X -N --noplugin -u precondition.vim >/dev/null 2>&1 ; then
failures="$failures $dir" if ! expect -f expect; then
echo "fail: $dir"
failures="$failures $dir"
fi
fi fi
cd .. cd ..
done >/dev/null done >/dev/null
Expand Down

0 comments on commit be5d3e1

Please sign in to comment.