aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/runtest.vim
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-08 09:32:37 -0400
committerGitHub <noreply@github.com>2021-04-08 09:32:37 -0400
commited3c0a27c7e693baf5c817bede081d27ea4dba4c (patch)
tree3738b59b12942a301449d2410544fa78bc9d75bb /src/nvim/testdir/runtest.vim
parent48e80572855042ceb1d9191bc11f8b60275426eb (diff)
parentd99ce54252cf7cac37f346484c6cce64b2257173 (diff)
downloadrneovim-ed3c0a27c7e693baf5c817bede081d27ea4dba4c.tar.gz
rneovim-ed3c0a27c7e693baf5c817bede081d27ea4dba4c.tar.bz2
rneovim-ed3c0a27c7e693baf5c817bede081d27ea4dba4c.zip
Merge pull request #14314 from janlazo/vim-8.2.2720
vim-patch:8.0.{1505,1511},8.2.{1304,1305,1393,1508,1791,2720}
Diffstat (limited to 'src/nvim/testdir/runtest.vim')
-rw-r--r--src/nvim/testdir/runtest.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nvim/testdir/runtest.vim b/src/nvim/testdir/runtest.vim
index 2d94b637e0..49993c03aa 100644
--- a/src/nvim/testdir/runtest.vim
+++ b/src/nvim/testdir/runtest.vim
@@ -13,6 +13,9 @@
" For csh:
" setenv TEST_FILTER Test_channel
"
+" While working on a test you can make $TEST_NO_RETRY non-empty to not retry:
+" export TEST_NO_RETRY=yes
+"
" To ignore failure for tests that are known to fail in a certain environment,
" set $TEST_MAY_FAIL to a comma separated list of function names. E.g. for
" sh/bash:
@@ -413,9 +416,11 @@ for s:test in sort(s:tests)
call RunTheTest(s:test)
" Repeat a flaky test. Give up when:
+ " - $TEST_NO_RETRY is not empty
" - it fails again with the same message
" - it fails five times (with a different message)
if len(v:errors) > 0
+ \ && $TEST_NO_RETRY == ''
\ && (index(s:flaky_tests, s:test) >= 0
\ || g:test_is_flaky)
while 1