summaryrefslogtreecommitdiff
path: root/run-tests
diff options
context:
space:
mode:
authorHoracio Sanson <hsanson@gmail.com>2022-11-25 21:55:31 +0900
committerGitHub <noreply@github.com>2022-11-25 12:55:31 +0000
commitcbf7045eee17f825e7ac4d4bf07efe0a3349810b (patch)
tree0d7fb36010ef4972ab4c5cd77aefb1c9dc27e161 /run-tests
parent2cfbebdd597f3a9e0d42d9632229c1bbb9e80ba0 (diff)
downloadale-cbf7045eee17f825e7ac4d4bf07efe0a3349810b.zip
Fix 4324 - add neovim 0.8 test (#4325)
* Fix 4324 - add neovim 0.8 test * Update vim testbed image * Update documentation Co-authored-by: w0rp <w0rp@users.noreply.github.com>
Diffstat (limited to 'run-tests')
-rwxr-xr-xrun-tests25
1 files changed, 13 insertions, 12 deletions
diff --git a/run-tests b/run-tests
index a3c9b616..41460fc5 100755
--- a/run-tests
+++ b/run-tests
@@ -20,12 +20,12 @@ git_version=$(git describe --always --tags)
DOCKER_RUN_IMAGE="$image:$image_tag"
export DOCKER_RUN_IMAGE
-tests='test/*.vader test/*/*.vader test/*/*/*.vader test/*/*/*.vader'
+tests='test/*.vader test/*/*.vader test/*/*/*.vader'
# These flags are forwarded to the script for running Vader tests.
verbose_flag=''
quiet_flag=''
run_neovim_02_tests=1
-run_neovim_07_tests=1
+run_neovim_08_tests=1
run_vim_80_tests=1
run_vim_90_tests=1
run_linters=1
@@ -44,7 +44,7 @@ while [ $# -ne 0 ]; do
run_vim_80_tests=0
run_vim_90_tests=0
run_neovim_02_tests=0
- run_neovim_07_tests=0
+ run_neovim_08_tests=0
run_linters=0
shift
;;
@@ -55,13 +55,13 @@ while [ $# -ne 0 ]; do
shift
;;
--neovim-02-only)
- run_neovim_07_tests=0
+ run_neovim_08_tests=0
run_vim_80_tests=0
run_vim_90_tests=0
run_linters=0
shift
;;
- --neovim-07-only)
+ --neovim-08-only)
run_neovim_02_tests=0
run_vim_80_tests=0
run_vim_90_tests=0
@@ -70,19 +70,20 @@ while [ $# -ne 0 ]; do
;;
--vim-only)
run_neovim_02_tests=0
- run_neovim_07_tests=0
+ run_neovim_08_tests=0
run_linters=0
shift
;;
--vim-80-only)
run_neovim_02_tests=0
- run_neovim_07_tests=0
+ run_neovim_08_tests=0
+ run_vim_90_tests=0
run_linters=0
shift
;;
--vim-90-only)
run_neovim_02_tests=0
- run_neovim_07_tests=0
+ run_neovim_08_tests=0
run_vim_80_tests=0
run_linters=0
shift
@@ -91,14 +92,14 @@ while [ $# -ne 0 ]; do
run_vim_80_tests=0
run_vim_90_tests=0
run_neovim_02_tests=0
- run_neovim_07_tests=0
+ run_neovim_08_tests=0
shift
;;
--fast)
run_vim_80_tests=0
run_vim_90_tests=0
run_neovim_02_tests=0
- run_neovim_07_tests=1
+ run_neovim_08_tests=1
shift
;;
--help)
@@ -113,7 +114,7 @@ while [ $# -ne 0 ]; do
echo ' --build-image Run docker image build only.'
echo ' --neovim-only Run tests only for NeoVim'
echo ' --neovim-02-only Run tests only for NeoVim 0.2'
- echo ' --neovim-07-only Run tests only for NeoVim 0.7'
+ echo ' --neovim-08-only Run tests only for NeoVim 0.8'
echo ' --vim-only Run tests only for Vim'
echo ' --vim-80-only Run tests only for Vim 8.2'
echo ' --vim-90-only Run tests only for Vim 9.0'
@@ -219,7 +220,7 @@ for vim in $(docker run --rm "$DOCKER_RUN_IMAGE" ls /vim-build/bin | grep '^neov
if ( [[ $vim =~ ^vim-v8.0 ]] && ((run_vim_80_tests)) ) \
|| ( [[ $vim =~ ^vim-v9.0 ]] && ((run_vim_90_tests)) ) \
|| ( [[ $vim =~ ^neovim-v0.2 ]] && ((run_neovim_02_tests)) ) \
- || ( [[ $vim =~ ^neovim-v0.7 ]] && ((run_neovim_07_tests)) ); then
+ || ( [[ $vim =~ ^neovim-v0.8 ]] && ((run_neovim_08_tests)) ); then
echo "Starting Vim: $vim..."
file_number=$((file_number+1))
test/script/run-vader-tests $quiet_flag $verbose_flag "$vim" "$tests" \