On Do, 06 Jun 2019, Bram Moolenaar wrote:
> Patch 8.1.1476
> Problem: No statistics displayed after running tests.
> Solution: Summarize the test results. (Christian Brabandt, closes #4391)
> Also make it possible to report a skipped file.
I found a mistake in this patch. Can you please update summarize.vim
like this:
diff --git a/src/testdir/summarize.vim b/src/testdir/summarize.vim
index 54cb5c184..220aa60f9 100644
--- a/src/testdir/summarize.vim
+++ b/src/testdir/summarize.vim
@@ -6,7 +6,7 @@ if 1
if a:type ==# 'executed'
let g:executed += (a:match+0)
elseif a:type ==# 'failed'
- let g:failed = a:match+0
+ let g:failed += a:match+0
elseif a:type ==# 'skipped'
let g:skipped += 1
call extend(g:skipped_output, ["\t".a:match])
Thanks,
Christian
--
Nicht die Sünde wurde geboren, als Eva den Apfel pflückte. Geboren
wurde an diesem Tag vielmehr eine großartige Tugend, Ungehorsam
genannt.
-- Oriana Fallaci
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20190607135241.GX23877%40256bit.org.
For more options, visit https://groups.google.com/d/optout.