Explorar el Código

issues page improvements

[SVN r22396]
Aleksey Gurtovoy hace 22 años
padre
commit
78f7ee9e39

+ 17 - 3
tools/regression/xsl_reports/xsl/issues_page.xsl

@@ -99,7 +99,9 @@
 
                           <tr>
                               <td colspan="2">
-                                  <div class="library-name"><xsl:value-of select="$library"/></div>
+                                  <div class="library-name">
+                                    <a href="developer_result_page.html#{$library}"><xsl:value-of select="$library"/></a>
+                                  </div>
                               </td>
                           </tr>
                           
@@ -110,15 +112,27 @@
                               <xsl:variable name="unexpected_toolsets" select="$library_tests[ @test-name = $test_name and not (meta:is_unusable( $explicit_markup, $library, @toolset )) ]/@toolset"/>
                               
                               <xsl:if test="count( $unexpected_toolsets ) > 0">
+                                <xsl:variable name="test_program"  select="$library_tests[@test-name = $test_name]/@test-program"/>
                                   <tr>
                                       <td class="test-name">
-                                          <xsl:value-of select="$test_name"/>:
+                                        <a href="../../{$test_program}" class="test-link">
+                                          <xsl:value-of select="$test_name"/>
+                                        </a>
                                       </td>
                                       <td>
                                           <xsl:for-each select="$unexpected_toolsets">
                                               <xsl:sort select="." order="ascending"/>
+                                              <xsl:variable name="toolset" select="."/>
+                                              <xsl:variable name="test_result" select="$library_tests[@test-name = $test_name and @toolset = $toolset]"/>
+
                                               <xsl:if test="position() > 1">,&#160;</xsl:if>
-                                              <xsl:value-of select="."/>
+                                              <xsl:variable name="log_link" select="meta:output_file_path( $test_result/@target-directory )"/>
+                                              <xsl:if test="$test_result/@is-new = 'yes'">
+                                                <xsl:text></xsl:text>
+                                              </xsl:if>
+                                              <a href="{$log_link}" class="log-link">
+                                                <xsl:value-of select="."/>
+                                              </a>
                                           </xsl:for-each>
                                       </td>
                                   </tr>

+ 2 - 2
tools/regression/xsl_reports/xsl/result_page.xsl

@@ -525,7 +525,7 @@
     </td>
   </xsl:template>
 
-  <xsl:template name="insert-test-line">
+  <xsl:template name="insert_test_line">
     <xsl:param name="library"/>    
     <xsl:param name="test_name"/>
     <xsl:param name="test_results"/>
@@ -597,7 +597,7 @@
               </xsl:choose>
           </xsl:variable>
           
-          <xsl:call-template name="insert-test-line">
+          <xsl:call-template name="insert_test_line">
               <xsl:with-param name="library" select="$library"/>
               <xsl:with-param name="test_results" select="$lib_tests[ @test-name = $test_name ]"/>
               <xsl:with-param name="toolsets" select="$toolsets"/>

粤ICP备19079148号