]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.1041: test summary is missing executed count v8.2.1041
authorBram Moolenaar <Bram@vim.org>
Mon, 22 Jun 2020 20:10:06 +0000 (22:10 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 22 Jun 2020 20:10:06 +0000 (22:10 +0200)
Problem:    Test summary is missing executed count.
Solution:   Adjust pattern used for counting.

src/testdir/summarize.vim
src/version.c

index 4e4135287b3d0ceaa8489b69c7d843d01b39b6e2..7f8f758a7185b4e217a661cc10cb135e42c67f24 100644 (file)
@@ -28,7 +28,7 @@ if 1
     " 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/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
 
index de54b218d31e866a4e60a10db515d8d2a4b72b0a..4b4fb4047956701e40b55b220ccf55d7a37abf68 100644 (file)
@@ -754,6 +754,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1041,
 /**/
     1040,
 /**/