aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/old/testdir/runtest.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/old/testdir/runtest.vim b/test/old/testdir/runtest.vim
index a17f4bfd08..9d5e3333cb 100644
--- a/test/old/testdir/runtest.vim
+++ b/test/old/testdir/runtest.vim
@@ -193,6 +193,11 @@ func RunTheTest(test)
endif
au! VimLeavePre
+ if a:test =~ '_terminal_'
+ " Terminal tests sometimes hang, give extra information
+ echoconsole 'After executing ' .. a:test
+ endif
+
" In case 'insertmode' was set and something went wrong, make sure it is
" reset to avoid trouble with anything else.
set noinsertmode
@@ -234,6 +239,11 @@ func RunTheTest(test)
exe 'cd ' . save_cwd
+ if a:test =~ '_terminal_'
+ " Terminal tests sometimes hang, give extra information
+ echoconsole 'Finished ' . a:test
+ endif
+
let message = 'Executed ' . a:test
if has('reltime')
let message ..= repeat(' ', 50 - len(message))