3 <!-- Copyright (C) 2016 and later: Unicode, Inc. and others. -->
4 <!-- License & terms of use: http://www.unicode.org/copyright.html#License -->
6 <!-- Copyright (C) 2011 IBM Corporation and Others. All Rights Reserved. -->
8 <xsl:stylesheet version="1.0"
9 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
11 <xsl:template match="/perfTestResults">
12 <report category="test">
13 <!-- For now, include ICU type and version in a comment. -->
14 <xsl:comment>icu4<xsl:value-of select="@icu"/>-<xsl:value-of select="@version"/></xsl:comment>
16 <xsl:for-each select="perfTestResult">
17 <xsl:element name="test">
18 <xsl:attribute name="duration">
19 <xsl:value-of select="@time"/>
21 <xsl:attribute name="status">success</xsl:attribute>
22 <xsl:attribute name="name">
23 <xsl:value-of select="@test"/>
25 <xsl:attribute name="fixture">
27 <xsl:attribute name="file">source/test/perf</xsl:attribute>
28 <xsl:attribute name="stdout">iterations: <xsl:value-of select="@iterations"/></xsl:attribute>