Documentation testing and textproc/igor

Craig Rodrigues rodrigc at FreeBSD.org
Sun Nov 16 03:54:33 UTC 2014


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.

--
Craig


More information about the freebsd-testing mailing list