Patch 9.0.0426
Problem: Failed flaky tests report only start time.
Solution: Also report the end time.
Files: src/testdir/runtest.vim
*** ../vim-9.0.0425/src/testdir/runtest.vim 2022-09-03 22:08:07.794560471
+0100
--- src/testdir/runtest.vim 2022-09-09 15:05:49.681279764 +0100
***************
*** 479,485 ****
call add(s:messages, 'Found errors in ' .. g:testfunc .. ':')
call extend(s:messages, v:errors)
! call add(total_errors, starttime .. ' Run ' .. g:run_nr .. ':')
call extend(total_errors, v:errors)
if g:run_nr >= 5 || prev_error == v:errors[0]
--- 479,486 ----
call add(s:messages, 'Found errors in ' .. g:testfunc .. ':')
call extend(s:messages, v:errors)
! 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]
*** ../vim-9.0.0425/src/version.c 2022-09-09 15:08:05.309011220 +0100
--- src/version.c 2022-09-09 15:09:20.304859196 +0100
***************
*** 705,706 ****
--- 705,708 ----
{ /* Add new patch number below this line */
+ /**/
+ 426,
/**/
--
Give a man a computer program and you give him a headache,
but teach him to program computers and you give him the power
to create headaches for others for the rest of his life...
R. B. Forest
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20220909141121.9DF3C1C0CF3%40moolenaar.net.