Mercurial > vim
changeset 30180:b01eaf122e5a v9.0.0426
patch 9.0.0426: failed flaky tests reports only start time
Commit: https://github.com/vim/vim/commit/65258d36ddfab371c7982343efc9b2533ba39075
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Sep 9 15:09:59 2022 +0100
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 09 Sep 2022 16:15:03 +0200 |
parents | ef53b84f019c |
children | b6f2c4011ee1 |
files | src/testdir/runtest.vim src/version.c |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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]