Support TAP output from gtkdoc-check
gtkdoc-check would be a bit easier to integrate into various common test harnesses if it (optionally) outputted in TAP format. Utilities like
gtester support this when run with a
--tap option, so it would be consistent if
gtkdoc-check --tap did the same.
The advantage of TAP output is that it provides a structured way to output the success/failure and details of each test being run by the test suite, so that the test harness which is calling
gtkdoc-check can be aware of the individual unit tests and add them to overall stats correctly.
In the case of
gtkdoc-check, I guess there’s one unit test for the
undeclared symbol, one for
undocumented, one for
See also: #66. In TAP format, log output has to be printed with a leading
#, because other lines are interpreted as TAP commands.