Browse Source

regression report fixes

[SVN r30371]
Aleksey Gurtovoy 21 years ago
parent
commit
7fe3413151

+ 8 - 13
tools/regression/xsl_reports/xsl/v2/common.xsl

@@ -384,22 +384,17 @@ http://www.boost.org/LICENSE_1_0.txt)
                 <xsl:with-param name="release" select="$release"/>
             </xsl:call-template>
 
+            <xsl:variable name="release_postfix">
+                <xsl:if test="$release='yes'">_release</xsl:if>
+            </xsl:variable>
+
             <xsl:text>&#160;|&#160;</xsl:text>
-            <xsl:choose>
-                <xsl:when test="$release='yes'">
-                    <a href="../{$mode}/{$page}_release.html" class="view-link" target="_top">
-                        <xsl:value-of select="$mode"/><xsl:text> View</xsl:text>
-                    </a>
-                </xsl:when>
-                <xsl:otherwise>
-                    <a href="../{$mode}/{$page}.html" class="view-link" target="_top">
-                        <xsl:value-of select="$mode"/><xsl:text> View</xsl:text>
-                    </a>
-                </xsl:otherwise>
-            </xsl:choose>
+            <a href="../{$mode}/{$page}{$release_postfix}.html" class="view-link" target="_top">
+                <xsl:value-of select="$mode"/><xsl:text> View</xsl:text>
+            </a>
 
             <xsl:text>&#160;|&#160;</xsl:text>
-            <a href="{$page}_.html#legend">
+            <a href="{$page}{$release_postfix}_.html#legend">
                 <xsl:text>Legend</xsl:text>
             </a>
 

+ 1 - 0
tools/regression/xsl_reports/xsl/v2/html/master.css

@@ -337,6 +337,7 @@ tr.summary-row td
 , td.user-summary-success-unexpected
 { 
     background-color: lightgreen;
+    color: black;
 }
 
  td.library-success-unexpected a.log-link:link

+ 1 - 1
tools/regression/xsl_reports/xsl/v2/html/summary_user_legend.html

@@ -13,7 +13,7 @@ http://www.boost.org/LICENSE_1_0.txt)
     <tr>
         <td class="legend-item" width="50pt">
             <table width="100%" summary="success legend">
-                <tr class="summary-row-single"><td class="summary-success-expected user-summary-success-expected">&#160;&#160;&#160;&#160;</td></tr>
+                <tr class="summary-row-single"><td class="summary-success-expected user-summary-success-expected">&#160;pass&#160;</td></tr>
                 </table>
         </td>
         <td class="legend-explanation">

+ 1 - 1
tools/regression/xsl_reports/xsl/v2/result_page.xsl

@@ -132,7 +132,7 @@ http://www.boost.org/LICENSE_1_0.txt)
 
         </exsl:document>
         <xsl:message>Wrote debug</xsl:message>
-        <xsl:variable name="index_path" select="concat( 'index_', $release_postfix, '.html' )"/>
+        <xsl:variable name="index_path" select="concat( 'index', $release_postfix, '_.html' )"/>
         
         <!-- Index page -->
         <head>

+ 2 - 2
tools/regression/xsl_reports/xsl/v2/summary_page.xsl

@@ -101,7 +101,7 @@ http://www.boost.org/LICENSE_1_0.txt)
      
     <xsl:template match="/">
 
-        <xsl:variable name="summary_results" select="concat( 'summary_', $release_postfix, '.html' )"/>
+        <xsl:variable name="summary_results" select="concat( 'summary', $release_postfix, '_.html' )"/>
 
         <!-- Summary page -->
         <html>
@@ -357,7 +357,7 @@ http://www.boost.org/LICENSE_1_0.txt)
             <xsl:text>&#160;</xsl:text>
         </xsl:when>
         <xsl:otherwise>
-            <xsl:text>&#160;&#160;&#160;&#160;</xsl:text>
+            <xsl:text>&#160;pass&#160;</xsl:text>
         </xsl:otherwise>
         </xsl:choose>
     </td>

粤ICP备19079148号