|
|
@@ -1,624 +1,642 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<!--
|
|
|
|
|
|
- (C) Copyright MetaCommunications, Inc. 2003.
|
|
|
-
|
|
|
- Permission to use, copy, modify, distribute and sell this software
|
|
|
- and its documentation for any purpose is hereby granted without fee,
|
|
|
- provided that the above copyright notice appears in all copies and
|
|
|
- that both the copyright notice and this permission notice appear in
|
|
|
- supporting documentation. No representations are made about the
|
|
|
- suitability of this software for any purpose. It is provided "as is"
|
|
|
- without express or implied warranty.
|
|
|
+// Copyright (c) MetaCommunications, Inc. 2003-2004
|
|
|
+//
|
|
|
+// Use, modification and distribution are subject to the Boost Software
|
|
|
+// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy
|
|
|
+// at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
|
|
-->
|
|
|
|
|
|
<xsl:stylesheet
|
|
|
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
|
- xmlns:exsl="http://exslt.org/common"
|
|
|
- xmlns:func="http://exslt.org/functions"
|
|
|
- xmlns:meta="http://www.meta-comm.com"
|
|
|
- extension-element-prefixes="func"
|
|
|
- version="1.0">
|
|
|
-
|
|
|
- <xsl:import href="common.xsl"/>
|
|
|
-
|
|
|
- <xsl:output method="html"
|
|
|
- doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
|
|
|
- encoding="utf-8"
|
|
|
- indent="yes"
|
|
|
- />
|
|
|
-
|
|
|
-
|
|
|
- <xsl:param name="links_file"/>
|
|
|
- <xsl:param name="mode"/>
|
|
|
- <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="output_directory" select="'output'"/>
|
|
|
-
|
|
|
- <!-- the author-specified expected test results -->
|
|
|
- <xsl:variable name="explicit_markup" select="document( $explicit_markup_file )"/>
|
|
|
- <xsl:variable name="expected_results" select="document( $expected_results_file )" />
|
|
|
-
|
|
|
- <!-- necessary indexes -->
|
|
|
- <xsl:key
|
|
|
- name="test_name_key"
|
|
|
- match="test-log"
|
|
|
- use="concat( @library, '>@<', @test-name )"/>
|
|
|
- <xsl:key
|
|
|
- name="library_key"
|
|
|
- match="test-log"
|
|
|
- use="@library"/>
|
|
|
- <xsl:key name="toolset_key" match="test-log" use="@toolset"/>
|
|
|
-
|
|
|
- <!-- toolsets -->
|
|
|
-
|
|
|
- <xsl:variable name="not_ordered_toolsets" select="//test-log[ generate-id(.) = generate-id( key('toolset_key',@toolset)[1] ) and @toolset != '' ]/@toolset"/>
|
|
|
-
|
|
|
- <xsl:variable name="required_toolsets" select="$explicit_markup//mark-toolset[ @status='required' ]"/>
|
|
|
-
|
|
|
- <xsl:variable name="ordered_toolsets_fragment">
|
|
|
- <xsl:call-template name="get_toolsets">
|
|
|
- <xsl:with-param name="toolsets" select="$not_ordered_toolsets"/>
|
|
|
- <xsl:with-param name="required_toolsets" select="$required_toolsets"/>
|
|
|
- </xsl:call-template>
|
|
|
- </xsl:variable>
|
|
|
-
|
|
|
- <xsl:variable name="ordered_toolsets" select="exsl:node-set( $ordered_toolsets_fragment )"/>
|
|
|
-
|
|
|
- <!-- libraries -->
|
|
|
- <xsl:variable name="libraries" select="//test-log[ @library != '' and generate-id(.) = generate-id( key('library_key',@library)[1] ) ]/@library"/>
|
|
|
-
|
|
|
- <xsl:template name="insert_toolsets_row">
|
|
|
- <xsl:param name="library"/>
|
|
|
- <xsl:param name="library_marks"/>
|
|
|
- <xsl:param name="toolsets"/>
|
|
|
- <tr valign="middle">
|
|
|
- <td class="head" colspan="2">test / toolset</td>
|
|
|
-
|
|
|
- <xsl:variable name="all_library_notes" select="$library_marks/note"/>
|
|
|
- <xsl:for-each select="$toolsets/toolset">
|
|
|
- <xsl:variable name="toolset" select="@toolset"/>
|
|
|
-
|
|
|
- <xsl:variable name="class">
|
|
|
- <xsl:choose>
|
|
|
- <xsl:when test="@required='yes'">
|
|
|
- <xsl:text>required-toolset-name</xsl:text>
|
|
|
- </xsl:when>
|
|
|
- <xsl:otherwise>
|
|
|
- <xsl:text>toolset-name</xsl:text>
|
|
|
- </xsl:otherwise>
|
|
|
- </xsl:choose>
|
|
|
- </xsl:variable>
|
|
|
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
|
+ xmlns:exsl="http://exslt.org/common"
|
|
|
+ xmlns:func="http://exslt.org/functions"
|
|
|
+ xmlns:meta="http://www.meta-comm.com"
|
|
|
+ extension-element-prefixes="func exsl"
|
|
|
+ version="1.0">
|
|
|
+
|
|
|
+ <xsl:import href="common.xsl"/>
|
|
|
+
|
|
|
+ <xsl:output method="html"
|
|
|
+ doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
|
|
|
+ encoding="utf-8"
|
|
|
+ indent="yes"
|
|
|
+ />
|
|
|
+
|
|
|
+ <xsl:param name="links_file"/>
|
|
|
+ <xsl:param name="mode"/>
|
|
|
+ <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"/>
|
|
|
+
|
|
|
+ <!-- the author-specified expected test results -->
|
|
|
+ <xsl:variable name="explicit_markup" select="document( $explicit_markup_file )"/>
|
|
|
+ <xsl:variable name="expected_results" select="document( $expected_results_file )" />
|
|
|
+
|
|
|
+ <xsl:variable name="alternate_mode">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="$mode='user'">developer</xsl:when>
|
|
|
+ <xsl:otherwise>user</xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ </xsl:variable>
|
|
|
+
|
|
|
+ <!-- necessary indexes -->
|
|
|
+ <xsl:key
|
|
|
+ name="test_name_key"
|
|
|
+ match="test-log"
|
|
|
+ use="concat( @library, '>@<', @test-name )"/>
|
|
|
+ <xsl:key
|
|
|
+ name="library_key"
|
|
|
+ match="test-log"
|
|
|
+ use="@library"/>
|
|
|
+ <xsl:key name="toolset_key" match="test-log" use="@toolset"/>
|
|
|
+
|
|
|
+ <!-- toolsets -->
|
|
|
+
|
|
|
+ <xsl:variable name="not_ordered_toolsets" select="//test-log[ generate-id(.) = generate-id( key('toolset_key',@toolset)[1] ) and @toolset != '' ]/@toolset"/>
|
|
|
+
|
|
|
+ <xsl:variable name="required_toolsets" select="$explicit_markup//mark-toolset[ @status='required' ]"/>
|
|
|
+
|
|
|
+ <xsl:variable name="ordered_toolsets_fragment">
|
|
|
+ <xsl:call-template name="get_toolsets">
|
|
|
+ <xsl:with-param name="toolsets" select="$not_ordered_toolsets"/>
|
|
|
+ <xsl:with-param name="required_toolsets" select="$required_toolsets"/>
|
|
|
+ </xsl:call-template>
|
|
|
+ </xsl:variable>
|
|
|
|
|
|
- <xsl:variable name="toolset_notes_fragment">
|
|
|
- <xsl:for-each select="$all_library_notes">
|
|
|
- <xsl:if test="../@toolset=$toolset or ( ../toolset/@name=$toolset or ../toolset/@name = '*' )">
|
|
|
- <note index="{position()}"/>
|
|
|
- </xsl:if>
|
|
|
- </xsl:for-each>
|
|
|
- </xsl:variable>
|
|
|
+ <xsl:variable name="ordered_toolsets" select="exsl:node-set( $ordered_toolsets_fragment )"/>
|
|
|
+
|
|
|
+ <!-- libraries -->
|
|
|
+ <xsl:variable name="libraries" select="//test-log[ @library != '' and generate-id(.) = generate-id( key('library_key',@library)[1] ) ]/@library"/>
|
|
|
+
|
|
|
+ <xsl:template name="insert_toolsets_row">
|
|
|
+ <xsl:param name="library"/>
|
|
|
+ <xsl:param name="library_marks"/>
|
|
|
+ <xsl:param name="toolsets"/>
|
|
|
+ <tr valign="middle">
|
|
|
+ <td class="head" colspan="2">test / toolset</td>
|
|
|
+
|
|
|
+ <xsl:variable name="all_library_notes" select="$library_marks/note"/>
|
|
|
+ <xsl:for-each select="$toolsets/toolset">
|
|
|
+ <xsl:variable name="toolset" select="@toolset"/>
|
|
|
+
|
|
|
+ <xsl:variable name="class">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="@required='yes'">
|
|
|
+ <xsl:text>required-toolset-name</xsl:text>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:otherwise>
|
|
|
+ <xsl:text>toolset-name</xsl:text>
|
|
|
+ </xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ </xsl:variable>
|
|
|
+
|
|
|
+ <xsl:variable name="toolset_notes_fragment">
|
|
|
+ <xsl:for-each select="$all_library_notes">
|
|
|
+ <xsl:if test="../@toolset=$toolset or ( ../toolset/@name=$toolset or ../toolset/@name = '*' )">
|
|
|
+ <note index="{position()}"/>
|
|
|
+ </xsl:if>
|
|
|
+ </xsl:for-each>
|
|
|
+ </xsl:variable>
|
|
|
+
|
|
|
+ <xsl:variable name="toolset_notes" select="exsl:node-set( $toolset_notes_fragment )/*"/>
|
|
|
+
|
|
|
+ <td class="{$class}"><xsl:value-of select="$toolset"/>
|
|
|
+ <xsl:if test="count( $toolset_notes ) > 0">
|
|
|
+ <span class="super">
|
|
|
+ <xsl:for-each select="$toolset_notes">
|
|
|
+ <xsl:variable name="note_index" select="@index"/>
|
|
|
+ <xsl:if test="generate-id( . ) != generate-id( $toolset_notes[1] )">, </xsl:if>
|
|
|
+ <a href="#{$library}-note-{$note_index}" title="Note {$note_index}">
|
|
|
+ <xsl:value-of select="$note_index"/>
|
|
|
+ </a>
|
|
|
+ </xsl:for-each>
|
|
|
+ </span>
|
|
|
+ </xsl:if>
|
|
|
+ </td>
|
|
|
+ </xsl:for-each>
|
|
|
|
|
|
- <xsl:variable name="toolset_notes" select="exsl:node-set( $toolset_notes_fragment )/*"/>
|
|
|
-
|
|
|
- <td class="{$class}"><xsl:value-of select="$toolset"/>
|
|
|
- <xsl:if test="count( $toolset_notes ) > 0">
|
|
|
- <span class="super">
|
|
|
- <xsl:for-each select="$toolset_notes">
|
|
|
- <xsl:variable name="note_index" select="@index"/>
|
|
|
- <xsl:if test="generate-id( . ) != generate-id( $toolset_notes[1] )">, </xsl:if>
|
|
|
- <a href="#{$library}-note-{$note_index}" title="Note {$note_index}"><xsl:value-of select="$note_index"/></a>
|
|
|
- </xsl:for-each>
|
|
|
- </span>
|
|
|
- </xsl:if>
|
|
|
+ <td class="head">toolset / test</td>
|
|
|
+ </tr>
|
|
|
+ </xsl:template>
|
|
|
+
|
|
|
+ <xsl:template name="test_type_col">
|
|
|
+ <td class="test-type">
|
|
|
+ <a href="../../status/compiler_status.html#Understanding" class="legend-link">
|
|
|
+ <xsl:variable name="test_type" select="./@test-type"/>
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="$test_type='run_pyd'"> <xsl:text>r</xsl:text> </xsl:when>
|
|
|
+ <xsl:when test="$test_type='run'"> <xsl:text>r</xsl:text> </xsl:when>
|
|
|
+ <xsl:when test="$test_type='run_fail'"> <xsl:text>rf</xsl:text> </xsl:when>
|
|
|
+ <xsl:when test="$test_type='compile'"> <xsl:text>c</xsl:text> </xsl:when>
|
|
|
+ <xsl:when test="$test_type='compile_fail'"> <xsl:text>cf</xsl:text> </xsl:when>
|
|
|
+ </xsl:choose>
|
|
|
+ </a>
|
|
|
</td>
|
|
|
- </xsl:for-each>
|
|
|
+ </xsl:template>
|
|
|
|
|
|
- <td class="head">toolset / test</td>
|
|
|
- </tr>
|
|
|
- </xsl:template>
|
|
|
|
|
|
- <xsl:template name="test_type_col">
|
|
|
- <td class="test-type">
|
|
|
- <a href="../../status/compiler_status.html#Understanding" class="legend-link">
|
|
|
- <xsl:variable name="test_type" select="./@test-type"/>
|
|
|
- <xsl:choose>
|
|
|
- <xsl:when test="$test_type='run_pyd'">
|
|
|
- <xsl:text>r</xsl:text>
|
|
|
- </xsl:when>
|
|
|
- <xsl:when test="$test_type='run'">
|
|
|
- <xsl:text>r</xsl:text>
|
|
|
- </xsl:when>
|
|
|
- <xsl:when test="$test_type='run_fail'">
|
|
|
- <xsl:text>rf</xsl:text>
|
|
|
- </xsl:when>
|
|
|
- <xsl:when test="$test_type='compile'">
|
|
|
- <xsl:text>c</xsl:text>
|
|
|
- </xsl:when>
|
|
|
- <xsl:when test="$test_type='compile_fail'">
|
|
|
- <xsl:text>cf</xsl:text>
|
|
|
- </xsl:when>
|
|
|
- </xsl:choose>
|
|
|
- </a>
|
|
|
- </td>
|
|
|
- </xsl:template>
|
|
|
-
|
|
|
-
|
|
|
- <xsl:template match="/">
|
|
|
- <html>
|
|
|
- <head>
|
|
|
- <link rel="stylesheet" type="text/css" href="master.css" title="master" />
|
|
|
- <title>Boost regression - <xsl:value-of select="$mode"/> detailed report: <xsl:value-of select="$source"/></title>
|
|
|
- </head>
|
|
|
- <body>
|
|
|
+ <xsl:template match="/">
|
|
|
|
|
|
- <!-- header -->
|
|
|
+ <xsl:variable name="index_path" select="'index_.html'"/>
|
|
|
+
|
|
|
+ <!-- Index page -->
|
|
|
+ <head>
|
|
|
+ <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
|
|
|
+ <title>Boost regression: <xsl:value-of select="$source"/></title>
|
|
|
+ </head>
|
|
|
+ <frameset cols="170px,*" frameborder="0" framespacing="0" border="0">
|
|
|
+ <frame name="tocframe" src="toc.html" scrolling="auto"/>
|
|
|
+ <frame name="docframe" src="{$index_path}" scrolling="auto"/>
|
|
|
+ </frameset>
|
|
|
+
|
|
|
+ <!-- Index content -->
|
|
|
+ <xsl:message>Writing document <xsl:value-of select="$index_path"/></xsl:message>
|
|
|
+
|
|
|
+ <exsl:document href="{$index_path}"
|
|
|
+ method="html"
|
|
|
+ doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
|
+ encoding="utf-8"
|
|
|
+ indent="yes">
|
|
|
+
|
|
|
+ <html>
|
|
|
+ <head>
|
|
|
+ <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
|
|
|
+ </head>
|
|
|
+ <body>
|
|
|
+
|
|
|
+ <img border="0" src="../../c++boost.gif" width="277" height="86" align="right" alt="Boost logo"></img>
|
|
|
|
|
|
- <xsl:variable name="legend">
|
|
|
- <xsl:choose>
|
|
|
- <xsl:when test="$mode='user'">
|
|
|
- <tr>
|
|
|
- <td class="header-item">Legend</td>
|
|
|
- <td class="header-item-content">
|
|
|
-
|
|
|
- <table border="0" cellspacing="0" cellpadding="0" class="legend-table" summary="legend table">
|
|
|
- <tr>
|
|
|
- <td><table width="100%" summary="success legend"><tr class="detail-row-single"><td class="detail-user-success">pass</td></tr></table></td>
|
|
|
- <td class="legend-item">
|
|
|
- the test passes
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td><table width="100%" summary="fail legend"><tr><td class="detail-user-fail-expected">fail</td></tr></table></td>
|
|
|
- <td class="legend-item">
|
|
|
- a known test failure; click on the link to see the log
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td><table width="100%" summary="unexpected fail legend"><tr><td class="detail-user-fail-unexpected">unexp.</td></tr></table></td>
|
|
|
- <td class="legend-item">
|
|
|
- the test is known to pass, but is currently failing;
|
|
|
- click on the link to see the log
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td><table width="100%" summary="unusable legend"><tr><td class="detail-unusable">...</td></tr></table></td>
|
|
|
- <td class="legend-item">
|
|
|
- the library author marked it as unusable on particular platform/toolset
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
-
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </xsl:when>
|
|
|
- <xsl:when test="$mode='developer'">
|
|
|
- <tr>
|
|
|
- <td class="header-item">Legend</td>
|
|
|
- <td class="header-item-content">
|
|
|
- <table border="0" class="legend-table" summary="legend">
|
|
|
- <tr>
|
|
|
- <td><table width="100%" summary="success legend"><tr class="detail-row-single"><td class="detail-success-expected">pass</td></tr></table></td>
|
|
|
- <td class="legend-item">
|
|
|
- success
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td><table width="100%" summary="unexpected pass legend"><tr class="detail-row-single"><td class="detail-success-unexpected">pass</td></tr></table></td>
|
|
|
- <td class="legend-item">
|
|
|
- unexpected success
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td><table width="100%" summary="expected fail legend"><tr class="detail-row-single"><td class="detail-fail-expected">fail</td></tr></table></td>
|
|
|
- <td class="legend-item">
|
|
|
- expected failure
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td><table width="100%" summary="unexpected new fail legend"><tr class="detail-row-single"><td class="detail-fail-unexpected-new">fail</td></tr></table></td>
|
|
|
- <td class="legend-item">
|
|
|
- failure on a newly added test/compiler
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td><table width="100%" summary="unexpected fail legend"><tr class="detail-row-single"><td class="detail-fail-unexpected">fail</td></tr></table></td>
|
|
|
- <td class="legend-item">
|
|
|
- unexpected failure
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td><table width="100%" summary="unusable legend"><tr class="detail-row-single"><td class="detail-unusable">...</td></tr></table></td>
|
|
|
- <td class="legend-item">
|
|
|
- the library author marked it as unusable on particular platform/toolset
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </xsl:when>
|
|
|
- </xsl:choose>
|
|
|
- </xsl:variable>
|
|
|
+ <h1 class="page-title">
|
|
|
+ <xsl:value-of select="$mode"/>
|
|
|
+ <xsl:text> report: </xsl:text>
|
|
|
+ <a class="hover-link" href="summary.html" target="_top"><xsl:value-of select="$source"/></a>
|
|
|
+ </h1>
|
|
|
+
|
|
|
+ <div class="report-info">
|
|
|
+ <div>
|
|
|
+ <b>Report Time: </b> <xsl:value-of select="$run_date"/>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div>
|
|
|
+ <b>Purpose: </b>
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="$mode='user'">
|
|
|
+ The purpose of this report is to help a user to find out whether a particular library
|
|
|
+ works on the particular compiler(s). For CVS "health report", see
|
|
|
+ <a href="../{$alternate_mode}/index.html" target="_top">developer summary</a>.
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:when test="$mode='developer'">
|
|
|
+ Provides Boost developers with visual indication of the CVS "health". For user-level
|
|
|
+ report, see <a href="../{$alternate_mode}/index.html" target="_top">user summary</a>.
|
|
|
+ </xsl:when>
|
|
|
+ </xsl:choose>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="comment">
|
|
|
+ <xsl:if test="$comment_file != ''">
|
|
|
+ <xsl:copy-of select="document( $comment_file )"/>
|
|
|
+ </xsl:if>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </body>
|
|
|
+ </html>
|
|
|
+ </exsl:document>
|
|
|
+
|
|
|
+
|
|
|
+ <xsl:variable name="multiple.libraries" select="count( $libraries ) > 1"/>
|
|
|
+
|
|
|
+ <!-- TOC -->
|
|
|
+ <xsl:if test="$multiple.libraries">
|
|
|
+
|
|
|
+ <xsl:variable name="toc_path" select="'toc.html'"/>
|
|
|
+ <xsl:message>Writing document <xsl:value-of select="$toc_path"/></xsl:message>
|
|
|
+
|
|
|
+ <exsl:document href="{$toc_path}"
|
|
|
+ method="html"
|
|
|
+ doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
|
+ encoding="utf-8"
|
|
|
+ indent="yes">
|
|
|
+
|
|
|
+ <html>
|
|
|
+ <head>
|
|
|
+ <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
|
|
|
+ </head>
|
|
|
+ <body class="{$mode}-toc">
|
|
|
+ <div class="toc-header-entry">
|
|
|
+ <a href="index.html" class="toc-entry" target="_top">Report info</a>
|
|
|
+ </div>
|
|
|
+ <div class="toc-header-entry">
|
|
|
+ <a href="summary.html" class="toc-entry" target="_top">Summary</a>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <xsl:if test="$mode='developer'">
|
|
|
+ <div class="toc-header-entry">
|
|
|
+ <a href="issues.html" class="toc-entry" target="_top">Unresolved issues</a>
|
|
|
+ </div>
|
|
|
+ </xsl:if>
|
|
|
+ <hr/>
|
|
|
+
|
|
|
+ <xsl:for-each select="$libraries">
|
|
|
+ <xsl:sort select="." order="ascending" />
|
|
|
+ <div class="toc-entry">
|
|
|
+ <a href="{.}.html" class="toc-entry" target="_top">
|
|
|
+ <xsl:value-of select="."/>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ </xsl:for-each>
|
|
|
+ </body>
|
|
|
+ </html>
|
|
|
+
|
|
|
+ </exsl:document>
|
|
|
+ </xsl:if>
|
|
|
+
|
|
|
+ <!-- Libraries -->
|
|
|
+ <xsl:for-each select="$libraries">
|
|
|
+ <xsl:sort select="." order="ascending" />
|
|
|
+ <xsl:variable name="library" select="." />
|
|
|
+
|
|
|
+ <xsl:variable name="library_results" select="concat( $library, '_.html' )"/>
|
|
|
+ <xsl:variable name="library_page" select="concat( $library, '.html' )"/>
|
|
|
+
|
|
|
+ <!-- Library page -->
|
|
|
+ <xsl:message>Writing document <xsl:value-of select="$library_page"/></xsl:message>
|
|
|
+
|
|
|
+ <exsl:document href="{$library_page}"
|
|
|
+ method="html"
|
|
|
+ doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
|
+ encoding="utf-8"
|
|
|
+ indent="yes">
|
|
|
+
|
|
|
+ <html>
|
|
|
+ <head>
|
|
|
+ <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
|
|
|
+ <title>Boost regression: <xsl:value-of select="$library"/>/<xsl:value-of select="$source"/></title>
|
|
|
+ </head>
|
|
|
+ <frameset cols="170px,*" frameborder="0" framespacing="0" border="0">
|
|
|
+ <frame name="tocframe" src="toc.html" scrolling="auto"/>
|
|
|
+ <frame name="docframe" src="{$library_results}" scrolling="auto"/>
|
|
|
+ </frameset>
|
|
|
+ </html>
|
|
|
+ </exsl:document>
|
|
|
+
|
|
|
+ <!-- Library results frame -->
|
|
|
+ <xsl:message>Writing document <xsl:value-of select="$library_results"/></xsl:message>
|
|
|
+
|
|
|
+ <exsl:document href="{$library_results}"
|
|
|
+ method="html"
|
|
|
+ doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
|
+ encoding="utf-8"
|
|
|
+ indent="yes">
|
|
|
+
|
|
|
+ <html>
|
|
|
+ <head>
|
|
|
+ <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
|
|
|
+ </head>
|
|
|
+
|
|
|
+ <body>
|
|
|
|
|
|
- <div>
|
|
|
- <table border="0" summary="report header">
|
|
|
- <tr>
|
|
|
- <td><img border="0" src="../../c++boost.gif" width="277" height="86" alt="Boost logo"></img></td>
|
|
|
- <td>
|
|
|
<h1 class="page-title">
|
|
|
- <xsl:value-of select="$mode"/>
|
|
|
- <xsl:text> detailed report: </xsl:text>
|
|
|
- <xsl:value-of select="$source"/>
|
|
|
+ <a class="hover-link" name="{$library}" href="../../libs/{$library}">
|
|
|
+ <xsl:value-of select="$library" />
|
|
|
+ </a>
|
|
|
+ <xsl:text>/</xsl:text>
|
|
|
+ <a class="hover-link" href="summary.html" target="_top"><xsl:value-of select="$source"/></a>
|
|
|
</h1>
|
|
|
|
|
|
- <b>Report Time: </b> <xsl:value-of select="$run_date"/>
|
|
|
- <xsl:if test="$comment_file != ''">
|
|
|
- <xsl:copy-of select="document( $comment_file )"/>
|
|
|
+ <div class="report-info">
|
|
|
+ <b>Report Time: </b> <xsl:value-of select="$run_date"/>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <xsl:variable name="library_marks" select="$explicit_markup//library[ @name = $library ]/mark-unusable[ toolset/@name = $not_ordered_toolsets ]"/>
|
|
|
+
|
|
|
+ <table border="0" cellspacing="0" cellpadding="0" class="library-table" summary="library results">
|
|
|
+
|
|
|
+ <thead>
|
|
|
+ <xsl:call-template name="insert_toolsets_row">
|
|
|
+ <xsl:with-param name="library_marks" select="$library_marks"/>
|
|
|
+ <xsl:with-param name="library" select="$library"/>
|
|
|
+ <xsl:with-param name="toolsets" select="$ordered_toolsets"/>
|
|
|
+ </xsl:call-template>
|
|
|
+ </thead>
|
|
|
+ <tfoot>
|
|
|
+ <xsl:call-template name="insert_toolsets_row">
|
|
|
+ <xsl:with-param name="library_marks" select="$library_marks"/>
|
|
|
+ <xsl:with-param name="library" select="$library"/>
|
|
|
+ <xsl:with-param name="toolsets" select="$ordered_toolsets"/>
|
|
|
+ </xsl:call-template>
|
|
|
+ </tfoot>
|
|
|
+
|
|
|
+ <tbody>
|
|
|
+ <!-- lib_tests = test_log* -->
|
|
|
+ <xsl:variable name="lib_tests" select="//test-log[@library = $library]" />
|
|
|
+
|
|
|
+ <!-- lib_unique_test_names = test_log* -->
|
|
|
+ <xsl:variable name="lib_unique_test_names"
|
|
|
+ select="$lib_tests[ generate-id(.) = generate-id( key('test_name_key', concat( @library, '>@<', @test-name ) ) ) ]" />
|
|
|
+
|
|
|
+ <xsl:variable name="lib_corner_case_tests_markup" select="$explicit_markup//library[ @name = $library ]/test[ @corner-case='yes' ]"/>
|
|
|
+
|
|
|
+ <xsl:variable name="lib_general_tests"
|
|
|
+ select="meta:order_tests_by_name( $lib_unique_test_names[ not( @test-name = $lib_corner_case_tests_markup/@name ) ] )"/>
|
|
|
+
|
|
|
+
|
|
|
+ <xsl:variable name="lib_corner_case_tests" select="meta:order_tests_by_name( $lib_unique_test_names[ @test-name = $lib_corner_case_tests_markup/@name ] ) " />
|
|
|
+
|
|
|
+ <!-- general tests section -->
|
|
|
+
|
|
|
+ <xsl:call-template name="insert_test_section">
|
|
|
+ <xsl:with-param name="library" select="$library"/>
|
|
|
+ <xsl:with-param name="section_tests" select="$lib_general_tests"/>
|
|
|
+ <xsl:with-param name="lib_tests" select="$lib_tests"/>
|
|
|
+ <xsl:with-param name="toolsets" select="$ordered_toolsets"/>
|
|
|
+ </xsl:call-template>
|
|
|
+
|
|
|
+ <!-- corner-case tests section -->
|
|
|
+
|
|
|
+ <xsl:if test="count( $lib_corner_case_tests ) > 0">
|
|
|
+ <tr>
|
|
|
+ <!--<td colspan="2"> </td> -->
|
|
|
+ <td class="library-corner-case-header" colspan="{count($ordered_toolsets) + 3 }" align="center">Corner-case tests</td>
|
|
|
+ <!--<td> </td>-->
|
|
|
+ </tr>
|
|
|
+
|
|
|
+ <xsl:call-template name="insert_test_section">
|
|
|
+ <xsl:with-param name="library" select="$library"/>
|
|
|
+ <xsl:with-param name="section_tests" select="$lib_corner_case_tests"/>
|
|
|
+ <xsl:with-param name="lib_tests" select="$lib_tests"/>
|
|
|
+ <xsl:with-param name="toolsets" select="$ordered_toolsets"/>
|
|
|
+ </xsl:call-template>
|
|
|
+
|
|
|
+ </xsl:if>
|
|
|
+
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ <xsl:if test="count( $library_marks/note ) > 0 ">
|
|
|
+ <table border="0" cellpadding="0" cellspacing="0" class="library-library-notes" summary="library notes">
|
|
|
+ <xsl:for-each select="$library_marks/note">
|
|
|
+ <tr class="library-library-note">
|
|
|
+ <td valign="top" width="3em">
|
|
|
+ <a name="{$library}-note-{position()}">
|
|
|
+ <span class="super"><xsl:value-of select="position()"/></span>
|
|
|
+ </a>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <xsl:variable name="refid" select="@refid"/>
|
|
|
+ <xsl:call-template name="show_note">
|
|
|
+ <xsl:with-param name="note" select="." />
|
|
|
+ <xsl:with-param name="reference" select="$explicit_markup//note[ $refid = @id ]"/>
|
|
|
+ </xsl:call-template>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </xsl:for-each>
|
|
|
+ </table>
|
|
|
</xsl:if>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- <table border="0" class="header-table" summary="report description" >
|
|
|
- <tr>
|
|
|
- <td class="header-item">Purpose</td>
|
|
|
- <td class="header-item-content">
|
|
|
- Provides detailed explanation of the results reported on the
|
|
|
- <a href="{$mode}_summary_page.html"><xsl:value-of select="$mode"/> summary</a> page.
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <xsl:copy-of select="$legend"/>
|
|
|
- </table>
|
|
|
- <div class="legend">
|
|
|
- To specify the explicit markup edit status/explicit-failure-markup.xml
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
- <xsl:variable name="multiple.libraries" select="count( $libraries ) > 1"/>
|
|
|
-
|
|
|
- <!-- TOC -->
|
|
|
- <xsl:if test="$multiple.libraries">
|
|
|
- <div class="detail-toc">
|
|
|
- <a name="toc"></a>
|
|
|
- <ul>
|
|
|
- <xsl:for-each select="$libraries">
|
|
|
- <xsl:sort select="." order="ascending" />
|
|
|
- <li class="detail-toc-entry">
|
|
|
- <a href="#{.}" class="detail-toc-entry">
|
|
|
- <xsl:value-of select="."/>
|
|
|
- </a>
|
|
|
- </li>
|
|
|
- </xsl:for-each>
|
|
|
- </ul>
|
|
|
- </div>
|
|
|
- </xsl:if>
|
|
|
-
|
|
|
- <!-- for each library -->
|
|
|
- <xsl:for-each select="$libraries">
|
|
|
- <xsl:sort select="." order="ascending" />
|
|
|
- <xsl:variable name="library" select="." />
|
|
|
-
|
|
|
- <xsl:if test="$multiple.libraries">
|
|
|
- <div class="library-name">
|
|
|
- <a name="{$library}" href="../../libs/{$library}" class="library-link">
|
|
|
- <xsl:value-of select="$library" />
|
|
|
- </a>
|
|
|
- </div>
|
|
|
- </xsl:if>
|
|
|
-
|
|
|
- <xsl:variable name="library_marks" select="$explicit_markup//library[ @name = $library ]/mark-unusable[ toolset/@name = $not_ordered_toolsets ]"/>
|
|
|
-
|
|
|
- <table border="0" cellspacing="0" cellpadding="0" class="detail-table" summary="library results">
|
|
|
-
|
|
|
- <thead>
|
|
|
- <xsl:call-template name="insert_toolsets_row">
|
|
|
- <xsl:with-param name="library_marks" select="$library_marks"/>
|
|
|
- <xsl:with-param name="library" select="$library"/>
|
|
|
- <xsl:with-param name="toolsets" select="$ordered_toolsets"/>
|
|
|
- </xsl:call-template>
|
|
|
- </thead>
|
|
|
- <tfoot>
|
|
|
- <xsl:call-template name="insert_toolsets_row">
|
|
|
- <xsl:with-param name="library_marks" select="$library_marks"/>
|
|
|
- <xsl:with-param name="library" select="$library"/>
|
|
|
- <xsl:with-param name="toolsets" select="$ordered_toolsets"/>
|
|
|
- </xsl:call-template>
|
|
|
- </tfoot>
|
|
|
+
|
|
|
+ <xsl:copy-of select="document( concat( 'html/library_', $mode, '_legend.html' ) )"/>
|
|
|
+ <xsl:copy-of select="document( 'html/make_tinyurl.html' )"/>
|
|
|
|
|
|
- <tbody>
|
|
|
- <!-- lib_tests = test_log* -->
|
|
|
- <xsl:variable name="lib_tests" select="//test-log[@library = $library]" />
|
|
|
+ </body>
|
|
|
+ </html>
|
|
|
+
|
|
|
+ </exsl:document>
|
|
|
|
|
|
- <!-- lib_unique_test_names = test_log* -->
|
|
|
- <xsl:variable name="lib_unique_test_names"
|
|
|
- select="$lib_tests[ generate-id(.) = generate-id( key('test_name_key', concat( @library, '>@<', @test-name ) ) ) ]" />
|
|
|
-
|
|
|
- <xsl:variable name="lib_corner_case_tests_markup" select="$explicit_markup//library[ @name = $library ]/test[ @corner-case='yes' ]"/>
|
|
|
-
|
|
|
- <xsl:variable name="lib_general_tests"
|
|
|
- select="meta:order_tests_by_name( $lib_unique_test_names[ not( @test-name = $lib_corner_case_tests_markup/@name ) ] )"/>
|
|
|
-
|
|
|
-
|
|
|
- <xsl:variable name="lib_corner_case_tests" select="meta:order_tests_by_name( $lib_unique_test_names[ @test-name = $lib_corner_case_tests_markup/@name ] ) " />
|
|
|
-
|
|
|
- <!-- general tests section -->
|
|
|
+ </xsl:for-each>
|
|
|
|
|
|
- <xsl:call-template name="insert_test_section">
|
|
|
- <xsl:with-param name="library" select="$library"/>
|
|
|
- <xsl:with-param name="section_tests" select="$lib_general_tests"/>
|
|
|
- <xsl:with-param name="lib_tests" select="$lib_tests"/>
|
|
|
- <xsl:with-param name="toolsets" select="$ordered_toolsets"/>
|
|
|
- </xsl:call-template>
|
|
|
+ </xsl:template>
|
|
|
+
|
|
|
|
|
|
- <!-- corner-case tests section -->
|
|
|
+ <!-- report developer status -->
|
|
|
+ <xsl:template name="insert_cell_developer">
|
|
|
+ <xsl:param name="test_log"/>
|
|
|
+ <xsl:param name="log_link"/>
|
|
|
+
|
|
|
+ <xsl:variable name="is_new">
|
|
|
+ <xsl:if test="$test_log/@is-new = 'yes' and $test_log/@status = 'unexpected' and $test_log/@result != 'success'">
|
|
|
+ <xsl:value-of select="'-new'"/>
|
|
|
+ </xsl:if>
|
|
|
+ </xsl:variable>
|
|
|
|
|
|
- <xsl:if test="count( $lib_corner_case_tests ) > 0">
|
|
|
- <tr>
|
|
|
- <!--<td colspan="2"> </td> -->
|
|
|
- <td class="detail-corner-case-header" colspan="{count($ordered_toolsets) + 3 }" align="center">Corner-case tests</td>
|
|
|
- <!--<td> </td>-->
|
|
|
- </tr>
|
|
|
+ <xsl:variable name="class">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="not( $test_log )">
|
|
|
+ <xsl:text>library-missing</xsl:text>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:when test="meta:is_unusable( $explicit_markup, $test_log/@library, $test_log/@toolset )">
|
|
|
+ <xsl:text>library-unusable</xsl:text>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:otherwise>
|
|
|
+ <xsl:value-of select="concat( 'library-', $test_log/@result, '-', $test_log/@status, $is_new )"/>
|
|
|
+ </xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ </xsl:variable>
|
|
|
|
|
|
- <xsl:call-template name="insert_test_section">
|
|
|
- <xsl:with-param name="library" select="$library"/>
|
|
|
- <xsl:with-param name="section_tests" select="$lib_corner_case_tests"/>
|
|
|
- <xsl:with-param name="lib_tests" select="$lib_tests"/>
|
|
|
- <xsl:with-param name="toolsets" select="$ordered_toolsets"/>
|
|
|
- </xsl:call-template>
|
|
|
-
|
|
|
- </xsl:if>
|
|
|
-
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- <xsl:if test="count( $library_marks/note ) > 0 ">
|
|
|
- <table border="0" cellpadding="0" cellspacing="0" class="detail-library-notes" summary="library notes">
|
|
|
- <xsl:for-each select="$library_marks/note">
|
|
|
- <tr class="detail-library-note">
|
|
|
- <td valign="top" width="3em">
|
|
|
- <a name="{$library}-note-{position()}">
|
|
|
- <span class="super"><xsl:value-of select="position()"/></span>
|
|
|
- </a>
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <xsl:variable name="refid" select="@refid"/>
|
|
|
- <xsl:call-template name="show_note">
|
|
|
- <xsl:with-param name="note" select="." />
|
|
|
- <xsl:with-param name="reference" select="$explicit_markup//note[ $refid = @id ]"/>
|
|
|
- </xsl:call-template>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </xsl:for-each>
|
|
|
- </table>
|
|
|
- </xsl:if>
|
|
|
-
|
|
|
- <!-- Dont generate the link to toc and summary if there is just on library -->
|
|
|
- <xsl:if test="$multiple.libraries">
|
|
|
- <div class="detail-footer">
|
|
|
- <a href="#toc" class="back-link">toc</a>
|
|
|
- <xsl:text> | </xsl:text>
|
|
|
- <a href="{$mode}_summary_page.html" class="back-link">summary</a>
|
|
|
- </div>
|
|
|
- </xsl:if>
|
|
|
- </xsl:for-each>
|
|
|
- <div>
|
|
|
- <a href="http://validator.w3.org/check/referer">
|
|
|
- <img border="0" src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!" height="31" width="88"/>
|
|
|
- </a>
|
|
|
- </div>
|
|
|
-
|
|
|
- </body>
|
|
|
- </html>
|
|
|
-
|
|
|
- </xsl:template>
|
|
|
-
|
|
|
-
|
|
|
- <!-- report developer status -->
|
|
|
- <xsl:template name="insert_cell_developer">
|
|
|
- <xsl:param name="test_log"/>
|
|
|
- <xsl:param name="log_link"/>
|
|
|
-
|
|
|
- <xsl:variable name="is_new">
|
|
|
- <xsl:if test="$test_log/@is-new = 'yes' and $test_log/@status = 'unexpected' and $test_log/@result != 'success'">
|
|
|
- <xsl:value-of select="'-new'"/>
|
|
|
- </xsl:if>
|
|
|
- </xsl:variable>
|
|
|
+ <td class="{$class}">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="not( $test_log )">
|
|
|
+ <xsl:text>missing</xsl:text>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:when test="$test_log/@result != 'success' and $test_log/@status = 'expected'">
|
|
|
+ <a href="{$log_link}" class="log-link" target="_top">
|
|
|
+ fail
|
|
|
+ </a>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:when test="$test_log/@result != 'success' and $test_log/@status = 'unexpected'">
|
|
|
+ <a href="{$log_link}" class="log-link" target="_top">
|
|
|
+ fail
|
|
|
+ </a>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:when test="$test_log/@result = 'success' and $test_log/@status = 'unexpected'">
|
|
|
+ pass
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:otherwise>
|
|
|
+ <xsl:text>pass</xsl:text>
|
|
|
+ </xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ <xsl:if test="count( $test_log ) > 1" >
|
|
|
+ <div class="library-conf-problem">conf. problem</div>
|
|
|
+ </xsl:if>
|
|
|
+ </td>
|
|
|
+ </xsl:template>
|
|
|
|
|
|
- <xsl:variable name="class">
|
|
|
- <xsl:choose>
|
|
|
- <xsl:when test="not( $test_log )">
|
|
|
- <xsl:text>detail-missing</xsl:text>
|
|
|
+ <!-- report user status -->
|
|
|
+ <xsl:template name="insert_cell_user">
|
|
|
+ <xsl:param name="test_log"/>
|
|
|
+ <xsl:param name="log_link"/>
|
|
|
+
|
|
|
+ <xsl:variable name="class">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="not( $test_log )">
|
|
|
+ <xsl:text>library-missing</xsl:text>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:when test="meta:is_unusable( $explicit_markup, $test_log/@library, $test_log/@toolset )">
|
|
|
+ <xsl:text>library-unusable</xsl:text>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:when test="$test_log[@result='fail' and @status='unexpected']">
|
|
|
+ <xsl:text>library-user-fail-unexpected</xsl:text>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:when test="$test_log[ @result='fail' and @status='expected' ]">
|
|
|
+ <xsl:text>library-user-fail-expected</xsl:text>
|
|
|
</xsl:when>
|
|
|
- <xsl:when test="meta:is_unusable( $explicit_markup, $test_log/@library, $test_log/@toolset )">
|
|
|
- <xsl:text>detail-unusable</xsl:text>
|
|
|
+ <xsl:when test="$test_log[ @result='success']">
|
|
|
+ <xsl:text>library-user-success</xsl:text>
|
|
|
</xsl:when>
|
|
|
<xsl:otherwise>
|
|
|
- <xsl:value-of select="concat( 'detail-', $test_log/@result, '-', $test_log/@status, $is_new )"/>
|
|
|
+ <xsl:message terminate="yes">
|
|
|
+ Unknown status
|
|
|
+ </xsl:message>
|
|
|
</xsl:otherwise>
|
|
|
- </xsl:choose>
|
|
|
- </xsl:variable>
|
|
|
+ </xsl:choose>
|
|
|
|
|
|
- <td class="{$class}">
|
|
|
- <xsl:choose>
|
|
|
- <xsl:when test="not( $test_log )">
|
|
|
- <xsl:text>missing</xsl:text>
|
|
|
- </xsl:when>
|
|
|
- <xsl:when test="$test_log/@result != 'success' and $test_log/@status = 'expected'">
|
|
|
- <a href="{$log_link}" class="log-link">
|
|
|
- fail
|
|
|
- </a>
|
|
|
- </xsl:when>
|
|
|
- <xsl:when test="$test_log/@result != 'success' and $test_log/@status = 'unexpected'">
|
|
|
- <a href="{$log_link}" class="log-link">
|
|
|
- fail
|
|
|
- </a>
|
|
|
- </xsl:when>
|
|
|
- <xsl:when test="$test_log/@result = 'success' and $test_log/@status = 'unexpected'">
|
|
|
- pass
|
|
|
- </xsl:when>
|
|
|
- <xsl:otherwise>
|
|
|
- <xsl:text>pass</xsl:text>
|
|
|
- </xsl:otherwise>
|
|
|
- </xsl:choose>
|
|
|
- <xsl:if test="count( $test_log ) > 1" >
|
|
|
- <div class="detail-conf-problem">conf. problem</div>
|
|
|
- </xsl:if>
|
|
|
- </td>
|
|
|
- </xsl:template>
|
|
|
-
|
|
|
- <!-- report user status -->
|
|
|
- <xsl:template name="insert_cell_user">
|
|
|
- <xsl:param name="test_log"/>
|
|
|
- <xsl:param name="log_link"/>
|
|
|
-
|
|
|
- <xsl:variable name="class">
|
|
|
- <xsl:choose>
|
|
|
- <xsl:when test="not( $test_log )">
|
|
|
- <xsl:text>detail-missing</xsl:text>
|
|
|
- </xsl:when>
|
|
|
- <xsl:when test="meta:is_unusable( $explicit_markup, $test_log/@library, $test_log/@toolset )">
|
|
|
- <xsl:text>detail-unusable</xsl:text>
|
|
|
- </xsl:when>
|
|
|
- <xsl:when test="$test_log[@result='fail' and @status='unexpected']">
|
|
|
- <xsl:text>detail-user-fail-unexpected</xsl:text>
|
|
|
- </xsl:when>
|
|
|
- <xsl:when test="$test_log[ @result='fail' and @status='expected' ]">
|
|
|
- <xsl:text>detail-user-fail-expected</xsl:text>
|
|
|
- </xsl:when>
|
|
|
- <xsl:when test="$test_log[ @result='success']">
|
|
|
- <xsl:text>detail-user-success</xsl:text>
|
|
|
- </xsl:when>
|
|
|
- <xsl:otherwise>
|
|
|
- <xsl:message terminate="yes">
|
|
|
- Unknown status
|
|
|
- </xsl:message>
|
|
|
- </xsl:otherwise>
|
|
|
- </xsl:choose>
|
|
|
-
|
|
|
- </xsl:variable>
|
|
|
-
|
|
|
- <td class="{$class}">
|
|
|
- <xsl:choose>
|
|
|
- <xsl:when test="not( $test_log )">
|
|
|
- missing
|
|
|
- </xsl:when>
|
|
|
- <xsl:when test="$test_log/@result != 'success' and $test_log/@status = 'expected'">
|
|
|
- <a href="{$log_link}" class="log-link">
|
|
|
- fail
|
|
|
- </a>
|
|
|
- </xsl:when>
|
|
|
- <xsl:when test="$test_log/@result != 'success'">
|
|
|
- <a href="{$log_link}" class="log-link">
|
|
|
- unexp.
|
|
|
- </a>
|
|
|
- </xsl:when>
|
|
|
- <xsl:otherwise>
|
|
|
- <xsl:text>pass</xsl:text>
|
|
|
- </xsl:otherwise>
|
|
|
- </xsl:choose>
|
|
|
-
|
|
|
- <xsl:if test="count( $test_log ) > 1" >
|
|
|
- <div class="conf-problem">conf. problem</div>
|
|
|
- </xsl:if>
|
|
|
- </td>
|
|
|
- </xsl:template>
|
|
|
-
|
|
|
- <xsl:template name="insert_test_line">
|
|
|
- <xsl:param name="library"/>
|
|
|
- <xsl:param name="test_name"/>
|
|
|
- <xsl:param name="test_results"/>
|
|
|
- <xsl:param name="toolsets"/>
|
|
|
- <xsl:param name="line_mod"/>
|
|
|
-
|
|
|
- <xsl:variable name="test_program">
|
|
|
- <xsl:value-of select="$test_results[1]/@test-program"/>
|
|
|
</xsl:variable>
|
|
|
|
|
|
- <xsl:variable name="test_header">
|
|
|
- <td class="test-name">
|
|
|
- <a href="../../{$test_program}" class="test-link">
|
|
|
- <xsl:value-of select="$test_name"/>
|
|
|
- </a>
|
|
|
- </td>
|
|
|
- </xsl:variable>
|
|
|
+ <td class="{$class}">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="not( $test_log )">
|
|
|
+ missing
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:when test="$test_log/@result != 'success' and $test_log/@status = 'expected'">
|
|
|
+ <a href="{$log_link}" class="log-link" target="_top">
|
|
|
+ fail
|
|
|
+ </a>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:when test="$test_log/@result != 'success'">
|
|
|
+ <a href="{$log_link}" class="log-link" target="_top">
|
|
|
+ unexp.
|
|
|
+ </a>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:otherwise>
|
|
|
+ <xsl:text>pass</xsl:text>
|
|
|
+ </xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
|
|
|
- <tr class="detail-row{$line_mod}">
|
|
|
- <xsl:copy-of select="$test_header"/>
|
|
|
- <xsl:call-template name="test_type_col"/>
|
|
|
-
|
|
|
- <xsl:for-each select="$toolsets/toolset">
|
|
|
- <xsl:variable name="toolset" select="@toolset" />
|
|
|
+ <xsl:if test="count( $test_log ) > 1" >
|
|
|
+ <div class="conf-problem">conf. problem</div>
|
|
|
+ </xsl:if>
|
|
|
+ </td>
|
|
|
+ </xsl:template>
|
|
|
|
|
|
- <xsl:variable name="test_result_for_toolset" select="$test_results[ @toolset = $toolset ]"/>
|
|
|
- <xsl:choose>
|
|
|
- <xsl:when test="$mode='user'">
|
|
|
- <xsl:call-template name="insert_cell_user">
|
|
|
- <xsl:with-param name="test_log" select="$test_result_for_toolset"/>
|
|
|
- <xsl:with-param name="log_link" select="meta:output_file_path( $test_result_for_toolset/@target-directory )"/>
|
|
|
- </xsl:call-template>
|
|
|
- </xsl:when>
|
|
|
- <xsl:when test="$mode='developer'">
|
|
|
- <xsl:call-template name="insert_cell_developer">
|
|
|
- <xsl:with-param name="test_log" select="$test_result_for_toolset"/>
|
|
|
- <xsl:with-param name="log_link" select="meta:output_file_path( $test_result_for_toolset/@target-directory )"/>
|
|
|
+ <xsl:template name="insert_test_line">
|
|
|
+ <xsl:param name="library"/>
|
|
|
+ <xsl:param name="test_name"/>
|
|
|
+ <xsl:param name="test_results"/>
|
|
|
+ <xsl:param name="toolsets"/>
|
|
|
+ <xsl:param name="line_mod"/>
|
|
|
+
|
|
|
+ <xsl:variable name="test_program">
|
|
|
+ <xsl:value-of select="$test_results[1]/@test-program"/>
|
|
|
+ </xsl:variable>
|
|
|
+
|
|
|
+ <xsl:variable name="test_header">
|
|
|
+ <td class="test-name">
|
|
|
+ <a href="../../{$test_program}" class="test-link">
|
|
|
+ <xsl:value-of select="$test_name"/>
|
|
|
+ </a>
|
|
|
+ </td>
|
|
|
+ </xsl:variable>
|
|
|
+
|
|
|
+ <tr class="library-row{$line_mod}">
|
|
|
+ <xsl:copy-of select="$test_header"/>
|
|
|
+ <xsl:call-template name="test_type_col"/>
|
|
|
+
|
|
|
+ <xsl:for-each select="$toolsets/toolset">
|
|
|
+ <xsl:variable name="toolset" select="@toolset" />
|
|
|
+
|
|
|
+ <!-- Write log file -->
|
|
|
+ <xsl:variable name="test_result_for_toolset" select="$test_results[ @toolset = $toolset ]"/>
|
|
|
+ <xsl:variable name="log_file" select="meta:output_file_path( $test_result_for_toolset/@target-directory )"/>
|
|
|
+ <xsl:message>Writing document <xsl:value-of select="$log_file"/></xsl:message>
|
|
|
+
|
|
|
+ <exsl:document href="{$log_file}"
|
|
|
+ method="html"
|
|
|
+ doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
|
+ encoding="utf-8"
|
|
|
+ indent="yes">
|
|
|
+
|
|
|
+ <html>
|
|
|
+ <head>
|
|
|
+ <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
|
|
|
+ <!--<title>Boost regression unresolved issues: <xsl:value-of select="$source"/></title>-->
|
|
|
+ </head>
|
|
|
+ <frameset cols="170px,*" frameborder="0" framespacing="0" border="0">
|
|
|
+ <frame name="tocframe" src="../toc.html" scrolling="auto"/>
|
|
|
+ <frame name="docframe" src="../../{$log_file}" scrolling="auto"/>
|
|
|
+ </frameset>
|
|
|
+ </html>
|
|
|
+ </exsl:document>
|
|
|
+
|
|
|
+ <!-- Insert cell -->
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="$mode='user'">
|
|
|
+ <xsl:call-template name="insert_cell_user">
|
|
|
+ <xsl:with-param name="test_log" select="$test_result_for_toolset"/>
|
|
|
+ <xsl:with-param name="log_link" select="$log_file"/>
|
|
|
+ </xsl:call-template>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:when test="$mode='developer'">
|
|
|
+ <xsl:call-template name="insert_cell_developer">
|
|
|
+ <xsl:with-param name="test_log" select="$test_result_for_toolset"/>
|
|
|
+ <xsl:with-param name="log_link" select="$log_file"/>
|
|
|
+ </xsl:call-template>
|
|
|
+ </xsl:when>
|
|
|
+ </xsl:choose>
|
|
|
+
|
|
|
+ </xsl:for-each>
|
|
|
+ <xsl:copy-of select="$test_header"/>
|
|
|
+ </tr>
|
|
|
+ </xsl:template>
|
|
|
+
|
|
|
+ <xsl:template name="insert_test_section">
|
|
|
+ <xsl:param name="library"/>
|
|
|
+ <xsl:param name="section_tests"/>
|
|
|
+ <xsl:param name="lib_tests"/>
|
|
|
+ <xsl:param name="toolsets"/>
|
|
|
+
|
|
|
+ <xsl:for-each select="$section_tests">
|
|
|
+ <xsl:variable name="test_name" select="@test-name"/>
|
|
|
+ <xsl:variable name="line_mod">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="1 = last()">
|
|
|
+ <xsl:text>-single</xsl:text>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:when test="generate-id( . ) = generate-id( $section_tests[1] )">
|
|
|
+ <xsl:text>-first</xsl:text>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:when test="generate-id( . ) = generate-id( $section_tests[last()] )">
|
|
|
+ <xsl:text>-last</xsl:text>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:otherwise>
|
|
|
+ <xsl:text></xsl:text>
|
|
|
+ </xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ </xsl:variable>
|
|
|
+
|
|
|
+ <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"/>
|
|
|
+ <xsl:with-param name="test_name" select="$test_name"/>
|
|
|
+ <xsl:with-param name="line_mod" select="$line_mod"/>
|
|
|
</xsl:call-template>
|
|
|
- </xsl:when>
|
|
|
- </xsl:choose>
|
|
|
-
|
|
|
- </xsl:for-each>
|
|
|
- <xsl:copy-of select="$test_header"/>
|
|
|
- </tr>
|
|
|
- </xsl:template>
|
|
|
-
|
|
|
- <xsl:template name="insert_test_section">
|
|
|
- <xsl:param name="library"/>
|
|
|
- <xsl:param name="section_tests"/>
|
|
|
- <xsl:param name="lib_tests"/>
|
|
|
- <xsl:param name="toolsets"/>
|
|
|
-
|
|
|
- <xsl:for-each select="$section_tests">
|
|
|
- <xsl:variable name="test_name" select="@test-name"/>
|
|
|
- <xsl:variable name="line_mod">
|
|
|
- <xsl:choose>
|
|
|
- <xsl:when test="1 = last()">
|
|
|
- <xsl:text>-single</xsl:text>
|
|
|
- </xsl:when>
|
|
|
- <xsl:when test="generate-id( . ) = generate-id( $section_tests[1] )">
|
|
|
- <xsl:text>-first</xsl:text>
|
|
|
- </xsl:when>
|
|
|
- <xsl:when test="generate-id( . ) = generate-id( $section_tests[last()] )">
|
|
|
- <xsl:text>-last</xsl:text>
|
|
|
- </xsl:when>
|
|
|
- <xsl:otherwise>
|
|
|
- <xsl:text></xsl:text>
|
|
|
- </xsl:otherwise>
|
|
|
- </xsl:choose>
|
|
|
- </xsl:variable>
|
|
|
+ </xsl:for-each>
|
|
|
|
|
|
- <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"/>
|
|
|
- <xsl:with-param name="test_name" select="$test_name"/>
|
|
|
- <xsl:with-param name="line_mod" select="$line_mod"/>
|
|
|
- </xsl:call-template>
|
|
|
- </xsl:for-each>
|
|
|
-
|
|
|
- </xsl:template>
|
|
|
-
|
|
|
- <func:function name="meta:order_tests_by_name">
|
|
|
- <xsl:param name="tests"/>
|
|
|
+ </xsl:template>
|
|
|
|
|
|
- <xsl:variable name="a">
|
|
|
- <xsl:for-each select="$tests">
|
|
|
- <xsl:sort select="@test-name" order="ascending"/>
|
|
|
- <xsl:copy-of select="."/>
|
|
|
- </xsl:for-each>
|
|
|
- </xsl:variable>
|
|
|
- <func:result select="exsl:node-set( $a )/*"/>
|
|
|
- </func:function>
|
|
|
+ <func:function name="meta:order_tests_by_name">
|
|
|
+ <xsl:param name="tests"/>
|
|
|
|
|
|
+ <xsl:variable name="a">
|
|
|
+ <xsl:for-each select="$tests">
|
|
|
+ <xsl:sort select="@test-name" order="ascending"/>
|
|
|
+ <xsl:copy-of select="."/>
|
|
|
+ </xsl:for-each>
|
|
|
+ </xsl:variable>
|
|
|
+ <func:result select="exsl:node-set( $a )/*"/>
|
|
|
+ </func:function>
|
|
|
|
|
|
</xsl:stylesheet>
|