diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-04-19 10:24:57 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-04-19 11:29:35 +0800 |
commit | ad06c1c1c63f6fa5b5158f5e89e90468fd92ebba (patch) | |
tree | 545e7706a02b9f9b14af74fc5e6bdfa1aef7c6d1 | |
parent | c4c5bcd2b250808e9465d5a403b6749042d077b1 (diff) | |
download | rneovim-ad06c1c1c63f6fa5b5158f5e89e90468fd92ebba.tar.gz rneovim-ad06c1c1c63f6fa5b5158f5e89e90468fd92ebba.tar.bz2 rneovim-ad06c1c1c63f6fa5b5158f5e89e90468fd92ebba.zip |
vim-patch:9.0.0426: failed flaky tests reports only start time
Problem: Failed flaky tests reports only start time.
Solution: Also report the end time.
https://github.com/vim/vim/commit/65258d36ddfab371c7982343efc9b2533ba39075
Co-authored-by: Bram Moolenaar <Bram@vim.org>
-rw-r--r-- | test/old/testdir/runtest.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/old/testdir/runtest.vim b/test/old/testdir/runtest.vim index bc166024d3..a17f4bfd08 100644 --- a/test/old/testdir/runtest.vim +++ b/test/old/testdir/runtest.vim @@ -449,7 +449,8 @@ for g:testfunc in sort(s:tests) call add(s:messages, 'Found errors in ' .. g:testfunc .. ':') call extend(s:messages, v:errors) - call add(total_errors, starttime .. ' Run ' .. g:run_nr .. ':') + let endtime = strftime("%H:%M:%S") + call add(total_errors, $'Run {g:run_nr}, {starttime} - {endtime}:') call extend(total_errors, v:errors) if g:run_nr >= 5 || prev_error == v:errors[0] |