summaryrefslogtreecommitdiffstats
path: root/src/testdir/summarize.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/summarize.vim')
-rw-r--r--src/testdir/summarize.vim6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/testdir/summarize.vim b/src/testdir/summarize.vim
index 5bbf0b338a..9cf3f694ca 100644
--- a/src/testdir/summarize.vim
+++ b/src/testdir/summarize.vim
@@ -8,7 +8,7 @@ if 1
let g:failed += a:match+0
elseif a:type ==# 'skipped'
let g:skipped += 1
- call extend(g:skipped_output, ["\t".a:match])
+ call extend(g:skipped_output, ["\t" .. a:match])
endif
endfunc
@@ -19,6 +19,10 @@ if 1
let g:failed_output = []
let output = [""]
+ if $TEST_FILTER != ''
+ call extend(g:skipped_output, ["\tAll tests not matching $TEST_FILTER: '" .. $TEST_FILTER .. "'"])
+ endif
+
try
" This uses the :s command to just fetch and process the output of the
" tests, it doesn't actually replace anything.