Skip to content

Commit 65258d3

Browse files
committed
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.
1 parent ae04a60 commit 65258d3

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/testdir/runtest.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,8 @@ for g:testfunc in sort(s:tests)
479479
call add(s:messages, 'Found errors in ' .. g:testfunc .. ':')
480480
call extend(s:messages, v:errors)
481481

482-
call add(total_errors, starttime .. ' Run ' .. g:run_nr .. ':')
482+
let endtime = strftime("%H:%M:%S")
483+
call add(total_errors, $'Run {g:run_nr}, {starttime} - {endtime}:')
483484
call extend(total_errors, v:errors)
484485

485486
if g:run_nr >= 5 || prev_error == v:errors[0]

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,8 @@ static char *(features[]) =
703703

704704
static int included_patches[] =
705705
{ /* Add new patch number below this line */
706+
/**/
707+
426,
706708
/**/
707709
425,
708710
/**/

0 commit comments

Comments
 (0)