diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-09-20 15:10:31 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-20 15:10:31 +0100 |
commit | a22c56a59a1e60f6976e61d16001623424a26b3a (patch) | |
tree | 94f8b941e8af8a7df21b6d402f18f36f4ba84b61 /src/testdir/runtest.vim | |
parent | 9781d9c00517a67c44b50b040cca2c5804daf15c (diff) |
patch 9.0.0514: terminal test sometimes hangsv9.0.0514
Problem: Terminal test sometimes hangs.
Solution: Add a bit more information to the test output. (issue #11179)
Diffstat (limited to 'src/testdir/runtest.vim')
-rw-r--r-- | src/testdir/runtest.vim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim index 1946282f8a..ebc692b478 100644 --- a/src/testdir/runtest.vim +++ b/src/testdir/runtest.vim @@ -227,6 +227,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 @@ -279,6 +284,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)) |