Patch 9.0.0372

3 views
Skip to first unread message

Bram Moolenaar

unread,
Sep 3, 2022, 5:09:10 PM9/3/22
to vim...@googlegroups.com

Patch 9.0.0372 (after 9.0.0369)
Problem: MS-Windows: "%T" time format does not appear to work.
Solution: Use "%H:%M:%S" instead.
Files: src/testdir/runtest.vim, src/testdir/shared.vim


*** ../vim-9.0.0371/src/testdir/runtest.vim 2022-09-03 13:58:42.210028187 +0100
--- src/testdir/runtest.vim 2022-09-03 22:05:21.382652970 +0100
***************
*** 465,471 ****
" A test can set g:test_is_flaky to retry running the test.
let g:test_is_flaky = 0

! let starttime = strftime("%T")
call RunTheTest(g:testfunc)

" Repeat a flaky test. Give up when:
--- 465,471 ----
" A test can set g:test_is_flaky to retry running the test.
let g:test_is_flaky = 0

! let starttime = strftime("%H:%M:%S")
call RunTheTest(g:testfunc)

" Repeat a flaky test. Give up when:
***************
*** 499,505 ****
let v:errors = []
let g:run_nr += 1

! let starttime = strftime("%T")
call RunTheTest(g:testfunc)

if len(v:errors) == 0
--- 499,505 ----
let v:errors = []
let g:run_nr += 1

! let starttime = strftime("%H:%M:%S")
call RunTheTest(g:testfunc)

if len(v:errors) == 0
*** ../vim-9.0.0371/src/testdir/shared.vim 2022-09-03 13:58:42.210028187 +0100
--- src/testdir/shared.vim 2022-09-03 22:05:23.214651941 +0100
***************
*** 101,107 ****
" Wait for some time for the port number to be there.
let port = GetPort()
if port == 0
! call assert_report(strftime("%T") .. " Can't start " .. a:cmd)
return
endif

--- 101,107 ----
" Wait for some time for the port number to be there.
let port = GetPort()
if port == 0
! call assert_report(strftime("%H:%M:%S") .. " Can't start " .. a:cmd)
return
endif

*** ../vim-9.0.0371/src/version.c 2022-09-03 21:53:24.623089721 +0100
--- src/version.c 2022-09-03 22:06:28.834615253 +0100
***************
*** 709,710 ****
--- 709,712 ----
{ /* Add new patch number below this line */
+ /**/
+ 372,
/**/

--
For humans, honesty is a matter of degree. Engineers are always honest in
matters of technology and human relationships. That's why it's a good idea
to keep engineers away from customers, romantic interests, and other people
who can't handle the truth.
(Scott Adams - The Dilbert principle)

/// 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