To: vim_dev@googlegroups.com Subject: Patch 8.1.1947 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///