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:
@@ -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
|
||||||
|
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user