Skip to content

Commit

Permalink
added attribute "tests" to testsuite as the number of tests in the suite
Browse files Browse the repository at this point in the history
This is required to use the xsl file with the Jenkins xUnit plugin
and to be compliant with junit-4.xsd, see
https://svn.jenkins-ci.org/trunk/hudson/dtkit/dtkit-format/dtkit-junit-model/src/main/resources/com/thalesgroup/dtkit/junit/model/xsd/junit-4.xsd
  • Loading branch information
finnhaedicke committed Jun 12, 2012
1 parent 78c4c72 commit aec664d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ctest_valgrind_to_junit.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@

<xsl:template match="/Site">
<testsuite name="ValgrindTests">
<xsl:attribute name="tests">
<xsl:value-of select="count(/Site/DynamicAnalysis/Test)"/>
</xsl:attribute>
<properties>
<xsl:for-each select="@*">
<property>
Expand Down

0 comments on commit aec664d

Please sign in to comment.