Patch 8.2.1041

4 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 22, 2020, 4:10:47 PM6/22/20
to vim...@googlegroups.com

Patch 8.2.1041
Problem: Test summary is missing executed count.
Solution: Adjust pattern used for counting.
Files: src/testdir/summarize.vim


*** ../vim-8.2.1040/src/testdir/summarize.vim 2019-12-30 00:07:52.877822159 +0100
--- src/testdir/summarize.vim 2020-06-22 22:03:13.742345147 +0200
***************
*** 28,34 ****
" This uses the :s command to just fetch and process the output of the
" tests, it doesn't actually replace anything.
" And it uses "silent" to avoid reporting the number of matches.
! silent %s/^Executed\s\+\zs\d\+\ze\s\+tests\?/\=Count(submatch(0),'executed')/egn
silent %s/^SKIPPED \zs.*/\=Count(submatch(0), 'skipped')/egn
silent %s/^\(\d\+\)\s\+FAILED:/\=Count(submatch(1), 'failed')/egn

--- 28,34 ----
" This uses the :s command to just fetch and process the output of the
" tests, it doesn't actually replace anything.
" And it uses "silent" to avoid reporting the number of matches.
! silent %s/Executed\s\+\zs\d\+\ze\s\+tests\?/\=Count(submatch(0),'executed')/egn
silent %s/^SKIPPED \zs.*/\=Count(submatch(0), 'skipped')/egn
silent %s/^\(\d\+\)\s\+FAILED:/\=Count(submatch(1), 'failed')/egn

*** ../vim-8.2.1040/src/version.c 2020-06-22 21:34:24.335583405 +0200
--- src/version.c 2020-06-22 22:09:25.013285635 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1041,
/**/

--
ROBIN: (warily) And if you get a question wrong?
ARTHUR: You are cast into the Gorge of Eternal Peril.
ROBIN: Oh ... wacho!
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages