diff options
-rw-r--r-- | common/host-side/tradefed/res/report/compatibility_result.xsl | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/common/host-side/tradefed/res/report/compatibility_result.xsl b/common/host-side/tradefed/res/report/compatibility_result.xsl index 7233c977..21fbbdec 100644 --- a/common/host-side/tradefed/res/report/compatibility_result.xsl +++ b/common/host-side/tradefed/res/report/compatibility_result.xsl @@ -141,19 +141,23 @@ <xsl:for-each select="Result/Module"> <tr> <td> - <xsl:variable name="href"> + <xsl:variable name="moduleName"> <xsl:value-of select="@abi"/> <xsl:value-of select="@name"/> </xsl:variable> <xsl:choose> <xsl:when test="count(TestCase/Test) > 0"> + <xsl:variable name="href"> + <xsl:value-of select="@abi"/>_<xsl:value-of + select="@name"/> + </xsl:variable> <a href="module_reports/{$href}.html"> - <xsl:value-of select="$href"/> + <xsl:value-of select="$moduleName"/> </a> </xsl:when> <xsl:otherwise> <a> - <xsl:value-of select="$href"/> + <xsl:value-of select="$moduleName"/> </a> </xsl:otherwise> </xsl:choose> @@ -236,7 +240,7 @@ <xsl:template name="detailedTestReportPage"> <xsl:variable name="href"> - <xsl:value-of select="@abi"/> <xsl:value-of select="@name"/> + <xsl:value-of select="@abi"/>_<xsl:value-of select="@name"/> </xsl:variable> <redirect:write file="{$reportDir}/module_reports/{$href}.html"> <html> @@ -276,11 +280,11 @@ <xsl:template name="moduleTableHeader"> <tr> <td class="module" colspan="3"> - <xsl:variable name="href"> + <xsl:variable name="moduleName"> <xsl:value-of select="@abi"/> <xsl:value-of select="@name"/> </xsl:variable> - <a name="{$href}"> - <xsl:value-of select="$href"/> + <a name="{$moduleName}"> + <xsl:value-of select="$moduleName"/> </a> </td> </tr> |