From: Bram Moolenaar Date: Fri, 9 Sep 2022 14:09:59 +0000 (+0100) Subject: patch 9.0.0426: failed flaky tests reports only start time X-Git-Tag: v9.0.0426 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65258d36ddfab371c7982343efc9b2533ba39075;p=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. --- diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim index 72a8f989f..68c3dd3ef 100644 --- a/src/testdir/runtest.vim +++ b/src/testdir/runtest.vim @@ -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] diff --git a/src/version.c b/src/version.c index 34fa8ef22..14767813e 100644 --- a/src/version.c +++ b/src/version.c @@ -703,6 +703,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 426, /**/ 425, /**/