I wrote:
> I has added a test for Farsi. I can see in the Travis log that the
> tests are executed:
>
> Executing Test_farsi_map()
> xecuting Test_farsi_toggle()
> ...
> Executed 2 tests
>
> However, the reported coverage for src/farsi.c is zero.
> What is wrong here?
>
> I have also noticed zero coverage being reported for main.c.
> It also only lists 290 lines are relevant. Perhaps somehow valid source
> lines are considered not relevant?
So I changed the build to compile arabic.c and farsi.c separately, instead
of including them from main.c. And now the coverage has increased
dramatically for farsi.c.
Also look at json.c: The json_encode() function is marked as "missed",
but I'm sure test_json invokes it.
It definitely looks like there is something fishy about how the
coverage is estimated.
--
hundred-and-one symptoms of being an internet addict:
184. You no longer ask prospective dates what their sign is, instead
your line is "Hi, what's your URL?"
/// 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.