# HG changeset patch # User Bram Moolenaar # Date 1592856903 -7200 # Node ID a51ce93f3e6cbd3ada4fc8fb6e12f52467380028 # Parent 7bc2d55a77dcef7c376697e7ee9adef05d168357 patch 8.2.1041: test summary is missing executed count Commit: https://github.com/vim/vim/commit/7eaafe65eef88493c789b160914c8e2e8e42d4a7 Author: Bram Moolenaar 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. diff --git a/src/testdir/summarize.vim b/src/testdir/summarize.vim --- 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 diff --git a/src/version.c b/src/version.c --- 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,