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 -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20220903210857.EB3EB1C0CE4%40moolenaar.net.