mirror of
https://github.com/zoriya/vim.git
synced 2026-05-27 08:43:02 +00:00
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.
This commit is contained in:
@@ -479,7 +479,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]
|
||||
|
||||
@@ -703,6 +703,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
426,
|
||||
/**/
|
||||
425,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user