Documentation testing and textproc/igor

Warren Block wblock at wonkity.com
Sun Nov 16 15:21:58 UTC 2014


On Sat, 15 Nov 2014, Craig Rodrigues wrote:

> 
> 
> On Sat, Nov 15, 2014 at 6:29 PM, Warren Block <wblock at wonkity.com> wrote:
>       Since July, textproc/igor has a -X option that produces XML output. This should be usable with Jenkins for documentation testing.
> 
> 
> I took a quick look at igor.  Who told you that the XML output produced by igor is useful
> for Jenkins documentation testing?   The output looks like this:
> 
> <file name="share/man/man8/rc.8">
>   <error line="38" column="1" severity="warning" message="date not today, November 15, 2014" source="igor" />
>   <error line="505" column="1" severity="warning" message="blank line" source="igor" />
>   <error line="508" column="1" severity="warning" message="blank line" source="igor" />
>   <error line="510" column="1" severity="warning" message="blank line" source="igor" />
>   <error line="514" column="1" severity="warning" message="blank line" source="igor" />
>   <error line="525" column="1" severity="warning" message="blank line" source="igor" />
>   <error line="529" column="1" severity="warning" message="blank line" source="igor" />
>   <error line="531" column="1" severity="warning" message="blank line" source="igor" />
>   <error line="538" column="1" severity="warning" message="blank line" source="igor" />
>   <error line="543" column="1" severity="warning" message="blank line" source="igor" />
>   <error line="-" column="1" severity="warning" message="" source="igor" />
> </file>
> 
> That output is not in JUnit XML format ( http://help.catchsoftware.com/display/ET/JUnit+Format ), so would need to be parsed by an additional
> script in order to be used inside Jenkins.  The current output is nice, but not useful on its own
> for integration with Jenkins.

The output it produces now is based on what lwhsu@ added at BSDCan.  He 
showed a working demo there, so maybe additional wrappers were involved. 
It's also possible I've broken it in the meantime, too.


More information about the freebsd-testing mailing list