> Date: Sun, 28 Dec 2008 22:18:44 +0100
    > From: jema...@gnu.org
    > 
    >     > Would it be possible for the check-api-doc-consistency.pl to tell 
if a
    >     > given function has unit tests defined (at least one) in 
torture/unit,
    >     > and the number of tests? 
    > 
    >    Yes, it is possible. I only need to be 100% sure that a function named 
'pdf_bla'
    >    has its unit tests defined in a file named 'pdf_bla.c' at 
"torture/unit/...".
    >    I believe we're using that norm for every test case but I'm not 100% 
sure.
    > 
    > Yes, we are. Also, the unit tests for a given function pdf_bla are
    > always named pdf_bla_NNN where NNN is a number.

   Here is a patch for the feature.
   The output now is as follows: "pdf_bla() ... ok (xx tests)". Notice that we 
only
   count tests for consistent functions.

Applied in the trunk. I also updated the apic2wiki script to include
the new information in the wiki report
http://www.gnupdf.org/Lib:API_Consistency_Report

Thanks Gerel.



Reply via email to