0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.2.1041: test summary is missing executed count

Problem:    Test summary is missing executed count.
Solution:   Adjust pattern used for counting.
This commit is contained in:
Bram Moolenaar
2020-06-22 22:10:06 +02:00
parent bdd2c290d3
commit 7eaafe65ee
2 changed files with 3 additions and 1 deletions

View File

@@ -28,7 +28,7 @@ if 1
" This uses the :s command to just fetch and process the output of the " This uses the :s command to just fetch and process the output of the
" tests, it doesn't actually replace anything. " tests, it doesn't actually replace anything.
" And it uses "silent" to avoid reporting the number of matches. " 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/^SKIPPED \zs.*/\=Count(submatch(0), 'skipped')/egn
silent %s/^\(\d\+\)\s\+FAILED:/\=Count(submatch(1), 'failed')/egn silent %s/^\(\d\+\)\s\+FAILED:/\=Count(submatch(1), 'failed')/egn

View File

@@ -754,6 +754,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1041,
/**/ /**/
1040, 1040,
/**/ /**/