Patch 8.1.1947
Problem: When executing one test the report doesn't show it.
Solution: Adjust the regexp. (Daniel Hahler, closes #4879)
Files: src/testdir/summarize.vim
*** ../vim-8.1.1946/src/testdir/summarize.vim 2019-08-20 21:25:42.889316651
+0200
--- src/testdir/summarize.vim 2019-08-30 19:01:08.172772602 +0200
***************
*** 21,29 ****
try
" This uses the :s command to just fetch and process the output of the
! " tests, it doesn't acutally 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
--- 21,29 ----
try
" 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.1.1946/src/version.c 2019-08-30 18:37:21.548472275 +0200
--- src/version.c 2019-08-30 19:02:21.168343033 +0200
***************
*** 763,764 ****
--- 763,766 ----
{ /* Add new patch number below this line */
+ /**/
+ 1947,
/**/
--
hundred-and-one symptoms of being an internet addict:
143. You dream in pallettes of 216 websafe colors.
/// Bram Moolenaar -- [email protected] -- 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 ///
--
--
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/201908301706.x7UH6vH6023837%40masaka.moolenaar.net.