Sfoglia il codice sorgente

Added the support for Beman's standard notes

[SVN r21255]
Misha Bergal 22 anni fa
parent
commit
ac387d7813

+ 1 - 0
tools/regression/xsl_reports/report.py

@@ -200,6 +200,7 @@ def make_result_pages( test_results_file
                      "source": source
                      , "run_date": run_date 
                      , "comment_file": comment_file
+                     , "explicit_markup_file" : failures_markup_file
                      }
                    )
 

+ 7 - 1
tools/regression/xsl_reports/xsl/links_page.xsl

@@ -24,7 +24,9 @@
   <xsl:param name="source"/>
   <xsl:param name="run_date"/>
   <xsl:param name="comment_file"/>
-  <xsl:param name="expected_results_file"/>
+  <xsl:param name="explicit_markup_file"/>
+
+  <xsl:variable name="explicit-markup" select="document( $explicit_markup_file )"/>
 
   <xsl:template match="/">
     <html>
@@ -88,6 +90,10 @@
               <xsl:if test="@author">
                 <xsl:value-of select="@author"/><xsl:text> </xsl:text>
               </xsl:if>
+              <xsl:if test="@refid">
+                <xsl:variable name="refid" select="@refid"/>
+                <xsl:copy-of select="$explicit-markup//note[ $refid = @id ]/node()"/>
+              </xsl:if>
               <xsl:copy-of select="node()"/>
             </div>
           </xsl:for-each>

粤ICP备19079148号