changeset 20980:a51ce93f3e6c v8.2.1041

patch 8.2.1041: test summary is missing executed count Commit: https://github.com/vim/vim/commit/7eaafe65eef88493c789b160914c8e2e8e42d4a7 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 22 22:10:06 2020 +0200 patch 8.2.1041: test summary is missing executed count Problem: Test summary is missing executed count. Solution: Adjust pattern used for counting.
author Bram Moolenaar <Bram@vim.org>
date Mon, 22 Jun 2020 22:15:03 +0200
parents 7bc2d55a77dc
children 6e0166b4443d
files src/testdir/summarize.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/summarize.vim
+++ b/src/testdir/summarize.vim
@@ -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
 
--- a/src/version.c
+++ b/src/version.c
@@ -755,6 +755,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1041,
+/**/
     1040,
 /**/
     1039,