You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.1 KiB
31 lines
1.1 KiB
<?xml version="1.0"?>
|
|
|
|
<!-- © 2016 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html -->
|
|
<!-- Copyright (C) 2012 IBM Corporation and Others. All Rights Reserved. -->
|
|
|
|
<xsl:stylesheet version="1.0"
|
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
|
|
<xsl:template match="/perfTestResults">
|
|
<report category="test">
|
|
<xsl:for-each select="perfTestResult">
|
|
<xsl:element name="test">
|
|
<xsl:attribute name="duration">
|
|
<xsl:value-of select="@time"/>
|
|
</xsl:attribute>
|
|
<xsl:attribute name="status">success</xsl:attribute>
|
|
<xsl:attribute name="name">
|
|
<xsl:value-of select="@test"/>
|
|
</xsl:attribute>
|
|
<xsl:attribute name="fixture">
|
|
</xsl:attribute>
|
|
<xsl:attribute name="file">/perf-tests</xsl:attribute>
|
|
<xsl:attribute name="stdout">
|
|
iterations: <xsl:value-of select="@iterations"/>
|
|
</xsl:attribute>
|
|
</xsl:element>
|
|
</xsl:for-each>
|
|
</report>
|
|
</xsl:template>
|
|
</xsl:stylesheet>
|