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.
--
hundred-and-one symptoms of being an internet addict:
106. When told to "go to your room" you inform your parents that you
can't...because you were kicked out and banned.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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.