Am 2016-08-29 22:30, schrieb Bram Moolenaar:
Christian Brabandt wrote:
Hi,
while working on some more tests, I noticed some bugs. I will report
them separately, whenever I have a test, that is reproducible
stand-alone, but until then, I like to disable some tests (and don't
forget about them).
However, it would be nice, if the logfile could mention, if a test has
been skipped, and which one.
Therefore here is a patch, that adds this ability. See the commit
message for an detailed explanation.
Hmm, this looks a bit complicated. I can think of two alternatives:
1. Name the test Test_skip_my_test()
Then the runtest script can report
Executing Test_normal11_showcmd()
SKIPPING Test_skip_my_test()
2. Throw the reason:
func Test_my_stuff()
throw 'skipped: need to fix the bug first'
...
Then runtest would report
Executing Test_my_stuff()
SKIPPED
Although completely commenting out the function also works.
That also means, it only works with complete functions, not part of
functions?
Hm, let's try the second approach for the test_popup.vim
Will submit a patch soon.
Best,
Christian
--
--
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].
For more options, visit https://groups.google.com/d/optout.