Patch 9.0.0426

1 view
Skip to first unread message

Bram Moolenaar

unread,
Sep 9, 2022, 10:11:32 AM9/9/22
to vim...@googlegroups.com

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 -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages