Home | History | Annotate | Download | only in perf
      1 <?xml version="1.0"?>
      2 
      3 <!-- Copyright (C) 2011 IBM Corporation and Others. All Rights Reserved. -->
      4 
      5 <xsl:stylesheet version="1.0"
      6                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      7   
      8   <xsl:template match="/perfTestResults">
      9     <report category="test">
     10       <!-- For now, include ICU type and version in a comment. -->
     11       <xsl:comment>icu4<xsl:value-of select="@icu"/>-<xsl:value-of select="@version"/></xsl:comment>
     12       
     13       <xsl:for-each select="perfTestResult">
     14         <xsl:element name="test">
     15           <xsl:attribute name="duration">
     16             <xsl:value-of select="@time"/>
     17           </xsl:attribute>
     18           <xsl:attribute name="status">success</xsl:attribute>
     19           <xsl:attribute name="name">
     20             <xsl:value-of select="@test"/>
     21           </xsl:attribute>
     22           <xsl:attribute name="fixture">
     23           </xsl:attribute>
     24           <xsl:attribute name="file">source/test/perf</xsl:attribute>
     25           <xsl:attribute name="stdout">iterations: <xsl:value-of select="@iterations"/></xsl:attribute>
     26         </xsl:element>
     27       </xsl:for-each>
     28     </report>
     29   </xsl:template>
     30 </xsl:stylesheet>
     31