summaryrefslogtreecommitdiff
path: root/tools/regression/xsl_reports/xsl/v2
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-10-30 12:57:26 -0700
committerAnas Nashif <anas.nashif@intel.com>2012-10-30 12:57:26 -0700
commit1a78a62555be32868418fe52f8e330c9d0f95d5a (patch)
treed3765a80e7d3b9640ec2e930743630cd6b9fce2b /tools/regression/xsl_reports/xsl/v2
downloadboost-1a78a62555be32868418fe52f8e330c9d0f95d5a.tar.gz
boost-1a78a62555be32868418fe52f8e330c9d0f95d5a.tar.bz2
boost-1a78a62555be32868418fe52f8e330c9d0f95d5a.zip
Imported Upstream version 1.49.0upstream/1.49.0
Diffstat (limited to 'tools/regression/xsl_reports/xsl/v2')
-rw-r--r--tools/regression/xsl_reports/xsl/v2/add_expected_results.xsl270
-rw-r--r--tools/regression/xsl_reports/xsl/v2/boostbook_log.xsl42
-rw-r--r--tools/regression/xsl_reports/xsl/v2/common.xsl668
-rw-r--r--tools/regression/xsl_reports/xsl/v2/dump_toolsets.xsl39
-rw-r--r--tools/regression/xsl_reports/xsl/v2/expected_to_1_33_format.xsl32
-rw-r--r--tools/regression/xsl_reports/xsl/v2/html/issues_legend.html36
-rw-r--r--tools/regression/xsl_reports/xsl/v2/html/library_developer_legend.html82
-rw-r--r--tools/regression/xsl_reports/xsl/v2/html/library_user_legend.html89
-rw-r--r--tools/regression/xsl_reports/xsl/v2/html/make_tinyurl.html22
-rw-r--r--tools/regression/xsl_reports/xsl/v2/html/master.css654
-rw-r--r--tools/regression/xsl_reports/xsl/v2/html/summary_developer_legend.html72
-rw-r--r--tools/regression/xsl_reports/xsl/v2/html/summary_user_legend.html76
-rw-r--r--tools/regression/xsl_reports/xsl/v2/issues_page.xsl327
-rw-r--r--tools/regression/xsl_reports/xsl/v2/links_page.xsl399
-rw-r--r--tools/regression/xsl_reports/xsl/v2/produce_expected_results.xsl36
-rw-r--r--tools/regression/xsl_reports/xsl/v2/result_page.xsl691
-rw-r--r--tools/regression/xsl_reports/xsl/v2/runners.xsl56
-rw-r--r--tools/regression/xsl_reports/xsl/v2/summary_page.xsl367
18 files changed, 3958 insertions, 0 deletions
diff --git a/tools/regression/xsl_reports/xsl/v2/add_expected_results.xsl b/tools/regression/xsl_reports/xsl/v2/add_expected_results.xsl
new file mode 100644
index 0000000000..b519a7754f
--- /dev/null
+++ b/tools/regression/xsl_reports/xsl/v2/add_expected_results.xsl
@@ -0,0 +1,270 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Copyright MetaCommunications, Inc. 2003-2007.
+
+Distributed under 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:func="http://exslt.org/functions"
+ xmlns:meta="http://www.meta-comm.com"
+ extension-element-prefixes="func"
+ exclude-result-prefixes="func meta"
+ version="1.0">
+
+ <xsl:import href="common.xsl"/>
+
+ <xsl:output method="xml" encoding="utf-8"/>
+
+ <xsl:param name="expected_results_file"/>
+ <xsl:param name="failures_markup_file"/>
+ <xsl:param name="source"/>
+ <xsl:variable name="expected_results" select="document( $expected_results_file )" />
+
+ <func:function name="meta:is_test_log_complete">
+ <xsl:param name="test_log"/>
+ <xsl:variable name="type" select="$test_log/@test-type"/>
+ <func:result>
+ <xsl:choose>
+ <xsl:when test="$type='compile' or $type='compile_fail' or $test_log/compile/@result='fail' ">
+ <xsl:value-of select="count( $test_log/compile ) = 1 and count( $test_log/link) = 0 and count( $test_log/run) = 0"/>
+ </xsl:when>
+ <xsl:when test="$type='link' or $type='link_fail' or $type='' or $type='lib' or $test_log/link/@result='fail'">
+ <xsl:value-of select="count( $test_log/compile) = 1 and count( $test_log/link) = 1 and count( $test_log/run) = 0"/></xsl:when>
+ <xsl:when test="$type='run' or $type='run_fail' or $type='run_pyd' or $type='run_mpi'">
+ <xsl:value-of select="count( $test_log/compile) = 1 and count( $test_log/link) = 1 and count($test_log/run) = 1 "/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:message terminate="yes">
+ Unknown test type "<xsl:value-of select="$type"/>"
+ </xsl:message>
+ </xsl:otherwise>
+ </xsl:choose>
+ </func:result>
+ </func:function>
+
+
+ <xsl:key name = "trk" match = "test-result" use = "concat( ../../@name, '-', ../@name, '-', @test-name )" />
+ <xsl:key name = "tak" match = "toolset-alias" use = "@name" />
+
+ <xsl:variable name="failures_markup" select="document( $failures_markup_file )" />
+ <xsl:template match="/">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <xsl:template match="test-log">
+ <xsl:variable name="test_log" select="."/>
+ <xsl:variable name="library" select="@library"/>
+ <xsl:variable name="test-name" select="@test-name"/>
+ <xsl:variable name="toolset" select="@toolset"/>
+
+ <xsl:variable name="is_complete" select="meta:is_test_log_complete( $test_log )"/>
+
+ <xsl:element name="{local-name()}">
+ <xsl:apply-templates select="@*"/>
+
+ <xsl:variable name="has_failures" select="./*/@result = 'fail'"/>
+ <xsl:variable name="actual_result">
+ <xsl:choose>
+ <xsl:when test="$has_failures or not( $is_complete )" >
+ <xsl:text>fail</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>success</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <!--
+ Select expected_results context
+ See http://clover.slavic.pitt.edu/~repertorium/plectogram/keys/keys.html for a good explanation.
+
+ Briefly, for-each doesn't iterate through expected_results, it just selects expected result
+ as current context to make "key" function work.
+ -->
+
+ <xsl:for-each select="$expected_results">
+
+ <xsl:variable name="main_toolset" select="key( 'tak', $toolset )/../@name" />
+ <xsl:variable name="toolset_name">
+ <xsl:choose>
+ <xsl:when test="$main_toolset"><xsl:value-of select="$main_toolset"/></xsl:when>
+ <xsl:otherwise><xsl:value-of select="$toolset"/></xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="expected_results_test_case" select="key( 'trk', concat( $toolset_name, '-', $library, '-', $test-name ) )"/>
+ <xsl:variable name="test_case_markup" select="$failures_markup//library[@name=$library]/test[ meta:re_match( @name, $test-name ) ]"/>
+ <xsl:variable name="test_failures_markup" select="$test_case_markup/mark-failure/toolset[ meta:re_match( @name, $toolset ) ]/.."/>
+ <xsl:variable name="test_failures_markup2" select="$failures_markup//library[@name=$library]/mark-expected-failures/test[ meta:re_match( @name, $test-name ) ]/../toolset[ meta:re_match( @name, $toolset ) ]/.."/>
+
+ <xsl:variable name="category">
+ <xsl:choose>
+ <xsl:when test="$test_case_markup/@category">
+ <xsl:value-of select="$test_case_markup/@category"/>
+ </xsl:when>
+ <xsl:otherwise>0</xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+
+ <xsl:variable name="is_new">
+ <xsl:choose>
+ <xsl:when test="$expected_results_test_case">
+ <xsl:text>no</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>yes</xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+
+ <xsl:variable name="has_explicit_markup" select="count( $test_failures_markup ) > 0 or count( $test_failures_markup2 ) > 0"/>
+
+ <xsl:variable name="expected_result">
+ <xsl:choose>
+ <xsl:when test="$has_explicit_markup">
+ <xsl:text>fail</xsl:text>
+ </xsl:when>
+
+ <xsl:otherwise>
+ <xsl:choose>
+ <xsl:when test="$expected_results_test_case and $expected_results_test_case/@result = 'fail'">
+ <xsl:text>fail</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>success</xsl:otherwise>
+ </xsl:choose>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="status">
+ <xsl:choose>
+ <xsl:when test="$expected_result = $actual_result">expected</xsl:when>
+ <xsl:otherwise>unexpected</xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="unexpected_success" select="$status = 'unexpected' and $actual_result = 'success'"/>
+
+ <xsl:variable name="expected_reason">
+ <xsl:choose>
+ <xsl:when test="$test_failures_markup/@reason">
+ <xsl:value-of select="$test_failures_markup/@reason"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$test_failures_markup2/@reason"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+
+ <xsl:variable name="notes">
+
+ <xsl:if test="$unexpected_success and $has_explicit_markup">
+ <note>
+ <span class="auto-note">
+ This test case was explicitly marked up in
+ <a href="http://svn.boost.org/svn/boost/{$source}/status/explicit-failures-markup.xml">
+ status/explicit-failures-markup.xml</a> file in the Boost SVN as "expected to fail",
+ but is passing. Please consult the notes/output below for more details.
+ </span>
+ </note>
+ </xsl:if>
+
+ <xsl:if test="$has_explicit_markup and count( $test_failures_markup2/note ) = 0 and count( $test_failures_markup/note ) = 0">
+ <xsl:choose>
+ <xsl:when test="$unexpected_success">
+ <note>
+ <span class="auto-note">
+ No explanation was provided for this markup. Please contact the library
+ author(s)/maintainer(s) for more details.
+ </span>
+ </note>
+ </xsl:when>
+ <xsl:otherwise>
+ <note>
+ <span class="auto-note">
+ This failure was explicitly marked as expected in
+ <a href="http://svn.boost.org/svn/boost/{$source}/status/explicit-failures-markup.xml">
+ status/explicit-failures-markup.xml</a> file in the Boost SVN.
+ Please contact the library author(s)/maintainer(s) for the explanation of this markup.
+ </span>
+ </note>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:if>
+
+ <xsl:if test="count( $test_failures_markup ) > 0">
+ <xsl:for-each select="$test_failures_markup/note">
+ <xsl:copy-of select="."/>
+ </xsl:for-each>
+ </xsl:if>
+
+ <xsl:if test="count( $test_failures_markup2 ) > 0">
+ <xsl:for-each select="$test_failures_markup2/note">
+ <xsl:copy-of select="."/>
+ </xsl:for-each>
+ </xsl:if>
+
+
+ <xsl:if test="$expected_results_test_case and $expected_results_test_case/@result = 'fail'">
+ <xsl:choose>
+ <xsl:when test="$unexpected_success">
+ <note>
+ <span class="auto-note">
+ This test case used to fail in the reference ("last-known-good") release.
+ </span>
+ </note>
+ </xsl:when>
+ <xsl:otherwise>
+ <note>
+ <span class="auto-note">
+ This failure was present in the reference ("last-known-good") release.
+ </span>
+ </note>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:if>
+
+ <xsl:if test="not( $is_complete ) and not( $has_failures )">
+ <note>
+ <span class="internal-error-note">
+ <b>[Reporting Tools Internal Error]</b> This test case's XML is missing one or more log entries
+ of the regression run's steps associated with the test case's type ("<xsl:value-of select="$test_log/@test-type"/>").
+ Please <a href="mailto:mailto:boost-testing@lists.boost.org">contact reporting tools
+ maintainers</a> about this problem.
+ </span>
+ </note>
+ </xsl:if>
+ </xsl:variable>
+
+ <xsl:attribute name="result"><xsl:value-of select="$actual_result"/></xsl:attribute>
+ <xsl:attribute name="expected-result"><xsl:value-of select="$expected_result"/></xsl:attribute>
+ <xsl:attribute name="expected-reason"><xsl:value-of select="$expected_reason"/></xsl:attribute>
+ <xsl:attribute name="status"><xsl:value-of select="$status"/></xsl:attribute>
+ <xsl:attribute name="is-new"><xsl:value-of select="$is_new"/></xsl:attribute>
+ <xsl:attribute name="category"><xsl:value-of select="$category"/></xsl:attribute>
+ <xsl:element name="notes"><xsl:copy-of select="$notes"/></xsl:element>
+
+ <xsl:apply-templates select="$test_log/node()" />
+ </xsl:for-each>
+ </xsl:element>
+ </xsl:template>
+
+ <xsl:template match="*">
+ <xsl:element name="{local-name()}">
+ <xsl:apply-templates select="@*"/>
+ <xsl:apply-templates select="node()" />
+ </xsl:element>
+ </xsl:template>
+
+ <xsl:template match="@*">
+ <xsl:copy-of select="." />
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/tools/regression/xsl_reports/xsl/v2/boostbook_log.xsl b/tools/regression/xsl_reports/xsl/v2/boostbook_log.xsl
new file mode 100644
index 0000000000..009f0eb27c
--- /dev/null
+++ b/tools/regression/xsl_reports/xsl/v2/boostbook_log.xsl
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Copyright MetaCommunications, Inc. 2003-2007.
+
+Distributed under 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:func="http://exslt.org/functions"
+ xmlns:meta="http://www.meta-comm.com"
+ extension-element-prefixes="func"
+ exclude-result-prefixes="func meta"
+ version="1.0">
+
+<xsl:output method="html" encoding="UTF-8"/>
+<xsl:template match="/">
+ <html>
+ <head>
+ <title>BoostBook build log for <xsl:value-of select="build/@timestamp"/></title>
+ <style>
+ span.failure { background-color: red; }
+ </style>
+ </head>
+ <body>
+ <xsl:apply-templates/>
+ </body>
+ </html>
+</xsl:template>
+ <xsl:template match="build">
+ <pre>
+ <xsl:apply-templates/>
+ </pre>
+ </xsl:template>
+
+ <xsl:template match="line">
+ <span class="{@type}"><xsl:value-of select="text()"/></span><br/>
+ </xsl:template>
+</xsl:stylesheet> \ No newline at end of file
diff --git a/tools/regression/xsl_reports/xsl/v2/common.xsl b/tools/regression/xsl_reports/xsl/v2/common.xsl
new file mode 100644
index 0000000000..14023f0395
--- /dev/null
+++ b/tools/regression/xsl_reports/xsl/v2/common.xsl
@@ -0,0 +1,668 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Copyright MetaCommunications, Inc. 2003-2005.
+
+Distributed under 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:date="http://exslt.org/dates-and-times"
+ xmlns:str="http://exslt.org/strings"
+ xmlns:set="http://exslt.org/sets"
+ xmlns:meta="http://www.meta-comm.com"
+ extension-element-prefixes="func"
+ exclude-result-prefixes="exsl func date str set meta"
+ version="1.0">
+
+ <xsl:variable name="output_directory" select="'output'"/>
+
+ <!-- general -->
+
+ <func:function name="meta:iif">
+ <xsl:param name="condition"/>
+ <xsl:param name="if_true"/>
+ <xsl:param name="if_false"/>
+
+ <xsl:choose>
+ <xsl:when test="$condition">
+ <func:result select="$if_true"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <func:result select="$if_false"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </func:function>
+
+ <!-- structural -->
+
+ <func:function name="meta:test_structure">
+ <xsl:param name="document"/>
+ <xsl:param name="release"/>
+ <xsl:variable name="required_toolsets" select="$explicit_markup//mark-toolset[ @status='required' ]"/>
+
+ <xsl:variable name="runs" select="$document//test-run"/>
+ <xsl:variable name="platforms" select="set:distinct( $document//test-run/@platform )"/>
+
+
+ <xsl:variable name="run_toolsets_f">
+ <platforms>
+ <xsl:for-each select="$platforms">
+ <xsl:sort select="."/>
+ <xsl:variable name="platform" select="."/>
+ <platform name="{$platform}">
+ <runs>
+ <xsl:for-each select="$runs[ @platform = $platform ]">
+ <xsl:sort select="@platform"/>
+ <run
+ runner="{@runner}"
+ timestamp="{@timestamp}"
+ platform="{@platform}"
+ run-type="{@run-type}"
+ source="{@source}"
+ revision="{@revision}">
+
+ <comment><xsl:value-of select="comment"/></comment>
+ <xsl:variable name="not_ordered_toolsets" select="set:distinct( .//test-log[ meta:is_test_log_a_test_case(.) and meta:show_toolset( @toolset, $release ) ]/@toolset ) "/>
+
+ <xsl:variable name="not_ordered_toolsets_with_info_f">
+ <xsl:for-each select="$not_ordered_toolsets">
+ <xsl:sort select="." order="ascending"/>
+ <xsl:variable name="toolset" select="."/>
+ <xsl:variable name="required">
+ <xsl:choose>
+ <xsl:when test="count( $required_toolsets[ @name = $toolset ] ) > 0">yes</xsl:when>
+ <xsl:otherwise>no</xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="required_sort_hint">
+ <xsl:choose>
+ <xsl:when test="$required = 'yes'">sort hint A</xsl:when>
+ <xsl:otherwise>sort hint B</xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <toolset name="{$toolset}" required="{$required}" required_sort_hint="{$required_sort_hint}"/>
+ </xsl:for-each>
+ </xsl:variable>
+
+ <xsl:variable name="not_ordered_toolsets_with_info" select="exsl:node-set( $not_ordered_toolsets_with_info_f )"/>
+
+ <xsl:for-each select="$not_ordered_toolsets_with_info/toolset">
+ <xsl:sort select="concat( @required_sort_hint, '-', @name )" order="ascending"/>
+ <xsl:copy-of select="."/>
+ </xsl:for-each>
+ </run>
+ </xsl:for-each>
+ </runs>
+ </platform>
+ </xsl:for-each>
+ </platforms>
+ </xsl:variable>
+ <func:result select="exsl:node-set( $run_toolsets_f )"/>
+ </func:function>
+
+
+ <func:function name="meta:test_case_status">
+ <xsl:param name="explicit_markup"/>
+ <xsl:param name="test_log"/>
+
+ <xsl:variable name="status">
+ <xsl:choose>
+ <xsl:when test="meta:is_unusable( $explicit_markup, $test_log/@library, $test_log/@toolset )">
+ <xsl:text>unusable</xsl:text>
+ </xsl:when>
+ <xsl:when test="$test_log/@result='fail' and $test_log/@status='unexpected' and $test_log/@is-new='no'">
+ <xsl:text>fail-unexpected</xsl:text>
+ </xsl:when>
+ <xsl:when test="$test_log/@result='fail' and $test_log/@status='unexpected' and $test_log/@is-new='yes'">
+ <xsl:text>fail-unexpected-new</xsl:text>
+ </xsl:when>
+ <xsl:when test="$test_log/@result='success' and $test_log/@status='unexpected'">
+ <xsl:text>success-unexpected</xsl:text>
+ </xsl:when>
+ <xsl:when test="$test_log/@status='expected'">
+ <xsl:text>expected</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>other</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <func:result select="$status"/>
+ </func:function>
+
+ <func:function name="meta:is_toolset_required">
+ <xsl:param name="toolset"/>
+ <func:result select="count( $explicit_markup/explicit-failures-markup/mark-toolset[ @name = $toolset and @status='required' ] ) > 0"/>
+ </func:function>
+
+ <func:function name="meta:is_library_beta">
+ <xsl:param name="library"/>
+ <func:result select="count( $explicit_markup/explicit-failures-markup/library[ @name = $library and @status='beta' ] ) > 0"/>
+ </func:function>
+
+ <func:function name="meta:is_test_log_a_test_case">
+ <xsl:param name="test_log"/>
+ <xsl:variable name="type" select="$test_log/@test-type"/>
+ <func:result select="$type='compile' or $type='compile_fail' or $type='link' or $type='link_fail'
+ or $type='run' or $type='run_fail' or $type='run_pyd' or $type='run_mpi'"/>
+ </func:function>
+
+
+ <func:function name="meta:is_unusable_">
+ <xsl:param name="explicit_markup"/>
+ <xsl:param name="library"/>
+ <xsl:param name="toolset"/>
+
+ <func:result select="count( $explicit_markup//library[ @name = $library ]/mark-unusable/toolset[ meta:re_match( @name, $toolset ) ] ) > 0"/>
+ </func:function>
+
+ <func:function name="meta:is_unusable">
+ <xsl:param name="explicit_markup"/>
+ <xsl:param name="library"/>
+ <xsl:param name="toolset"/>
+
+ <func:result select="count( $explicit_markup//library[ @name = $library ]/mark-unusable/toolset[ meta:re_match( @name, $toolset ) ] ) > 0"/>
+ </func:function>
+
+ <func:function name="meta:re_match">
+ <xsl:param name="pattern"/>
+ <xsl:param name="text"/>
+
+ <xsl:choose>
+ <xsl:when test="not( contains( $pattern, '*' ) )">
+ <func:result select="$text = $pattern"/>
+ </xsl:when>
+ <xsl:when test="$pattern = '*'">
+ <func:result select="1 = 1"/>
+ </xsl:when>
+ <xsl:when test="substring( $pattern, 1, 1 ) = '*' and substring( $pattern, string-length($pattern), 1 ) = '*' ">
+ <func:result select="contains( $text, substring( $pattern, 2, string-length($pattern) - 2 ) ) "/>
+ </xsl:when>
+ <xsl:when test="substring( $pattern, 1, 1 ) = '*'">
+ <xsl:variable name="pattern_tail" select="substring( $pattern, 2, string-length($pattern) - 1 )"/>
+ <func:result select="substring( $text, string-length($text) - string-length($pattern_tail) + 1, string-length($pattern_tail) ) = $pattern_tail"/>
+ </xsl:when>
+ <xsl:when test="substring( $pattern, string-length($pattern), 1 ) = '*' ">
+ <xsl:variable name="pattern_head" select="substring( $pattern, 1, string-length($pattern) - 1 )"/>
+ <func:result select="starts-with( $text, $pattern_head )"/>
+ </xsl:when>
+ <xsl:when test="contains( $pattern, '*' ) ">
+ <xsl:variable name="pattern_head" select="substring-before( $pattern, '*' )"/>
+ <xsl:variable name="pattern_tail" select="substring-after( $pattern, '*' )"/>
+ <func:result select="starts-with( $text, $pattern_head ) and substring( $text, string-length($text) - string-length($pattern_tail) + 1, string-length($pattern_tail) ) = $pattern_tail"/>
+ </xsl:when>
+ </xsl:choose>
+ </func:function>
+
+ <!-- date-time -->
+
+ <func:function name="meta:timestamp_difference">
+ <xsl:param name="x"/>
+ <xsl:param name="y"/>
+
+ <xsl:variable name="duration" select="date:difference( $x, $y )"/>
+ <xsl:choose>
+ <xsl:when test="contains( $duration, 'D' )">
+ <xsl:variable name="days" select="substring-before( $duration, 'D' )"/>
+ <func:result select="substring-after( $days, 'P' )"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <func:result select="0"/>
+ </xsl:otherwise>
+ </xsl:choose>
+
+ </func:function>
+
+ <func:function name="meta:format_timestamp">
+ <xsl:param name="timestamp"/>
+ <xsl:choose>
+ <xsl:when test="date:date( $timestamp ) = ''">
+ <func:result select="$timestamp"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:variable name="time" select="substring-before( date:time( $timestamp ), 'Z' )"/>
+ <xsl:variable name="day" select="date:day-in-month( $timestamp )"/>
+ <xsl:variable name="day_abbrev" select="date:day-abbreviation( $timestamp )"/>
+ <xsl:variable name="month_abbrev" select="date:month-abbreviation( $timestamp )"/>
+ <xsl:variable name="year" select="date:year( $timestamp )"/>
+ <func:result select="concat( $day_abbrev, ', ', $day, ' ', $month_abbrev, ' ', $year, ' ', $time, ' +0000' )"/>
+ </xsl:otherwise>
+ </xsl:choose>
+
+ </func:function>
+
+ <!-- path -->
+
+ <func:function name="meta:encode_path">
+ <xsl:param name="path"/>
+ <func:result select="translate( translate( $path, '/', '-' ), './', '-' )"/>
+ </func:function>
+
+ <func:function name="meta:output_file_path">
+ <xsl:param name="path"/>
+ <func:result select="concat( $output_directory, '/', meta:encode_path( $path ), '.html' )"/>
+ </func:function>
+
+ <func:function name="meta:log_file_path">
+ <xsl:param name="test_log"/>
+ <xsl:param name="runner"/>
+ <xsl:param name="release_postfix" select="''"/>
+ <func:result>
+ <xsl:choose>
+ <xsl:when test="meta:show_output( $explicit_markup, $test_log )">
+ <xsl:value-of select="meta:output_file_path( concat( $runner, '-', $test_log/@target-directory, $release_postfix ) )"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text></xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </func:result>
+ </func:function>
+
+ <!-- presentation -->
+
+ <func:function name="meta:show_library">
+ <xsl:param name="library"/>
+ <xsl:param name="release" select="'no'"/>
+ <func:result select="$release != 'yes' or not( meta:is_library_beta( $library ) )"/>
+ </func:function>
+
+ <func:function name="meta:show_output">
+ <xsl:param name="explicit_markup"/>
+ <xsl:param name="test_log"/>
+ <func:result select="( $test_log/@result != 'success' or $test_log/@show-run-output = 'true' or
+ $test_log/@result = 'success' and $test_log/@status = 'unexpected' )
+ and not( meta:is_unusable( $explicit_markup, $test_log/@library, $test_log/@toolset ) )
+ "/>
+ </func:function>
+
+ <func:function name="meta:show_toolset">
+ <xsl:param name="toolset"/>
+ <xsl:param name="release" select="'no'"/>
+ <func:result select="$release != 'yes' or meta:is_toolset_required( $toolset )"/>
+ </func:function>
+
+ <func:function name="meta:result_cell_class">
+ <xsl:param name="library"/>
+ <xsl:param name="toolset"/>
+ <xsl:param name="test_logs"/>
+
+ <func:result>
+ <xsl:choose>
+ <xsl:when test="meta:is_unusable( $explicit_markup, $library, $toolset )">
+ <xsl:text>unusable</xsl:text>
+ </xsl:when>
+
+ <xsl:when test="count( $test_logs ) &lt; 1">
+ <xsl:text>missing</xsl:text>
+ </xsl:when>
+
+ <xsl:when test="count( $test_logs[@result='fail' and @status='unexpected' and @is-new='no'] )">
+ <xsl:text>fail-unexpected</xsl:text>
+ </xsl:when>
+
+ <xsl:when test="count( $test_logs[@result='fail' and @status='unexpected' and @is-new='yes'] )">
+ <xsl:text>fail-unexpected-new</xsl:text>
+ </xsl:when>
+
+
+ <xsl:when test="count( $test_logs[@result='fail' and @expected-reason != '' ] )">
+ <xsl:text>fail-expected-unresearched</xsl:text>
+ </xsl:when>
+
+ <xsl:when test="count( $test_logs[@result='fail'] )">
+ <xsl:text>fail-expected</xsl:text>
+ </xsl:when>
+
+
+ <xsl:when test="count( $test_logs[@result='success' and @status='unexpected'] )">
+ <xsl:text>success-unexpected</xsl:text>
+ </xsl:when>
+
+ <xsl:when test="count( $test_logs[@status='expected'] )">
+ <xsl:text>success-expected</xsl:text>
+ </xsl:when>
+
+ <xsl:otherwise>
+ <xsl:text>unknown</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </func:result>
+ </func:function>
+
+ <xsl:template name="insert_report_header">
+ <xsl:param name="run_date"/>
+ <xsl:param name="warnings"/>
+ <xsl:param name="purpose"/>
+
+ <div class="report-info">
+ <div>
+ <b>Report Time: </b> <xsl:value-of select="meta:format_timestamp( $run_date )"/>
+ </div>
+
+ <xsl:if test="$purpose">
+ <div>
+ <b>Purpose: </b> <xsl:value-of select="$purpose"/>
+ </div>
+ </xsl:if>
+
+ <xsl:if test="$warnings">
+ <xsl:for-each select="str:split( $warnings, '+' )">
+ <div class="report-warning">
+ <b>Warning: </b>
+ <a href="mailto:boost-testing@lists.boost.org?subject=[Report Pages] {.} ({meta:format_timestamp( $run_date )})" class="warning-link">
+ <xsl:value-of select="."/>
+ </a>
+ </div>
+ </xsl:for-each>
+ </xsl:if>
+
+ </div>
+
+ </xsl:template>
+
+
+ <xsl:template name="insert_view_link">
+ <xsl:param name="page"/>
+ <xsl:param name="release"/>
+ <xsl:param name="class"/>
+
+ <xsl:choose>
+ <xsl:when test="$release='yes'">
+ <a href="{$page}.html" class="{$class}" target="_top">
+ <xsl:text>Full View</xsl:text>
+ </a>
+ </xsl:when>
+ <xsl:otherwise>
+ <a href="{$page}_release.html" class="{$class}" target="_top">
+ <xsl:text>Release View</xsl:text>
+ </a>
+ </xsl:otherwise>
+ </xsl:choose>
+
+ </xsl:template>
+
+
+ <xsl:template name="insert_page_links">
+ <xsl:param name="page"/>
+ <xsl:param name="release"/>
+ <xsl:param name="mode"/>
+
+ <div class="links">
+ <xsl:copy-of select="document( 'html/make_tinyurl.html' )"/>
+ <xsl:text>&#160;|&#160;</xsl:text>
+ <xsl:call-template name="insert_view_link">
+ <xsl:with-param name="page" select="$page"/>
+ <xsl:with-param name="class" select="''"/>
+ <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>
+ <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}{$release_postfix}_.html#legend">
+ <xsl:text>Legend</xsl:text>
+ </a>
+
+ </div>
+
+ </xsl:template>
+
+
+ <xsl:template name="insert_runners_rows">
+ <xsl:param name="mode"/>
+ <xsl:param name="top_or_bottom"/>
+ <xsl:param name="run_toolsets"/>
+ <xsl:param name="run_date"/>
+
+ <xsl:variable name="colspan">
+ <xsl:choose>
+ <xsl:when test="$mode = 'summary'">1</xsl:when>
+ <xsl:when test="$mode = 'details'">2</xsl:when>
+ </xsl:choose>
+ </xsl:variable>
+
+
+ <xsl:if test="$top_or_bottom = 'top'">
+ <tr>
+ <td colspan="{$colspan}">&#160;</td>
+ <xsl:for-each select="$run_toolsets/platforms/platform">
+ <xsl:if test="count(./runs/run/toolset) &gt; 0">
+ <td colspan="{count(./runs/run/toolset)}" class="runner">
+ <xsl:value-of select="@name"/>
+ </td>
+ </xsl:if>
+ </xsl:for-each>
+ <td colspan="{$colspan}">&#160;</td>
+ </tr>
+ </xsl:if>
+
+ <tr>
+ <td colspan="{$colspan}">&#160;</td>
+ <xsl:for-each select="$run_toolsets//runs/run[ count(toolset) > 0 ]">
+ <td colspan="{count(toolset)}" class="runner">
+ <a href="../{@runner}.html">
+ <xsl:value-of select="@runner"/>
+ </a>
+ </td>
+ </xsl:for-each>
+ <td colspan="{$colspan}">&#160;</td>
+ </tr>
+
+ <tr>
+ <td colspan="{$colspan}">&#160;</td>
+ <xsl:for-each select="$run_toolsets//runs/run[ count(toolset) > 0 ]">
+ <td colspan="{count(toolset)}" class="revision">
+ rev <xsl:value-of select="@revision"/>
+ </td>
+ </xsl:for-each>
+ <td colspan="{$colspan}">&#160;</td>
+ </tr>
+
+ <tr>
+ <td colspan="{$colspan}">&#160;</td>
+ <xsl:for-each select="$run_toolsets//runs/run[ count(toolset) > 0 ]">
+ <xsl:variable name="timestamp_diff" select="meta:timestamp_difference( @timestamp, $run_date )"/>
+ <xsl:variable name="age" select="meta:iif( $timestamp_diff &lt; 30, $timestamp_diff, 30 )"/>
+ <td colspan="{count(toolset)}" class="timestamp">
+ <span class="timestamp-{$age}"><xsl:value-of select="meta:format_timestamp( @timestamp )"/></span>
+ <xsl:if test="@run-type != 'full'">
+ <span class="run-type-{@run-type}"><xsl:value-of select="substring( @run-type, 1, 1 )"/></span>
+ </xsl:if>
+ </td>
+ </xsl:for-each>
+ <td colspan="{$colspan}">&#160;</td>
+ </tr>
+
+ <xsl:if test="$top_or_bottom = 'bottom'">
+ <tr>
+ <td colspan="{$colspan}">&#160;</td>
+ <xsl:for-each select="$run_toolsets/platforms/platform">
+ <xsl:if test="count(./runs/run/toolset) &gt; 0">
+ <td colspan="{count(./runs/run/toolset)}" class="runner">
+ <xsl:value-of select="@name"/>
+ </td>
+ </xsl:if>
+ </xsl:for-each>
+ <td colspan="{$colspan}">&#160;</td>
+ </tr>
+ </xsl:if>
+
+ </xsl:template>
+
+ <xsl:template name="insert_toolsets_row">
+ <xsl:param name="mode"/>
+ <xsl:param name="library"/>
+ <xsl:param name="library_marks"/>
+ <xsl:param name="run_date"/>
+
+ <tr valign="middle">
+ <xsl:variable name="colspan">
+ <xsl:choose>
+ <xsl:when test="$mode = 'summary'">1</xsl:when>
+ <xsl:when test="$mode = 'details'">2</xsl:when>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="title">
+ <xsl:choose>
+ <xsl:when test="$mode = 'summary'">&#160;library&#160;/&#160;toolset&#160;</xsl:when>
+ <xsl:when test="$mode = 'details'">&#160;test&#160;/&#160;toolset&#160;</xsl:when>
+ </xsl:choose>
+ </xsl:variable>
+
+ <td class="head" colspan="{$colspan}" width="1%"><xsl:value-of select="$title"/></td>
+
+
+ <xsl:for-each select="$run_toolsets//runs/run/toolset">
+ <xsl:variable name="toolset" select="@name"/>
+
+ <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>
+
+ <td class="{$class}">
+ <xsl:variable name="age" select="meta:timestamp_difference( ../@timestamp, $run_date )"/>
+ <span class="timestamp-{$age}">
+
+ <!-- break toolset names into words -->
+ <xsl:for-each select="str:tokenize($toolset, '-')">
+ <xsl:value-of select="." />
+ <xsl:if test="position()!=last()">
+ <xsl:text>- </xsl:text>
+ </xsl:if>
+ </xsl:for-each>
+
+ <xsl:if test="$mode = 'details'">
+ <!-- prepare toolset notes -->
+ <xsl:variable name="toolset_notes_fragment">
+ <xsl:for-each select="$library_marks/note">
+ <xsl:if test="count( ../toolset[meta:re_match( @name, $toolset )] ) > 0">
+ <note index="{position()}"/>
+ </xsl:if>
+ </xsl:for-each>
+ </xsl:variable>
+
+ <xsl:variable name="toolset_notes" select="exsl:node-set( $toolset_notes_fragment )/*"/>
+ <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>
+ </xsl:if>
+
+ </span>
+ </td>
+ </xsl:for-each>
+
+ <td class="head" width="1%"><xsl:value-of select="$title"/></td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template name="show_notes">
+ <xsl:param name="explicit_markup"/>
+ <xsl:param name="notes"/>
+ <div class="notes">
+ <xsl:for-each select="$notes">
+ <div>
+ <xsl:variable name="ref_id" select="@refid"/>
+ <xsl:call-template name="show_note">
+ <xsl:with-param name="note" select="."/>
+ <xsl:with-param name="references" select="$ref_id"/>
+ </xsl:call-template>
+ </div>
+ </xsl:for-each>
+ </div>
+ </xsl:template>
+
+ <xsl:template name="show_note">
+ <xsl:param name="note"/>
+ <xsl:param name="references"/>
+
+ <div class="note">
+ <xsl:variable name="author">
+ <xsl:choose>
+ <xsl:when test="$note/@author">
+ <xsl:value-of select="$note/@author"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="date">
+ <xsl:choose>
+ <xsl:when test="$note/@date">
+ <xsl:value-of select="$note/@date"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <span class="note-header">
+ <xsl:choose>
+ <xsl:when test="$author != '' and $date != ''">
+ [&#160;<xsl:value-of select="$author"/>&#160;<xsl:value-of select="$date"/>&#160;]
+ </xsl:when>
+ <xsl:when test="$author != ''">
+ [&#160;<xsl:value-of select="$author"/>&#160;]
+ </xsl:when>
+ <xsl:when test="$date != ''">
+ [&#160;<xsl:value-of select="$date"/>&#160;]
+ </xsl:when>
+ </xsl:choose>
+ </span>
+
+ <xsl:if test="$references">
+ <!-- lookup references (refid="17,18") -->
+ <xsl:for-each select="str:tokenize($references, ',')">
+ <xsl:variable name="ref_id" select="."/>
+ <xsl:variable name="referenced_note" select="$explicit_markup//note[ $ref_id = @id ]"/>
+
+ <xsl:choose>
+ <xsl:when test="$referenced_note">
+ <xsl:copy-of select="$referenced_note/node()"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$ref_id"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:for-each>
+ </xsl:if>
+
+ <xsl:copy-of select="$note/node()"/>
+
+ </div>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/tools/regression/xsl_reports/xsl/v2/dump_toolsets.xsl b/tools/regression/xsl_reports/xsl/v2/dump_toolsets.xsl
new file mode 100644
index 0000000000..b9058e35d0
--- /dev/null
+++ b/tools/regression/xsl_reports/xsl/v2/dump_toolsets.xsl
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Copyright MetaCommunications, Inc. 2006.
+
+Distributed under 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:meta="http://www.meta-comm.com"
+ exclude-result-prefixes="meta"
+ version="1.0">
+
+ <xsl:import href="common.xsl"/>
+
+ <xsl:output method="xml" encoding="utf-8"/>
+
+ <xsl:template match="/">
+ <xsl:for-each select="expected-failures/toolset">
+ <xsl:sort select="@name"/>
+ <xsl:value-of select="@name"/>
+ <xsl:if test="count(./toolset-alias)">
+ <xsl:text> aka </xsl:text>
+ <xsl:for-each select="toolset-alias">
+ <xsl:sort select="@name"/>
+ <xsl:value-of select="@name"/>
+ <xsl:text> </xsl:text>
+ </xsl:for-each>
+ </xsl:if>
+<xsl:text>
+</xsl:text>
+ </xsl:for-each>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/tools/regression/xsl_reports/xsl/v2/expected_to_1_33_format.xsl b/tools/regression/xsl_reports/xsl/v2/expected_to_1_33_format.xsl
new file mode 100644
index 0000000000..71f33d2c1c
--- /dev/null
+++ b/tools/regression/xsl_reports/xsl/v2/expected_to_1_33_format.xsl
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:set="http://exslt.org/sets"
+ extension-element-prefixes="set"
+ version="1.0">
+
+ <xsl:output method="xml" encoding="utf-8"/>
+
+ <xsl:template match="/">
+ <expected-failures>
+ <xsl:variable name="toolsets" select="set:distinct(//test-result/@toolset)"/>
+ <xsl:for-each select="$toolsets">
+ <xsl:variable name="toolset" select="."/>
+ <toolset name="{$toolset}">
+ <xsl:variable name="toolset_test_cases" select="//test-result[@toolset = $toolset]"/>
+ <xsl:variable name="libraries" select="set:distinct($toolset_test_cases/@library)"/>
+ <xsl:for-each select="$libraries">
+ <xsl:variable name="library" select="."/>
+ <library name="{$library}">
+ <xsl:variable name="test_results" select="$toolset_test_cases[@library = $library]"/>
+ <xsl:for-each select="$test_results">
+ <xsl:variable name="test_result" select="."/>
+ <test-result test-name="{$test_result/@test-name}" result="{$test_result/@result}"/>
+ </xsl:for-each>
+ </library>
+ </xsl:for-each>
+ </toolset>
+ </xsl:for-each>
+ </expected-failures>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/tools/regression/xsl_reports/xsl/v2/html/issues_legend.html b/tools/regression/xsl_reports/xsl/v2/html/issues_legend.html
new file mode 100644
index 0000000000..6274048b55
--- /dev/null
+++ b/tools/regression/xsl_reports/xsl/v2/html/issues_legend.html
@@ -0,0 +1,36 @@
+<!--
+
+Copyright MetaCommunications, Inc. 2003-2004.
+
+Distributed under 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)
+
+-->
+
+<div class="legend">
+<table border="0" summary="report description">
+<tr>
+ <td>
+ <table border="0" summary="legend">
+ <tr>
+ <td>
+ <table width="100%" summary="unexpected new fail legend">
+ <tr class="library-row-single"><td class="library-fail-unexpected-new">&lt;toolset&gt;</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="library-row-single"><td class="library-fail-unexpected">&lt;toolset&gt;</td></tr>
+ </table>
+ </td>
+ <td class="legend-item">Unexpected failure.</td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
+</div>
diff --git a/tools/regression/xsl_reports/xsl/v2/html/library_developer_legend.html b/tools/regression/xsl_reports/xsl/v2/html/library_developer_legend.html
new file mode 100644
index 0000000000..009211ac19
--- /dev/null
+++ b/tools/regression/xsl_reports/xsl/v2/html/library_developer_legend.html
@@ -0,0 +1,82 @@
+<!--
+
+Copyright MetaCommunications, Inc. 2003-2005.
+
+Distributed under 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)
+
+-->
+
+<div class="legend">
+<table border="0" summary="report description">
+ <tr>
+ <td class="legend-item" width="50pt">
+ <table width="100%" summary="success legend">
+ <tr class="library-row-single"><td class="library-success-expected">pass</td></tr>
+ </table>
+ </td>
+ <td class="legend-explanation">Success.</td>
+ </tr>
+ <tr>
+ <td class="legend-item" width="50pt">
+ <table width="100%" summary="unexpected pass legend">
+ <tr class="library-row-single"><td class="library-success-unexpected">pass</td></tr>
+ </table>
+ </td>
+ <td class="legend-explanation">Unexpected success; follow the link for more details.</td>
+ </tr>
+ <tr>
+ <td class="legend-item" width="50pt">
+ <table width="100%" summary="expected fail legend">
+ <tr class="library-row-single"><td class="library-fail-expected">fail*</td></tr>
+ </table>
+ </td>
+ <td class="legend-explanation">Expected failure; follow the link for more details.</td>
+ </tr>
+ <tr>
+ <td class="legend-item" width="50pt">
+ <table width="100%" summary="unusable legend">
+ <tr class="library-row-single"><td class="library-unusable">n/a</td></tr>
+ </table>
+ </td>
+ <td class="legend-explanation">The library author marked it as unusable on this particular platform/toolset.</td>
+ </tr>
+ <tr>
+ <td class="legend-item" width="50pt">
+ <table width="100%" summary="unresearched legend">
+ <tr class="library-row-single"><td class="library-fail-expected-unresearched">fail?</td></tr>
+ </table>
+ </td>
+ <td class="legend-explanation">Unsearched failure; follow the link for more details.</td>
+ </tr>
+ <tr>
+ <td class="legend-item" width="50pt">
+ <table width="100%" summary="unexpected new fail legend">
+ <tr class="library-row-single"><td class="library-fail-unexpected-new">fail</td></tr>
+ </table>
+ </td>
+ <td class="legend-explanation">Failure on a newly added test/compiler.</td>
+ </tr>
+ <tr>
+ <td class="legend-item" width="50pt">
+ <table width="100%" summary="unexpected fail legend">
+ <tr class="library-row-single"><td class="library-fail-unexpected">fail</td></tr>
+ </table>
+ </td>
+ <td class="legend-explanation">Unexpected failure/regression.</td>
+ </tr>
+ <tr>
+ <td class="legend-item" width="50pt">
+ </td>
+ <td class="legend-explanation"></td>
+ </tr>
+</table>
+<hr/>
+<table border="0" summary="report description">
+ <tr>
+ <td><span class="run-type-incremental">i</span></td>
+ <td class="legend-explanation">An incremental run.</td>
+ </tr>
+</table>
+</div>
diff --git a/tools/regression/xsl_reports/xsl/v2/html/library_user_legend.html b/tools/regression/xsl_reports/xsl/v2/html/library_user_legend.html
new file mode 100644
index 0000000000..bae1742e94
--- /dev/null
+++ b/tools/regression/xsl_reports/xsl/v2/html/library_user_legend.html
@@ -0,0 +1,89 @@
+<!--
+
+Copyright MetaCommunications, Inc. 2003-2005.
+
+Distributed under 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)
+
+-->
+
+<div class="legend">
+<table border="0" summary="report description">
+ <tr>
+ <td class="legend-item" width="50pt">
+ <table width="100%" summary="success legend">
+ <tr class="library-row-single"><td class="library-success-expected user-library-success-expected">pass</td></tr>
+ </table>
+ </td>
+ <td class="legend-explanation">The test successfully passes.</td>
+ </tr>
+ <tr>
+ <td class="legend-item" width="50pt">
+ <table width="100%" summary="expected fail legend">
+ <tr class="library-row-single"><td class="library-fail-expected user-library-fail-expected"><u>fail*</u></td></tr>
+ </table>
+ </td>
+ <td class="legend-explanation">
+ A <b>known failure</b> that the library maintainers are aware about. Please follow the link to
+ find out how it affects the library's functionality.
+ </td>
+ </tr>
+ <tr>
+ <td class="legend-item" width="50pt">
+ <table width="100%" summary="unusable legend">
+ <tr class="library-row-single"><td class="library-unusable user-library-unusable">unusable</td></tr>
+ </table>
+ </td>
+ <td class="legend-explanation">
+ The library author marked it as <b>unusable</b> on this particular platform/toolset. Please
+ see the corresponding footnote.
+ </td>
+ </tr>
+ <tr>
+ <td class="legend-item" width="50pt">
+ <table width="100%" summary="unresearched legend">
+ <tr class="library-row-single"><td class="library-fail-expected-unresearched user-library-fail-expected-unresearched"><u>fail?</u></td></tr>
+ </table>
+ </td>
+ <td class="legend-explanation">
+ An <b>unsearched failure</b>: the library maintainers are aware of it, but need help with
+ investigating/addressing it for future releases. Please follow the link to
+ access the details and find out how it affects library functionality. </td>
+ </tr>
+ <tr>
+ <td class="legend-item" width="50pt">
+ <table width="100%" summary="unexpected new fail legend">
+ <tr class="library-row-single"><td class="library-fail-unexpected-new user-library-fail-unexpected-new"><u>fail</u></td></tr>
+ </table>
+ </td>
+ <td class="legend-explanation">
+ A <b>new failure</b> on the test/compiler added in this release that hasn't been accounted for yet.
+ Please follow the link to access the details.
+ </td>
+ </tr>
+ <tr>
+ <td class="legend-item" width="50pt">
+ <table width="100%" summary="unexpected fail legend">
+ <tr class="library-row-single user-library-row-single"><td class="library-fail-unexpected"><u>fail</u></td></tr>
+ </table>
+ </td>
+ <td class="legend-explanation">
+ A <b>regression</b> comparing to the previous release. Please follow the link to
+ access the details.
+ </td>
+ </tr>
+ <tr>
+ <td class="legend-item" width="50pt">
+ </td>
+ <td class="legend-explanation"></td>
+ </tr>
+</table>
+<hr/>
+<table border="0" summary="report description">
+ <tr>
+ <td><span class="run-type-incremental">i</span></td>
+ <td class="legend-explanation">An incremental run.</td>
+ </tr>
+</table>
+</div>
diff --git a/tools/regression/xsl_reports/xsl/v2/html/make_tinyurl.html b/tools/regression/xsl_reports/xsl/v2/html/make_tinyurl.html
new file mode 100644
index 0000000000..e57fb06a4f
--- /dev/null
+++ b/tools/regression/xsl_reports/xsl/v2/html/make_tinyurl.html
@@ -0,0 +1,22 @@
+<!--
+
+Copyright MetaCommunications, Inc. 2003-2004.
+
+Distributed under 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)
+
+-->
+
+<span>
+<script type="text/javascript">
+<!--
+function make_tinyurl()
+{
+ window.open( 'http://tinyurl.com/create.php?url=' + parent.location.href );
+}
+//-->
+</script>
+
+<a href="javascript:make_tinyurl()">TinyUrl</a>
+</span>
diff --git a/tools/regression/xsl_reports/xsl/v2/html/master.css b/tools/regression/xsl_reports/xsl/v2/html/master.css
new file mode 100644
index 0000000000..a6dc486b68
--- /dev/null
+++ b/tools/regression/xsl_reports/xsl/v2/html/master.css
@@ -0,0 +1,654 @@
+/*
+
+Copyright MetaCommunications, Inc. 2003-2005.
+
+Distributed under 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)
+
+*/
+
+/* All reports */
+
+body
+{
+ background-color: white;
+}
+
+body.user-toc
+{
+ background-color: #f0f0f0;
+}
+
+body.developer-toc
+{
+ background-color: #f0f5ff;
+}
+
+span.super
+{
+ vertical-align: super;
+ font-size: 80%;
+ margin-left: 3pt;
+}
+
+h1.page-title
+{
+ text-align: left;
+ text-transform: capitalize;
+ margin-top: 5pt;
+ margin-bottom: 10pt;
+}
+
+img
+{
+ display: inline;
+}
+
+ a.hover-link:link
+,a.hover-link:visited
+,a.hover-link:active
+{
+ color: black;
+ text-decoration: none;
+}
+
+a.hover-link:hover
+{
+ color: black;
+ text-decoration: underline;
+}
+
+ a.warning-link:link
+,a.warning-link:visited
+,a.warning-link:active
+{
+ color: red;
+ text-decoration: none;
+}
+
+a.warning-link:hover
+{
+ color: red;
+ text-decoration: underline;
+}
+
+a.view-link
+{
+ text-transform: capitalize;
+}
+
+div.statistics
+{
+ width: 80%;
+ padding-bottom: 5pt;
+}
+
+div.legend
+{
+ width: 80%;
+ background-color: #f5f5f5;
+ margin-top: 10pt;
+ margin-bottom: 10pt;
+}
+
+div.comment
+{
+ width: 80%;
+ background-color: #f5f5f5;
+ padding-left: 10pt;
+ padding-right: 10pt;
+ padding-bottom: 10pt;
+}
+
+div.links
+{
+ margin-top: 0pt;
+ margin-bottom: 0pt;
+}
+
+table.header-table
+{
+ margin-left: 10pt;
+ margin-top: 20pt;
+ margin-bottom: 10pt;
+ width: 80%;
+}
+
+td.header-item
+{
+ text-align: left;
+ vertical-align: top;
+ font-weight: bold;
+}
+
+td.header-item-content
+{
+ padding-left: 20pt;
+ padding-bottom: 10pt;
+}
+
+td.legend-item
+{
+ padding: 0pt;
+ width: 50pt;
+}
+
+td.legend-explanation
+{
+ padding-left: 5pt;
+}
+
+div.acknowledgement
+{
+ text-align: left;
+ margin-top: 10pt;
+ margin-left: 5pt;
+ margin-bottom: 10pt;
+}
+
+div.report-info
+{
+ text-align: left;
+ margin-bottom: 10pt;
+ width: 80%;
+}
+
+div.report-warning
+{
+ color: red;
+}
+
+div.library-name
+{
+ margin-top: 20pt;
+ margin-bottom: 10pt;
+ text-align: left;
+ font-size: 125%;
+ font-weight: bold;
+}
+
+span.run-type-incremental
+{
+ margin-left: 3pt;
+ padding-left: 1pt;
+ padding-right: 1pt;
+ background-color: yellow;
+}
+
+ span.timestamp-1
+,span.timestamp-2
+{
+ color: #555555;
+}
+
+ span.timestamp-3
+,span.timestamp-4
+,span.timestamp-5
+,span.timestamp-6
+,span.timestamp-7
+{
+ color: #999999;
+}
+
+ span.timestamp-8
+,span.timestamp-9
+,span.timestamp-10
+,span.timestamp-11
+,span.timestamp-12
+,span.timestamp-13
+,span.timestamp-14
+,span.timestamp-15
+,span.timestamp-16
+,span.timestamp-17
+,span.timestamp-18
+,span.timestamp-19
+,span.timestamp-20
+,span.timestamp-21
+,span.timestamp-22
+,span.timestamp-23
+,span.timestamp-24
+,span.timestamp-25
+,span.timestamp-26
+,span.timestamp-27
+,span.timestamp-28
+,span.timestamp-29
+,span.timestamp-30
+{
+ color: #dddddd;
+}
+
+
+table.summary-table
+,table.library-table
+{
+ border-collapse: collapse;
+ border: 2px solid black;
+ margin: 5px;
+}
+
+ table.summary-table td
+,table.library-table td
+{
+ text-align: center;
+ border-left: 1px solid black;
+ border-right: 1px solid black;
+}
+
+ a.log-link:link
+,a.log-link:visited
+{
+ color: black;
+}
+
+ a.log-link:active
+,a.log-link:hover
+,a.legend-link:link
+,a.legend-link:visited
+,a.legend-link:active
+,a.legend-link:hover
+{
+ color: black;
+ text-decoration: underline;
+}
+
+td.runner
+{
+ color: black;
+ font-weight: bold;
+ border-top: 1px solid black;
+ padding-left: 3pt;
+ padding-right: 3pt;
+
+}
+
+td.timestamp
+{
+ color: black;
+ border-bottom: 1px solid black;
+ padding-left: 3pt;
+ padding-right: 3pt;
+}
+
+ td.toolset-name
+,td.required-toolset-name
+{
+ vertical-align: middle;
+ padding-left: 3pt;
+ padding-right: 3pt;
+ word-spacing: -3pt;
+}
+
+td.required-toolset-name
+{
+ font-weight: bold;
+}
+
+td.library-test-category-header
+{
+ border-top: 1px solid gray;
+}
+
+tr.summary-row-first td
+, tr.library-row-first td
+{
+ border-top: 1px solid gray;
+ border-bottom: 0px;
+}
+
+tr.summary-row-last td
+, tr.library-row-last td
+{
+ border-top: 0px;
+ border-bottom: 1px solid gray;
+}
+
+tr.summary-row-single td
+, tr.library-row-single td
+{
+ border-top: 1px solid gray;
+ border-bottom: 1px solid gray;
+}
+
+tr.summary-row td
+, tr.library-row td
+{
+ border-bottom: 0px;
+ border-top: 0px;
+}
+
+ td.library-success-expected
+, td.summary-success-expected
+, td.summary-fail-expected
+, td.summary-unknown-status
+, td.summary-fail-expected-unresearched
+{
+ width: 60pt;
+ text-align: center;
+ background-color: lightgreen;
+ border-left: 1px solid black;
+ border-right: 1px solid black;
+ padding-left: 2pt;
+ padding-right: 2pt;
+}
+
+ td.summary-unknown-status
+{
+ background-color: white;
+}
+
+ td.library-success-unexpected
+,td.summary-success-unexpected
+{
+ width: 60pt;
+ text-align: center;
+ background-color: green;
+ color: white;
+ border: 0px;
+ padding-left: 2pt;
+ padding-right: 2pt;
+}
+
+ td.user-library-success-unexpected
+, td.user-summary-success-unexpected
+{
+ background-color: lightgreen;
+ color: black;
+}
+
+ td.library-success-unexpected a.log-link:link
+,td.library-success-unexpected a.log-link:visited
+,td.library-success-unexpected a.log-link:active
+,td.library-success-unexpected a.log-link:hover
+{
+ color: white;
+}
+
+ td.user-library-success-unexpected a.log-link:link
+, td.user-library-success-unexpected a.log-link:visited
+, td.user-library-success-unexpected a.log-link:active
+, td.user-library-success-unexpected a.log-link:hover
+{
+ color: black;
+}
+
+ td.summary-unusable
+, td.library-unusable
+, td.library-fail-expected
+{
+ width: 60pt;
+ text-align: center;
+ background-color: silver;
+ color: black;
+ border: 0px;
+ padding-left: 2pt;
+ padding-right: 2pt;
+}
+
+
+ tr.summary-row td.summary-fail-unexpected
+,tr.summary-row-first td.summary-fail-unexpected
+,tr.summary-row-last td.summary-fail-unexpected
+,tr.summary-row-single td.summary-fail-unexpected
+{
+ width: 60pt;
+ text-align: center;
+ background-color: red;
+ color: black;
+ border: 2px solid black;
+ padding-left: 2pt;
+ padding-right: 2pt;
+}
+
+ td.summary-missing
+, td.library-missing
+{
+ width: 60pt;
+ text-align: center;
+ background-color: white;
+ color: black;
+ border: 0px;
+ padding-left: 2pt;
+ padding-right: 2pt;
+}
+
+td.library-fail-expected-unresearched
+{
+ width: 60pt;
+ text-align: center;
+ background-color: white;
+ color: black;
+ border: 1px solid black;
+ padding-left: 2pt;
+ padding-right: 2pt;
+}
+
+
+ tr.summary-row-first td.summary-missing
+, tr.summary-row-single td.summary-missing
+, tr.library-row-first td.library-missing
+, tr.library-row-single td.library-missing
+{
+ border-top: 1px solid black;
+}
+
+ tr.summary-row-last td.summary-missing
+, tr.summary-row-single td.summary-missing
+, tr.library-row-last td.library-missing
+, tr.library-row-single td.library-missing
+{
+ border-bottom: 1px solid black;
+}
+
+
+/* Summary */
+
+table.summary-table td.library-name
+{
+ width: 100pt;
+ padding-left: 6pt;
+ padding-right: 6pt;
+ border-top: 1px solid gray;
+ border-bottom: 1px solid gray;
+ text-align: left;
+}
+
+ tr.summary-row td.summary-fail-unexpected-new
+, tr.summary-row-first td.summary-fail-unexpected-new
+, tr.summary-row-last td.summary-fail-unexpected-new
+, tr.summary-row-single td.summary-fail-unexpected-new
+
+, tr.library-row td.library-fail-unexpected-new
+, tr.library-row-first td.library-fail-unexpected-new
+, tr.library-row-last td.library-fail-unexpected-new
+, tr.library-row-single td.library-fail-unexpected-new
+
+, tr.summary-row td.user-summary-fail-expected-unresearched
+, tr.summary-row-first td.user-summary-fail-expected-unresearched
+, tr.summary-row-last td.user-summary-fail-expected-unresearched
+, tr.summary-row-single td.user-summary-fail-expected-unresearched
+
+, tr.library-row td.user-library-fail-expected-unresearched
+, tr.library-row-first td.user-library-fail-expected-unresearched
+, tr.library-row-last td.user-library-fail-expected-unresearched
+, tr.library-row-single td.user-library-fail-expected-unresearched
+{
+ width: 60pt;
+ text-align: center;
+ background-color: yellow;
+ color: black;
+ border: 2px solid black;
+}
+
+/* Detailed */
+
+.library-conf-problem
+{
+ font-size: 70%;
+ font-weight: normal;
+}
+
+div.library-toc
+{
+ margin: 5pt;
+}
+
+
+li.library-toc-entry
+{
+ margin-left: 5pt;
+ list-style-type: square;
+}
+
+
+div.library-footer
+{
+ margin: 5px;
+}
+
+
+table.library-table td.test-name
+{
+ width: 150pt;
+ padding-left: 6pt;
+ padding-right: 6pt;
+ border-right: 0;
+ border-top: 1px solid gray;
+ border-bottom: 1px solid gray;
+ text-align: left;
+}
+
+table.library-table td.test-type
+{
+ padding-right: 5px;
+ border-left: 0;
+ border-right: 0;
+ border-top: 1px solid gray;
+ border-bottom: 1px solid gray;
+ text-align: right;
+}
+
+ tr.library-row td.library-fail-unexpected
+, tr.library-row-first td.library-fail-unexpected
+, tr.library-row-last td.library-fail-unexpected
+, tr.library-row-single td.library-fail-unexpected
+{
+ width: 60pt;
+ text-align: center;
+ background-color: red;
+ font-weight: bold;
+ color: black;
+ border: 2px solid black;
+}
+
+table.library-library-notes
+{
+ background-color: LemonChiffon;
+ width: 80%;
+ margin-left: 5px;
+ margin-right: 5px;
+}
+
+tr.library-library-note
+{
+}
+
+div.note
+{
+ padding: 3pt;
+}
+
+span.note-header
+{
+ font-weight: bold;
+}
+
+span.auto-note
+{
+ font-style: italic;
+}
+
+span.internal-error-note
+{
+ color: red;
+}
+
+/* Log */
+
+div.log-test-title
+{
+ font-size: 1.5em;
+ font-weight: bold;
+}
+
+div.log-test-header
+{
+ border-bottom: 1px solid black;
+ margin-bottom: 5pt;
+}
+
+div.notes-title
+{
+ font-weight: bold;
+ background-color: #ffffcc;
+}
+
+div.notes
+{
+ padding: 3pt;
+ background-color: #ffffcc;
+}
+
+div.notes-title
+{
+ font-weight: bold;
+}
+
+div.log-compiler-output-title
+{
+ font-weight: bold;
+}
+
+div.log-linker-output-title
+{
+ font-weight: bold;
+}
+
+div.log-run-output-title
+{
+ font-weight: bold;
+}
+
+span.output-fail
+{
+ color: red;
+}
+
+
+/* Issues page */
+
+table.library-issues-table
+{
+ border-collapse: collapse;
+ border: 2px solid black;
+}
+
+table.library-issues-table td
+{
+ border: 1px solid #c0c0c0;
+ text-align: center;
+ margin-right: 5px;
+}
+
+table.library-issues-table td.failures-row
+{
+ text-align: left;
+ padding: 0px;
+}
+
+ table.issue-box tr.library-row-single td.library-fail-unexpected-new
+,table.issue-box tr.library-row-single td.library-fail-unexpected
+{
+ border: 0px;
+ font-weight: normal;
+}
diff --git a/tools/regression/xsl_reports/xsl/v2/html/summary_developer_legend.html b/tools/regression/xsl_reports/xsl/v2/html/summary_developer_legend.html
new file mode 100644
index 0000000000..b85a6403fa
--- /dev/null
+++ b/tools/regression/xsl_reports/xsl/v2/html/summary_developer_legend.html
@@ -0,0 +1,72 @@
+<!--
+
+Copyright MetaCommunications, Inc. 2003-2005.
+
+Distributed under 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)
+
+-->
+
+<div class="legend">
+<table border="0" summary="report description">
+ <tr>
+ <td class="legend-item" width="50pt">
+ <table width="100%" summary="success legend">
+ <tr class="summary-row-single"><td class="summary-success-expected">OK</td></tr>
+ </table>
+ </td>
+ <td class="legend-explanation">
+ All expected tests pass.
+ </td>
+ </tr>
+ <tr>
+ <td class="legend-item" width="50pt">
+ <table width="100%" summary="unexpected pass legend">
+ <tr class="summary-row-single"><td class="summary-success-unexpected">OK</td></tr>
+ </table>
+ </td>
+ <td class="legend-explanation">
+ All expected tests pass, and some other tests that were expected to fail
+ unexpectedly pass as well.
+ </td>
+ </tr>
+ <tr>
+ <td class="legend-item" width="50pt">
+ <table width="100%" summary="unexpected new fail legend">
+ <tr class="summary-row-single"><td class="summary-fail-unexpected-new">fail</td></tr>
+ </table>
+ </td>
+ <td class="legend-explanation">
+ There are some failures on the newly added tests/compiler(s).
+ </td>
+ </tr>
+ <tr>
+ <td class="legend-item" width="50pt">
+ <table width="100%" summary="unexpected fail legend">
+ <tr class="summary-row-single"><td class="summary-fail-unexpected">broken</td></tr>
+ </table>
+ </td>
+ <td class="legend-explanation">
+ Tests that the library author expects to pass are currently failing.
+ </td>
+ </tr>
+ <tr>
+ <td class="legend-item" width="50pt">
+ <table width="100%" summary="unusable legend">
+ <tr class="summary-row-single"><td class="summary-unusable">n/a</td></tr>
+ </table>
+ </td>
+ <td class="legend-explanation">
+ The library author marked it as unusable on particular platform/toolset.
+ </td>
+ </tr>
+</table>
+<hr/>
+<table border="0" summary="report description" id="Table1">
+ <tr>
+ <td><span class="run-type-incremental">i</span></td>
+ <td class="legend-explanation">An incremental run.</td>
+ </tr>
+</table>
+</div>
diff --git a/tools/regression/xsl_reports/xsl/v2/html/summary_user_legend.html b/tools/regression/xsl_reports/xsl/v2/html/summary_user_legend.html
new file mode 100644
index 0000000000..1fbf68a4cd
--- /dev/null
+++ b/tools/regression/xsl_reports/xsl/v2/html/summary_user_legend.html
@@ -0,0 +1,76 @@
+<!--
+
+Copyright MetaCommunications, Inc. 2003-2005.
+
+Distributed under 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)
+
+-->
+
+<div class="legend">
+<table border="0" summary="report description">
+ <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;pass&#160;</td></tr>
+ </table>
+ </td>
+ <td class="legend-explanation">
+ All library's tests pass.
+ </td>
+ </tr>
+ <tr>
+ <td class="legend-item" width="50pt">
+ <table width="100%" summary="expected fail legend">
+ <tr class="summary-row-single"><td class="summary-fail-expected user-summary-fail-expected"><u>details</u></td></tr>
+ </table>
+ </td>
+ <td class="legend-explanation">
+ Most of the library's tests pass, but there are some <b>known failures</b> which might affect the library's
+ functionality. Please follow the link to see the detailed report.
+ </td>
+ </tr>
+ <tr>
+ <td class="legend-item" width="50pt">
+ <table width="100%" summary="unexpected new fail legend">
+ <tr class="summary-row-single"><td class="summary-fail-unexpected-new user-summary-fail-unexpected-new"><u>details</u></td></tr>
+ </table>
+ </td>
+ <td class="legend-explanation">
+ Some of the <b>newly added</b> library's tests fail, or some of the library's tests fail on
+ the <b>newly added compiler</b>, or some of the tests fail due to <b>unresearched
+ reasons</b>. Please follow the link to see the detailed report.
+ </td>
+ </tr>
+ <tr>
+ <td class="legend-item" width="50pt">
+ <table width="100%" summary="unexpected fail legend">
+ <tr class="summary-row-single"><td class="summary-fail-unexpected user-summary-fail-unexpected"><u>regress.</u></td></tr>
+ </table>
+ </td>
+ <td class="legend-explanation">
+ There are some <b>regressions</b> in the library comparing to the previous release.
+ Please follow the link to see the detailed report.
+ </td>
+ </tr>
+ <tr>
+ <td class="legend-item" width="50pt">
+ <table width="100%" summary="unusable legend">
+ <tr class="summary-row-single"><td class="summary-unusable user-summary-unusable">unusable</td></tr>
+ </table>
+ </td>
+ <td class="legend-explanation">
+ The library author marked it as <b>unusable</b> on the particular platform/toolset.
+ Please follow the link to see the detailed report.
+ </td>
+ </tr>
+</table>
+<hr/>
+<table border="0" summary="report description" id="Table1">
+ <tr>
+ <td><span class="run-type-incremental">i</span></td>
+ <td class="legend-explanation">An incremental run.</td>
+ </tr>
+</table>
+</div>
diff --git a/tools/regression/xsl_reports/xsl/v2/issues_page.xsl b/tools/regression/xsl_reports/xsl/v2/issues_page.xsl
new file mode 100644
index 0000000000..64117d9007
--- /dev/null
+++ b/tools/regression/xsl_reports/xsl/v2/issues_page.xsl
@@ -0,0 +1,327 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+
+Copyright MetaCommunications, Inc. 2003-2004.
+
+Distributed under 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"
+ xmlns:set="http://exslt.org/sets"
+ extension-element-prefixes="func exsl"
+ exclude-result-prefixes="exsl set meta"
+ 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="source"/>
+ <xsl:param name="run_date"/>
+ <xsl:param name="warnings"/>
+ <xsl:param name="comment_file"/>
+ <xsl:param name="expected_results_file"/>
+ <xsl:param name="explicit_markup_file"/>
+ <xsl:param name="release"/>
+
+ <!-- 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="release_postfix">
+ <xsl:if test="$release='yes'">
+ <xsl:text>_release</xsl:text>
+ </xsl:if>
+ </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="required_toolsets" select="$explicit_markup//mark-toolset[ @status='required' ]"/>
+ <xsl:variable name="required_toolset_names" select="$explicit_markup//mark-toolset[ @status='required' ]/@name"/>
+
+ <!-- libraries -->
+
+ <xsl:variable
+ name="failing_tests"
+ select="//test-log[@status='unexpected' and @result='fail'
+ and @toolset = $required_toolset_names
+ and meta:is_test_log_a_test_case(.)
+ and meta:show_library( @library, $release )
+ and meta:show_toolset( @toolset, $release )
+ and not (meta:is_unusable($explicit_markup, @library,
+ @toolset )) ]"/>
+
+ <xsl:variable name="libraries" select="set:distinct( $failing_tests/@library )"/>
+
+ <xsl:template match="/">
+ <xsl:variable name="issues_list"
+ select="concat('issues', $release_postfix, '_.html')"/>
+
+ <!-- Issues page -->
+ <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="190px,*" frameborder="0" framespacing="0" border="0">
+ <frame name="tocframe" src="toc{$release_postfix}.html" scrolling="auto"/>
+ <frame name="docframe" src="{$issues_list}" scrolling="auto"/>
+ </frameset>
+ </html>
+
+ <!-- Issues list -->
+ <xsl:message>Writing document <xsl:value-of select="$issues_list"/></xsl:message>
+
+ <exsl:document href="{$issues_list}"
+ 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>
+
+ <h1 class="page-title">
+ <xsl:text>Unresolved Issues: </xsl:text>
+ <a class="hover-link" href="summary{$release_postfix}.html" target="_top"><xsl:value-of select="$source"/></a>
+ </h1>
+
+ <xsl:call-template name="insert_report_header">
+ <xsl:with-param name="run_date" select="$run_date"/>
+ <xsl:with-param name="warnings" select="$warnings"/>
+ <xsl:with-param name="purpose" select="'Provides a list of current unresolved test failures.'"/>
+ </xsl:call-template>
+
+ <!-- Emit the index -->
+ <h2>Libraries with unresolved failures</h2>
+ <div align="center">
+ <xsl:for-each select="$libraries">
+ <xsl:sort select="." order="ascending"/>
+ <xsl:variable name="library" select="."/>
+ <a href="#{$library}">
+ <xsl:value-of select="$library"/>
+ </a>
+ <xsl:text> </xsl:text>
+ </xsl:for-each>
+ </div>
+
+ <xsl:for-each select="$libraries">
+ <xsl:sort select="." order="ascending"/>
+ <xsl:variable name="library" select="."/>
+ <xsl:variable name="library_page" select="meta:encode_path( $library )" />
+ <xsl:variable name="library_tests" select="$failing_tests[@library = $library]"/>
+ <xsl:variable name="library_test_names" select="set:distinct( $library_tests/@test-name )"/>
+
+ <h2>
+ <a name="{$library}"/>
+ <a class="hover-link" href="{$library_page}{$release_postfix}.html" target="_top">
+ <xsl:value-of select="$library"/>
+ <xsl:text> (</xsl:text>
+ <xsl:value-of select="count($library_tests)"/>
+ <xsl:text> failure</xsl:text>
+ <xsl:if test="count($library_tests) &gt; 1">
+ <xsl:text>s</xsl:text>
+ </xsl:if>
+ <xsl:text>)</xsl:text>
+ </a>
+ </h2>
+
+ <table class="library-issues-table" summary="issues">
+ <thead>
+ <tr valign="middle">
+ <td class="head">test</td>
+ <td class="head">failures</td>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr valign="middle">
+ <td class="head">test</td>
+ <td class="head">failures</td>
+ </tr>
+ </tfoot>
+
+ <tbody>
+ <xsl:for-each select="$library_test_names">
+ <xsl:sort select="." order="ascending"/>
+ <xsl:variable name="test_name" select="."/>
+
+ <xsl:variable name="unexpected_toolsets" select="$library_tests[@test-name = $test_name]/@toolset"/>
+
+ <xsl:variable name="test_program" select="$library_tests[@test-name = $test_name]/@test-program"/>
+ <tr>
+ <td class="test-name">
+ <a href="http://svn.boost.org/svn/boost/{$source}/{$test_program}" class="test-link" target="_top">
+ <xsl:value-of select="$test_name"/>
+ </a>
+ </td>
+ <td class="failures-row">
+ <table summary="unexpected fail legend" class="issue-box">
+ <tr class="library-row-single">
+ <xsl:for-each select="$unexpected_toolsets">
+ <xsl:sort select="." order="ascending"/>
+ <xsl:variable name="toolset" select="."/>
+ <xsl:variable name="test_logs"
+ select="$library_tests[@test-name = $test_name
+ and @toolset = $toolset]"/>
+ <xsl:for-each select="$test_logs">
+ <xsl:call-template name="print_failure_cell">
+ <xsl:with-param name="test_log" select="."/>
+ <xsl:with-param name="toolset" select="$toolset"/>
+ </xsl:call-template>
+ </xsl:for-each>
+ </xsl:for-each>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </xsl:for-each>
+ </tbody>
+
+ </table>
+ </xsl:for-each>
+ <xsl:copy-of select="document( 'html/issues_legend.html' )"/>
+ <xsl:copy-of select="document( 'html/make_tinyurl.html' )"/>
+ </body>
+ </html>
+ </exsl:document>
+
+ <xsl:message>Writing document issues-email.txt</xsl:message>
+ <exsl:document href="issues-email.txt" method="text" encoding="utf-8">
+ <xsl:text>Boost regression test failures
+------------------------------
+Report time: </xsl:text>
+
+ <xsl:value-of select="$run_date"/>
+
+ <xsl:text>
+
+This report lists all regression test failures on release platforms.
+
+Detailed report:
+ http://beta.boost.org/development/tests/</xsl:text>
+ <xsl:value-of select="$source"/>
+ <xsl:text>/developer/issues.html
+
+</xsl:text>
+ <xsl:value-of select="count($failing_tests)"/>
+ <xsl:text> failure</xsl:text>
+ <xsl:if test="count($failing_tests) &gt; 1">
+ <xsl:text>s</xsl:text>
+ </xsl:if>
+ <xsl:text> in </xsl:text>
+ <xsl:value-of select="count($libraries)"/>
+ <xsl:text> librar</xsl:text>
+ <xsl:choose>
+ <xsl:when test="count($libraries) &gt; 1">
+ <xsl:text>ies</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>y</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>:
+</xsl:text>
+ <xsl:for-each select="$libraries">
+ <xsl:sort select="." order="ascending"/>
+ <xsl:variable name="library" select="."/>
+ <xsl:text> </xsl:text>
+ <xsl:value-of select="$library"/>
+ <xsl:text> (</xsl:text>
+ <xsl:value-of select="count($failing_tests[@library = $library])"/>
+ <xsl:text>)
+</xsl:text>
+ </xsl:for-each>
+
+ <xsl:for-each select="$libraries">
+ <xsl:sort select="." order="ascending"/>
+ <xsl:variable name="library" select="."/>
+ <xsl:variable name="library_page" select="meta:encode_path( $library )" />
+ <xsl:variable name="library_tests" select="$failing_tests[@library = $library]"/>
+ <xsl:variable name="library_test_names" select="set:distinct( $library_tests/@test-name )"/>
+
+ <xsl:text>
+|</xsl:text>
+ <xsl:value-of select="$library"/>
+ <xsl:text>|
+</xsl:text>
+
+ <xsl:for-each select="$library_test_names">
+ <xsl:sort select="." order="ascending"/>
+ <xsl:variable name="test_name" select="."/>
+
+ <xsl:variable name="unexpected_toolsets" select="$library_tests[@test-name = $test_name]/@toolset"/>
+
+ <xsl:variable name="test_program" select="$library_tests[@test-name = $test_name]/@test-program"/>
+ <xsl:text> </xsl:text>
+ <xsl:value-of select="$test_name"/>
+ <xsl:text>:</xsl:text>
+ <xsl:for-each select="$unexpected_toolsets">
+ <xsl:sort select="." order="ascending"/>
+ <xsl:text> </xsl:text>
+ <xsl:value-of select="."/>
+ </xsl:for-each>
+ <xsl:text>
+</xsl:text>
+ </xsl:for-each>
+ </xsl:for-each>
+ </exsl:document>
+ </xsl:template>
+
+ <xsl:template name="print_failure_cell">
+ <xsl:param name="test_log" select="."/>
+ <xsl:param name="toolset"/>
+
+ <xsl:variable name="test_run" select="$test_log/.."/>
+
+ <xsl:variable name="log_link">
+ <xsl:value-of select="meta:log_file_path($test_log, $test_run/@runner,
+ $release_postfix )"/>
+ </xsl:variable>
+ <xsl:variable name="class">
+ <xsl:choose>
+ <xsl:when test="$test_log/@is-new = 'yes'">
+ <xsl:text>library-fail-unexpected-new</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>library-fail-unexpected</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <td class="{$class}">
+ <span>
+ <a href="{$log_link}" class="log-link" target="_top">
+ <xsl:value-of select="$toolset"/>
+ </a>
+ </span>
+ </td>
+ </xsl:template>
+</xsl:stylesheet>
diff --git a/tools/regression/xsl_reports/xsl/v2/links_page.xsl b/tools/regression/xsl_reports/xsl/v2/links_page.xsl
new file mode 100644
index 0000000000..1aacd6c7c8
--- /dev/null
+++ b/tools/regression/xsl_reports/xsl/v2/links_page.xsl
@@ -0,0 +1,399 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Copyright MetaCommunications, Inc. 2003-2006.
+
+Distributed under 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:str="http://exslt.org/strings"
+ xmlns:set="http://exslt.org/sets"
+ xmlns:exsl="http://exslt.org/common"
+ xmlns:func="http://exslt.org/functions"
+ xmlns:meta="http://www.meta-comm.com"
+ extension-element-prefixes="func exsl str set"
+ exclude-result-prefixes="meta"
+ 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="source"/>
+ <xsl:param name="run_date"/>
+ <xsl:param name="comment_file"/>
+ <xsl:param name="explicit_markup_file"/>
+
+ <xsl:variable name="explicit_markup" select="document( $explicit_markup_file )"/>
+ <xsl:variable name="runner_id" select="test-run/@runner"/>
+ <xsl:variable name="revision" select="test-run/@revision"/>
+ <xsl:variable name="timestamp" select="test-run/@timestamp"/>
+
+ <!-- runs / toolsets -->
+ <xsl:variable name="run_toolsets" select="meta:test_structure( /, 'no' )"/>
+
+ <!-- libraries -->
+ <xsl:variable name="test_case_logs" select="//test-log[ meta:is_test_log_a_test_case(.) ]"/>
+ <xsl:variable name="libraries" select="set:distinct( $test_case_logs/@library )"/>
+
+ <xsl:variable name="unusables_f">
+ <xsl:for-each select="set:distinct( $run_toolsets//toolset/@name )">
+ <xsl:variable name="toolset" select="."/>
+ <xsl:for-each select="$libraries">
+ <xsl:variable name="library" select="."/>
+ <xsl:if test="meta:is_unusable_( $explicit_markup, $library, $toolset )">
+ <unusable library-name="{$library}" toolset-name="{$toolset}"/>
+ </xsl:if>
+ </xsl:for-each>
+ </xsl:for-each>
+ </xsl:variable>
+
+ <xsl:variable name="unusables" select="exsl:node-set( $unusables_f )"/>
+
+
+ <xsl:key
+ name="library-name_toolset-name_key"
+ match="unusable"
+ use="concat( @library-name, '&gt;@&lt;', @toolset-name )"/>
+
+
+ <!--
+ Build a tree with the following structure:
+
+ lib -> test -> toolsets -> test-log
+ -->
+
+ <xsl:template match="/">
+ <xsl:variable name="test_logs_to_show" select="//test-log"/>
+ <xsl:variable name="libs_test_test_log_tree" select="meta:restructure_logs( $test_logs_to_show )"/>
+
+ <exsl:document href="debug.xml"
+ method="xml"
+ encoding="utf-8"
+ indent="yes">
+ <debug>
+ <xsl:copy-of select="$libs_test_test_log_tree"/>
+ </debug>
+ </exsl:document>
+
+ <xsl:for-each select="$libs_test_test_log_tree//toolset">
+ <xsl:variable name="toolset" select="."/>
+ <xsl:variable name="library_name" select="$toolset/../../@name"/>
+ <xsl:variable name="test_name" select="$toolset/../@name"/>
+ <xsl:variable name="toolset_name" select="$toolset/@name"/>
+ <xsl:message>Processing test "<xsl:value-of select="$runner_id"/>/<xsl:value-of select="$library_name"/>/<xsl:value-of select="$test_name"/>/<xsl:value-of select="$toolset_name"/>"</xsl:message>
+
+ <xsl:if test="count( $toolset/* ) &gt; 1">
+ <xsl:message> Processing variants</xsl:message>
+
+ <xsl:variable name="variants_file_path" select="meta:output_file_path( concat( $runner_id, '-', $library_name, '-', $toolset_name, '-', $test_name, '-variants' ) )"/>
+
+ <xsl:call-template name="write_variants_file">
+ <xsl:with-param name="path" select="$variants_file_path"/>
+ <xsl:with-param name="test_logs" select="$toolset/*"/>
+ <xsl:with-param name="runner_id" select="$runner_id"/>
+ <xsl:with-param name="revision" select="$revision"/>
+ <xsl:with-param name="timestamp" select="$timestamp"/>
+ </xsl:call-template>
+
+ <xsl:for-each select="str:tokenize( string( ' |_release' ), '|')">
+ <xsl:variable name="release_postfix" select="translate(.,' ','')"/>
+ <xsl:for-each select="str:tokenize( string( 'developer|user' ), '|')">
+ <xsl:variable name="directory" select="."/>
+ <xsl:variable name="variants__file_path" select="concat( $directory, '/', meta:encode_path( concat( $runner_id, '-', $library_name, '-', $toolset_name, '-', $test_name, '-variants_', $release_postfix ) ), '.html' )"/>
+
+ <xsl:call-template name="write_variants_reference_file">
+ <xsl:with-param name="path" select="$variants__file_path"/>
+ <xsl:with-param name="variants_file_path" select="concat( '../', $variants_file_path )"/>
+ <xsl:with-param name="release_postfix" select="$release_postfix"/>
+ </xsl:call-template>
+ </xsl:for-each>
+ </xsl:for-each>
+ </xsl:if>
+
+ <xsl:for-each select="./test-log">
+ <xsl:message> Processing test-log</xsl:message>
+ <xsl:variable name="test_log" select="."/>
+
+ <xsl:if test="meta:show_output( $explicit_markup, $test_log )">
+ <xsl:variable name="log_file_path" select="meta:log_file_path( ., $runner_id )"/>
+
+ <xsl:call-template name="write_test_result_file">
+ <xsl:with-param name="path" select="$log_file_path"/>
+ <xsl:with-param name="test_log" select="$test_log"/>
+ <xsl:with-param name="runner_id" select="$runner_id"/>
+ <xsl:with-param name="revision" select="$revision"/>
+ <xsl:with-param name="timestamp" select="$timestamp"/>
+ </xsl:call-template>
+
+ <xsl:for-each select="str:tokenize( string( ' |_release' ), '|')">
+ <xsl:variable name="release_postfix" select="translate(.,' ','')"/>
+ <xsl:for-each select="str:tokenize( string( 'developer|user' ), '|')">
+ <xsl:variable name="directory" select="."/>
+
+ <xsl:variable name="reference_file_path" select="concat( $directory, '/', meta:log_file_path( $test_log, $runner_id, $release_postfix ) )"/>
+ <xsl:call-template name="write_test_results_reference_file">
+ <xsl:with-param name="path" select="$reference_file_path"/>
+ <xsl:with-param name="log_file_path" select="$log_file_path"/>
+ </xsl:call-template>
+ </xsl:for-each>
+ </xsl:for-each>
+ </xsl:if>
+
+ </xsl:for-each>
+ </xsl:for-each>
+ </xsl:template>
+
+ <func:function name="meta:restructure_logs">
+ <xsl:param name="test_logs"/>
+ <xsl:variable name="libs" select="set:distinct( $test_logs/@library )"/>
+ <xsl:variable name="fragment">
+ <runner runner_id="{$test_logs[1]/../@runner}" revision="{$test_logs[1]/../@revision}" timestamp="{$test_logs[1]/../@timestamp}">
+ <xsl:for-each select="$libs">
+ <xsl:variable name="library_name" select="."/>
+ <xsl:variable name="library_test_logs" select="$test_logs[@library=$library_name]"/>
+ <library name="{$library_name}">
+ <xsl:variable name="tests" select="set:distinct( $library_test_logs/@test-name )"/>
+ <xsl:for-each select="$tests">
+ <xsl:variable name="test_name" select="."/>
+ <xsl:variable name="test_test_logs" select="$library_test_logs[@test-name=$test_name]"/>
+ <test name="{$test_name}" >
+ <xsl:variable name="toolsets" select="set:distinct( $test_test_logs/@toolset )"/>
+ <xsl:for-each select="$toolsets">
+ <xsl:variable name="toolset" select="."/>
+ <xsl:variable name="toolset_test_logs" select="$test_test_logs[@toolset=$toolset]"/>
+ <toolset name="{$toolset}">
+ <xsl:copy-of select="$toolset_test_logs"/>
+ </toolset>
+ </xsl:for-each>
+ </test>
+ </xsl:for-each>
+ </library>
+ </xsl:for-each>
+ </runner>
+ </xsl:variable>
+ <func:result select="exsl:node-set( $fragment )"/>
+ </func:function>
+
+ <xsl:template name="write_variants_reference_file">
+ <xsl:param name="path"/>
+ <xsl:param name="variants_file_path"/>
+ <xsl:param name="release_postfix"/>
+
+ <xsl:message> Writing variants reference file <xsl:value-of select="$path"/></xsl:message>
+ <exsl:document href="{$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" />
+ <!-- <title>Boost regression: <xsl:value-of select="$library_name"/>/<xsl:value-of select="$source"/></title>-->
+ </head>
+ <frameset cols="190px,*" frameborder="0" framespacing="0" border="0">
+ <frame name="tocframe" src="toc{$release_postfix}.html" scrolling="auto"/>
+ <frame name="docframe" src="{$variants_file_path}" scrolling="auto"/>
+ </frameset>
+ </html>
+ </exsl:document>
+
+ </xsl:template>
+
+ <func:function name="meta:output_page_header">
+ <xsl:param name="test_log"/>
+ <xsl:param name="runner_id"/>
+ <xsl:choose>
+ <xsl:when test="$test_log/@test-name != ''">
+ <func:result select="concat( $runner_id, ' - ', $test_log/@library, ' - ', $test_log/@test-name, ' / ', $test_log/@toolset )"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <func:result select="$test_log/@target-dir"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </func:function>
+
+
+ <xsl:template name="write_variants_file">
+ <xsl:param name="path"/>
+ <xsl:param name="test_logs"/>
+ <xsl:param name="runner_id"/>
+ <xsl:param name="revision"/>
+ <xsl:param name="timestamp"/>
+ <xsl:message> Writing variants file <xsl:value-of select="$path"/></xsl:message>
+ <exsl:document href="{$path}"
+ method="html"
+ doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
+ encoding="utf-8"
+ indent="yes">
+
+ <html>
+ <xsl:variable name="component" select="meta:output_page_header( $test_logs[1], $runner_id )"/>
+ <xsl:variable name="age" select="meta:timestamp_difference( $timestamp, $run_date )"/>
+
+ <head>
+ <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
+ <title>Test output: <xsl:value-of select="$component"/></title>
+ </head>
+
+ <body>
+ <div class="log-test-header">
+ <div class="log-test-title">
+ Test output: <xsl:value-of select="$component"/>
+ </div>
+ <div><span class="timestamp-{$age}">
+ Rev <xsl:value-of select="$revision"/> /
+ <xsl:value-of select="meta:format_timestamp( $timestamp )"/>
+ </span></div>
+ </div>
+
+ <div>
+ <b>Report Time: </b> <xsl:value-of select="meta:format_timestamp( $run_date )"/>
+ </div>
+
+ <p>Output by test variants:</p>
+ <table>
+ <xsl:for-each select="$test_logs">
+ <tr>
+ <td>
+ <xsl:choose>
+ <xsl:when test="meta:log_file_path(.,$runner_id) != ''">
+ <a href="../{meta:log_file_path(.,$runner_id)}">
+ <xsl:value-of select="@target-directory"/>
+ </a>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="@target-directory"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:for-each>
+ </table>
+ </body>
+ </html>
+ </exsl:document>
+ </xsl:template>
+
+ <xsl:template name="write_test_result_file">
+ <xsl:param name="path"/>
+ <xsl:param name="test_log"/>
+ <xsl:param name="runner_id"/>
+ <xsl:param name="revision"/>
+ <xsl:param name="timestamp"/>
+ <xsl:message> Writing log file document <xsl:value-of select="$path"/></xsl:message>
+
+ <exsl:document href="{$path}"
+ method="html"
+ doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
+ encoding="utf-8"
+ indent="yes">
+
+ <html>
+ <xsl:variable name="component" select="meta:output_page_header( $test_log, $runner_id )"/>
+ <xsl:variable name="age" select="meta:timestamp_difference( $timestamp, $run_date )"/>
+
+ <head>
+ <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
+ <title>Test output: <xsl:value-of select="$component"/></title>
+ </head>
+
+ <body>
+ <div class="log-test-header">
+ <div class="log-test-title">
+ Test output: <xsl:value-of select="$component"/>
+ </div>
+ <div><span class="timestamp-{$age}">
+ Rev <xsl:value-of select="$revision"/> /
+ <xsl:value-of select="meta:format_timestamp( $timestamp )"/>
+ </span></div>
+ </div>
+
+ <div>
+ <b>Report Time: </b> <xsl:value-of select="meta:format_timestamp( $run_date )"/>
+ </div>
+
+ <xsl:if test="notes/note">
+ <p>
+ <div class="notes-title">Notes</div>
+ <xsl:call-template name="show_notes">
+ <xsl:with-param name="notes" select="notes/note"/>
+ <xsl:with-param name="explicit_markup" select="$explicit_markup"/>
+ </xsl:call-template>
+ </p>
+ </xsl:if>
+
+ <xsl:if test="compile">
+ <p>
+ <div class="log-compiler-output-title">Compile [<xsl:value-of select="compile/@timestamp"/>]: <span class="output-{compile/@result}"><xsl:value-of select="compile/@result"/></span></div>
+ <pre><xsl:copy-of select="compile/node()"/></pre>
+ </p>
+ </xsl:if>
+
+ <xsl:if test="link">
+ <p>
+ <div class="log-linker-output-title">Link [<xsl:value-of select="link/@timestamp"/>]: <span class="output-{link/@result}"><xsl:value-of select="link/@result"/></span></div>
+ <pre><xsl:copy-of select="link/node()"/></pre>
+ </p>
+ </xsl:if>
+
+ <xsl:if test="lib">
+ <p>
+ <div class="log-linker-output-title">Lib [<xsl:value-of select="lib/@timestamp"/>]: <span class="output-{lib/@result}"><xsl:value-of select="lib/@result"/></span></div>
+ <p>
+ See <a href="{meta:encode_path( concat( $runner_id, '-', lib/node() ) ) }.html">
+ <xsl:copy-of select="lib/node()"/>
+ </a>
+ </p>
+ </p>
+ </xsl:if>
+
+ <xsl:if test="run">
+ <p>
+ <div class="log-run-output-title">Run [<xsl:value-of select="run/@timestamp"/>]: <span class="output-{run/@result}"><xsl:value-of select="run/@result"/></span></div>
+ <pre>
+ <xsl:copy-of select="run/node()"/>
+ </pre>
+ </p>
+ </xsl:if>
+
+ <xsl:copy-of select="document( 'html/make_tinyurl.html' )"/>
+ </body>
+
+ </html>
+ </exsl:document>
+ </xsl:template>
+
+
+ <xsl:template name="write_test_results_reference_file">
+ <xsl:param name="path"/>
+ <xsl:param name="log_file_path"/>
+ <xsl:message> Writing log frame document <xsl:value-of select="$path"/></xsl:message>
+ <exsl:document href="{$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>
+ <frameset cols="190px,*" frameborder="0" framespacing="0" border="0">
+ <frame name="tocframe" src="../toc.html" scrolling="auto"/>
+ <frame name="docframe" src="../../{$log_file_path}" scrolling="auto"/>
+ </frameset>
+ </html>
+ </exsl:document>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/tools/regression/xsl_reports/xsl/v2/produce_expected_results.xsl b/tools/regression/xsl_reports/xsl/v2/produce_expected_results.xsl
new file mode 100644
index 0000000000..8574c59361
--- /dev/null
+++ b/tools/regression/xsl_reports/xsl/v2/produce_expected_results.xsl
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Copyright MetaCommunications, Inc. 2003-2005.
+
+Distributed under 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:meta="http://www.meta-comm.com"
+ exclude-result-prefixes="meta"
+ version="1.0">
+
+ <xsl:import href="common.xsl"/>
+
+ <xsl:output method="xml" encoding="utf-8"/>
+
+ <xsl:template match="/">
+ <root>
+ <expected-failures>
+ <xsl:apply-templates select="*//test-log"/>
+ </expected-failures>
+ </root>
+ </xsl:template>
+
+ <xsl:template match="test-log">
+ <xsl:if test="meta:is_test_log_a_test_case(.)">
+ <test-result library="{@library}" test-name="{@test-name}" toolset="{@toolset}" result="{@result}" />
+ </xsl:if>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/tools/regression/xsl_reports/xsl/v2/result_page.xsl b/tools/regression/xsl_reports/xsl/v2/result_page.xsl
new file mode 100644
index 0000000000..7528430f97
--- /dev/null
+++ b/tools/regression/xsl_reports/xsl/v2/result_page.xsl
@@ -0,0 +1,691 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Copyright MetaCommunications, Inc. 2003-2007.
+
+Distributed under 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:set="http://exslt.org/sets"
+ xmlns:meta="http://www.meta-comm.com"
+ extension-element-prefixes="func exsl"
+ exclude-result-prefixes="exsl set meta"
+ 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="warnings"/>
+ <xsl:param name="comment_file"/>
+ <xsl:param name="expected_results_file"/>
+ <xsl:param name="explicit_markup_file"/>
+ <xsl:param name="release"/>
+
+ <!-- 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, '&gt;@&lt;', @test-name )"/>
+ <xsl:key name="toolset_key" match="test-log" use="@toolset"/>
+
+ <!-- runs / toolsets -->
+ <xsl:variable name="run_toolsets" select="meta:test_structure( /, $release )"/>
+
+ <!-- libraries -->
+
+ <xsl:variable name="test_case_logs" select="//test-log[ meta:is_test_log_a_test_case(.) ]"/>
+ <xsl:variable name="libraries" select="set:distinct( $test_case_logs/@library )"/>
+ <xsl:variable name="unusables_f">
+ <unusables>
+ <xsl:for-each select="set:distinct( $run_toolsets//toolset/@name )">
+ <xsl:variable name="toolset" select="."/>
+ <xsl:for-each select="$libraries">
+ <xsl:variable name="library" select="."/>
+ <xsl:if test="meta:is_unusable_( $explicit_markup, $library, $toolset )">
+ <unusable library-name="{$library}" toolset-name="{$toolset}"/>
+ </xsl:if>
+ </xsl:for-each>
+ </xsl:for-each>
+ </unusables>
+ </xsl:variable>
+
+ <xsl:variable name="unusables" select="exsl:node-set( $unusables_f )"/>
+
+
+ <xsl:key
+ name="library-name_toolset-name_key"
+ match="unusables/unusable"
+ use="concat( @library-name, '&gt;@&lt;', @toolset-name )"/>
+
+ <!-- modes -->
+
+ <xsl:variable name="alternate_mode">
+ <xsl:choose>
+ <xsl:when test="$mode='user'">developer</xsl:when>
+ <xsl:otherwise>user</xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="release_postfix">
+ <xsl:if test="$release='yes'">_release</xsl:if>
+ </xsl:variable>
+
+
+
+ <xsl:template name="test_type_col">
+ <td class="test-type">
+ <a href="http://www.boost.org/status/compiler_status.html#Understanding" class="legend-link" target="_top">
+ <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_mpi'"> <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:when test="$test_type='link'"> <xsl:text>l</xsl:text> </xsl:when>
+ <xsl:when test="$test_type='link_fail'"> <xsl:text>lf</xsl:text> </xsl:when>
+ <xsl:otherwise>
+ <xsl:message terminate="yes">Incorrect test type "<xsl:value-of select="$test_type"/>"</xsl:message>
+ </xsl:otherwise>
+ </xsl:choose>
+ </a>
+ </td>
+ </xsl:template>
+
+
+ <xsl:template match="/">
+
+ <xsl:message><xsl:value-of select="count($unusables)"/><xsl:copy-of select="$unusables"/></xsl:message>
+
+ <exsl:document href="debug.xml"
+ method="xml"
+ encoding="utf-8"
+ indent="yes">
+
+ <debug>
+ <runs>
+ <xsl:for-each select="$run_toolsets">
+ <xsl:copy-of select="."/>
+ </xsl:for-each>
+ </runs>
+ <xsl:copy-of select="$unusables_f"/>
+ <xsl:copy-of select="$unusables"/>
+ </debug>
+
+ </exsl:document>
+ <xsl:message>Wrote debug</xsl:message>
+ <xsl:variable name="index_path" select="concat( 'index', $release_postfix, '_.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="190px,*" frameborder="0" framespacing="0" border="0">
+ <frame name="tocframe" src="toc{$release_postfix}.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="http://www.boost.org/boost.png" width="277" height="86" align="right" alt="Boost logo"></img>
+
+ <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>
+
+ <xsl:variable name="purpose">
+ <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 SVN "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 SVN "health". For user-level
+ report, see <a href="../{$alternate_mode}/index.html" target="_top">user summary</a>.
+ </xsl:when>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:call-template name="insert_report_header">
+ <xsl:with-param name="run_date" select="$run_date"/>
+ <xsl:with-param name="warnings" select="$warnings"/>
+ <xsl:with-param name="purpose" select="$purpose"/>
+ </xsl:call-template>
+
+ <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="concat( 'toc', $release_postfix, '.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{$release_postfix}.html" class="toc-entry" target="_top">Report info</a>
+ </div>
+ <div class="toc-header-entry">
+ <a href="summary{$release_postfix}.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>
+
+ <div class="toc-header-entry">
+ <xsl:call-template name="insert_view_link">
+ <xsl:with-param name="page" select="'index'"/>
+ <xsl:with-param name="class" select="'toc-entry'"/>
+ <xsl:with-param name="release" select="$release"/>
+ </xsl:call-template>
+ </div>
+
+ <hr/>
+
+ <xsl:for-each select="$libraries">
+ <xsl:sort select="." order="ascending" />
+ <xsl:variable name="library_page" select="meta:encode_path(.)" />
+ <div class="toc-entry">
+ <a href="{$library_page}{$release_postfix}.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[ meta:show_library( ., $release )]">
+ <xsl:sort select="." order="ascending" />
+ <xsl:variable name="library" select="." />
+
+ <xsl:variable name="library_results" select="concat( meta:encode_path( $library ), $release_postfix, '_.html' )"/>
+ <xsl:variable name="library_page" select="concat( meta:encode_path( $library ), $release_postfix, '.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="190px,*" frameborder="0" framespacing="0" border="0">
+ <frame name="tocframe" src="toc{$release_postfix}.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>
+
+ <xsl:call-template name="insert_page_links">
+ <xsl:with-param name="page" select="meta:encode_path( $library )"/>
+ <xsl:with-param name="release" select="$release"/>
+ <xsl:with-param name="mode" select="$alternate_mode"/>
+ </xsl:call-template>
+
+ <h1 class="page-title">
+ <a class="hover-link" name="{$library}" href="http://www.boost.org/libs/{$library}" target="_top">
+ <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>
+
+ <xsl:call-template name="insert_report_header">
+ <xsl:with-param name="run_date" select="$run_date"/>
+ <xsl:with-param name="warnings" select="$warnings"/>
+ </xsl:call-template>
+
+ <!-- library marks = library-unusable markup for toolsets in the report -->
+ <xsl:variable name="library_marks" select="$explicit_markup//library[ @name = $library ]/mark-unusable/toolset[ meta:re_match( @name, $run_toolsets//toolset/@name ) ]/.."/>
+
+ <table border="0" cellspacing="0" cellpadding="0" class="library-table" width="1%" summary="Library results">
+
+ <thead>
+ <xsl:call-template name="insert_runners_rows">
+ <xsl:with-param name="mode" select="'details'"/>
+ <xsl:with-param name="top_or_bottom" select="'top'"/>
+ <xsl:with-param name="run_toolsets" select="$run_toolsets"/>
+ <xsl:with-param name="run_date" select="$run_date"/>
+ </xsl:call-template>
+
+ <xsl:call-template name="insert_toolsets_row">
+ <xsl:with-param name="mode" select="'details'"/>
+ <xsl:with-param name="library_marks" select="$library_marks"/>
+ <xsl:with-param name="library" select="$library"/>
+ <xsl:with-param name="run_date" select="$run_date"/>
+ </xsl:call-template>
+ </thead>
+ <tfoot>
+ <xsl:call-template name="insert_toolsets_row">
+ <xsl:with-param name="mode" select="'details'"/>
+ <xsl:with-param name="library_marks" select="$library_marks"/>
+ <xsl:with-param name="library" select="$library"/>
+ <xsl:with-param name="run_date" select="$run_date"/>
+ </xsl:call-template>
+
+ <xsl:call-template name="insert_runners_rows">
+ <xsl:with-param name="mode" select="'details'"/>
+ <xsl:with-param name="top_or_bottom" select="'bottom'"/>
+ <xsl:with-param name="run_toolsets" select="$run_toolsets"/>
+ <xsl:with-param name="run_date" select="$run_date"/>
+ </xsl:call-template>
+ </tfoot>
+
+ <tbody>
+ <xsl:variable name="lib_tests" select="$test_case_logs[@library = $library]" />
+ <xsl:variable name="lib_unique_tests_list"
+ select="$lib_tests[ generate-id(.) = generate-id( key('test_name_key', concat( @library, '&gt;@&lt;', @test-name ) ) ) ]" />
+
+ <xsl:variable name="lib_tests_by_category"
+ select="meta:order_tests_by_category( $lib_unique_tests_list )"/>
+
+ <xsl:call-template name="insert_test_section">
+ <xsl:with-param name="library" select="$library"/>
+ <xsl:with-param name="section_test_names" select="$lib_tests_by_category"/>
+ <xsl:with-param name="lib_tests" select="$lib_tests"/>
+ <xsl:with-param name="toolsets" select="$run_toolsets"/>
+ </xsl:call-template>
+
+ </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="references" select="$refid"/>
+ </xsl:call-template>
+ </td>
+ </tr>
+ </xsl:for-each>
+ </table>
+ </xsl:if>
+
+ <div id="legend">
+ <xsl:copy-of select="document( concat( 'html/library_', $mode, '_legend.html' ) )"/>
+ </div>
+
+ <xsl:call-template name="insert_page_links">
+ <xsl:with-param name="page" select="meta:encode_path( $library )"/>
+ <xsl:with-param name="release" select="$release"/>
+ <xsl:with-param name="mode" select="$alternate_mode"/>
+ </xsl:call-template>
+
+ </body>
+ </html>
+
+ </exsl:document>
+
+ </xsl:for-each>
+
+ </xsl:template>
+
+
+ <!-- insert test result with log file link -->
+
+ <xsl:template name="insert_test_result">
+ <xsl:param name="result"/>
+ <xsl:param name="log_link"/>
+
+ <xsl:choose>
+ <xsl:when test="$log_link != ''">
+ <xsl:text>&#160;&#160;</xsl:text>
+ <a href="{$log_link}" class="log-link" target="_top">
+ <xsl:copy-of select="$result"/>
+ </a>
+ <xsl:text>&#160;&#160;</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>&#160;&#160;</xsl:text>
+ <xsl:copy-of select="$result"/>
+ <xsl:text>&#160;&#160;</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <!-- report developer status -->
+ <xsl:template name="insert_cell_developer">
+ <xsl:param name="library"/>
+ <xsl:param name="toolset"/>
+ <xsl:param name="test_log"/>
+
+ <xsl:variable name="class" select="concat( 'library-', meta:result_cell_class( $library, $toolset, $test_log ) )"/>
+
+ <xsl:variable name="cell_link">
+ <xsl:choose>
+ <xsl:when test="count( $test_log ) &gt; 1">
+ <xsl:variable name="variants__file_path" select="concat( meta:encode_path( concat( $test_log/../@runner, '-', $test_log/@library, '-', $test_log/@toolset, '-', $test_log/@test-name, '-variants_', $release_postfix ) ), '.html' )"/>
+ <xsl:value-of select="$variants__file_path"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="meta:log_file_path( $test_log, $test_log/../@runner, $release_postfix )"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <td class="{$class}" title="{$test_log/@test-name}/{$toolset}">
+ <xsl:choose>
+ <xsl:when test="meta:is_unusable( $explicit_markup, $library, $toolset )">
+ <xsl:call-template name="insert_test_result">
+ <xsl:with-param name="result" select="'n/a'"/>
+ <xsl:with-param name="log_link" select="$cell_link"/>
+ </xsl:call-template>
+ </xsl:when>
+
+ <xsl:when test="count( $test_log ) &lt; 1">
+ <xsl:text>&#160;&#160;&#160;&#160;</xsl:text>
+ </xsl:when>
+
+ <xsl:when test="count( $test_log[ @result != 'success' and @status = 'expected' ] ) &gt; 0">
+ <xsl:call-template name="insert_test_result">
+ <xsl:with-param name="result">
+ <xsl:choose>
+ <xsl:when test="$test_log/@expected-reason != ''">
+ <xsl:text>fail?</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>fail*</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:with-param>
+ <xsl:with-param name="log_link" select="$cell_link"/>
+ </xsl:call-template>
+ </xsl:when>
+
+ <xsl:when test="$test_log/@result != 'success' and $test_log/@status = 'unexpected'">
+ <xsl:call-template name="insert_test_result">
+ <xsl:with-param name="result" select="'fail'"/>
+ <xsl:with-param name="log_link" select="$cell_link"/>
+ </xsl:call-template>
+ </xsl:when>
+
+ <xsl:when test="$test_log/@result = 'success' and $test_log/@status = 'unexpected'">
+ <xsl:call-template name="insert_test_result">
+ <xsl:with-param name="result" select="'pass'"/>
+ <xsl:with-param name="log_link" select="$cell_link"/>
+ </xsl:call-template>
+ </xsl:when>
+
+ <xsl:otherwise>
+ <xsl:call-template name="insert_test_result">
+ <xsl:with-param name="result" select="'pass'"/>
+ <xsl:with-param name="log_link" select="$cell_link"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </xsl:template>
+
+ <!-- report user status -->
+ <xsl:template name="insert_cell_user">
+ <xsl:param name="library"/>
+ <xsl:param name="toolset"/>
+ <xsl:param name="test_log"/>
+
+ <xsl:variable name="class" select="concat( 'library-', meta:result_cell_class( $library, $toolset, $test_log ) )"/>
+
+ <xsl:variable name="cell_link">
+ <xsl:choose>
+ <xsl:when test="count( $test_log ) &gt; 1">
+ <xsl:variable name="variants__file_path" select="concat( meta:encode_path( concat( $test_log/../@runner, '-', $test_log/@library, '-', $test_log/@toolset, '-', $test_log/@test-name, '-variants_', $release_postfix ) ), '.html' )"/>
+ <xsl:value-of select="$variants__file_path"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="meta:log_file_path( $test_log, $test_log/../@runner, $release_postfix )"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <td class="{$class} user-{$class}" title="{$test_log/@test-name}/{$toolset}">
+ <xsl:choose>
+ <xsl:when test="meta:is_unusable( $explicit_markup, $library, $toolset )">
+ <xsl:call-template name="insert_test_result">
+ <xsl:with-param name="result" select="'unusable'"/>
+ <xsl:with-param name="log_link" select="$cell_link"/>
+ </xsl:call-template>
+ </xsl:when>
+
+ <xsl:when test="count( $test_log ) &lt; 1">
+ <xsl:text>&#160;&#160;&#160;&#160;</xsl:text>
+ </xsl:when>
+
+ <xsl:when test="$test_log/@result != 'success' and $test_log/@status = 'expected'">
+ <xsl:call-template name="insert_test_result">
+ <xsl:with-param name="result">
+ <xsl:choose>
+ <xsl:when test="$test_log/@expected-reason != ''">
+ <xsl:text>fail?</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>fail*</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:with-param>
+ <xsl:with-param name="log_link" select="$cell_link"/>
+ </xsl:call-template>
+ </xsl:when>
+
+ <xsl:when test="$test_log/@result != 'success' and $test_log/@status = 'unexpected'">
+ <xsl:call-template name="insert_test_result">
+ <xsl:with-param name="result" select="'fail'"/>
+ <xsl:with-param name="log_link" select="$cell_link"/>
+ </xsl:call-template>
+ </xsl:when>
+
+ <xsl:when test="$test_log/@result = 'success' and $test_log/@status = 'unexpected'">
+ <xsl:call-template name="insert_test_result">
+ <xsl:with-param name="result" select="'pass'"/>
+ <xsl:with-param name="log_link" select="$cell_link"/>
+ </xsl:call-template>
+ </xsl:when>
+
+ <xsl:otherwise>
+ <xsl:call-template name="insert_test_result">
+ <xsl:with-param name="result" select="'pass'"/>
+ <xsl:with-param name="log_link" select="$cell_link"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </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="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="http://svn.boost.org/svn/boost/{$source}/{$test_program}" class="test-link" target="_top">
+ <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="$run_toolsets/platforms/platform/runs/run/toolset">
+ <xsl:variable name="toolset" select="@name" />
+ <xsl:variable name="runner" select="../@runner" />
+
+ <xsl:variable name="test_result_for_toolset" select="$test_results[ @toolset = $toolset and ../@runner=$runner ]"/>
+
+ <!-- Insert cell -->
+ <xsl:choose>
+ <xsl:when test="$mode='user'">
+ <xsl:call-template name="insert_cell_user">
+ <xsl:with-param name="library" select="$library"/>
+ <xsl:with-param name="toolset" select="$toolset"/>
+ <xsl:with-param name="test_log" select="$test_result_for_toolset"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="$mode='developer'">
+ <xsl:call-template name="insert_cell_developer">
+ <xsl:with-param name="library" select="$library"/>
+ <xsl:with-param name="toolset" select="$toolset"/>
+ <xsl:with-param name="test_log" select="$test_result_for_toolset"/>
+ </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_test_names"/>
+ <xsl:param name="lib_tests"/>
+ <xsl:param name="toolsets"/>
+
+ <xsl:variable name="category_span" select="count($toolsets/platforms/platform/runs/run/toolset) + 3"/>
+
+ <xsl:for-each select="$section_test_names">
+
+ <xsl:variable name="test_name" select="@test-name"/>
+ <xsl:variable name="category_start" select="position() = 1 or @category != preceding-sibling::*[1]/@category"/>
+ <xsl:variable name="category_end" select="position() = last() or @category != following-sibling::*[1]/@category"/>
+
+ <xsl:variable name="line_mod">
+ <xsl:choose>
+ <xsl:when test="$category_start and $category_end"><xsl:text>-single</xsl:text></xsl:when>
+ <xsl:when test="$category_start"><xsl:text>-first</xsl:text></xsl:when>
+ <xsl:when test="$category_end"><xsl:text>-last</xsl:text></xsl:when>
+ <xsl:otherwise><xsl:text></xsl:text></xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:if test="$category_start and @category != '0'">
+ <tr>
+ <td class="library-test-category-header" colspan="{$category_span}" align="center">
+ <xsl:value-of select="@category"/>
+ </td>
+ </tr>
+ </xsl:if>
+
+ <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="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_category">
+ <xsl:param name="tests"/>
+
+ <xsl:variable name="a">
+ <xsl:for-each select="$tests">
+ <xsl:sort select="concat( @category, '|', @test-name )" order="ascending"/>
+ <xsl:copy-of select="."/>
+ </xsl:for-each>
+ </xsl:variable>
+ <func:result select="exsl:node-set( $a )/*"/>
+ </func:function>
+
+</xsl:stylesheet>
diff --git a/tools/regression/xsl_reports/xsl/v2/runners.xsl b/tools/regression/xsl_reports/xsl/v2/runners.xsl
new file mode 100644
index 0000000000..9bda7db8d3
--- /dev/null
+++ b/tools/regression/xsl_reports/xsl/v2/runners.xsl
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Copyright MetaCommunications, Inc. 2003-2004.
+
+Distributed under 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"
+ extension-element-prefixes="exsl"
+ version="1.0">
+
+ <xsl:output method="html"/>
+
+ <xsl:template match="/">
+ <html>
+ <body bgcolor="#FFFFFF">
+ <xsl:apply-templates/>
+ </body>
+ </html>
+ </xsl:template>
+
+ <xsl:template match="test-run">
+ <table>
+ <tr>
+ <td>
+ <xsl:message>Writing runner document <xsl:value-of select="@runner"/></xsl:message>
+ <a href="{@runner}.html"><xsl:value-of select="@runner"/></a>
+ <exsl:document href="{@runner}.html"
+ method="html"
+ doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
+ encoding="utf-8"
+ indent="yes">
+ <html>
+ <head>
+ <title><xsl:value-of select="@runner"/></title>
+ </head>
+ <body>
+ <h1><xsl:value-of select="@runner"/></h1>
+ <hr></hr>
+ <xsl:value-of select="comment/text()" disable-output-escaping="yes"/>
+ </body>
+ </html>
+ </exsl:document>
+ </td>
+ </tr>
+ </table>
+ </xsl:template>
+
+</xsl:stylesheet>
+
diff --git a/tools/regression/xsl_reports/xsl/v2/summary_page.xsl b/tools/regression/xsl_reports/xsl/v2/summary_page.xsl
new file mode 100644
index 0000000000..b0e1deb477
--- /dev/null
+++ b/tools/regression/xsl_reports/xsl/v2/summary_page.xsl
@@ -0,0 +1,367 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Copyright MetaCommunications, Inc. 2003-2004.
+
+Distributed under 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:set="http://exslt.org/sets"
+ xmlns:meta="http://www.meta-comm.com"
+ extension-element-prefixes="func exsl"
+ exclude-result-prefixes="exsl func set meta"
+ 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="mode"/>
+ <xsl:param name="source"/>
+ <xsl:param name="run_date"/>
+ <xsl:param name="warnings"/>
+ <xsl:param name="comment_file"/>
+ <xsl:param name="explicit_markup_file"/>
+ <xsl:param name="release"/>
+
+ <xsl:variable name="explicit_markup" select="document( $explicit_markup_file )"/>
+
+ <!-- necessary indexes -->
+ <xsl:key
+ name="library_test_name_key"
+ match="test-log"
+ use="concat( @library, '&gt;@&lt;', @test-name )"/>
+ <xsl:key name="toolset_key" match="test-log" use="@toolset"/>
+ <xsl:key name="test_name_key" match="test-log" use="@test-name "/>
+
+ <xsl:variable name="unusables_f">
+ <xsl:for-each select="set:distinct( $run_toolsets//toolset/@name )">
+ <xsl:variable name="toolset" select="."/>
+ <xsl:for-each select="$libraries">
+ <xsl:variable name="library" select="."/>
+ <xsl:if test="meta:is_unusable_( $explicit_markup, $library, $toolset )">
+ <unusable library-name="{$library}" toolset-name="{$toolset}"/>
+ </xsl:if>
+ </xsl:for-each>
+ </xsl:for-each>
+ </xsl:variable>
+
+ <xsl:variable name="unusables" select="exsl:node-set( $unusables_f )"/>
+
+
+ <xsl:key
+ name="library-name_toolset-name_key"
+ match="unusable"
+ use="concat( @library-name, '&gt;@&lt;', @toolset-name )"/>
+
+ <!--<xsl:variable name="expected_results" select="document( $expected_results_file )" />-->
+
+ <!-- runs / toolsets -->
+ <xsl:variable name="run_toolsets" select="meta:test_structure( /, $release )"/>
+
+ <!-- libraries -->
+
+ <xsl:variable name="test_case_logs" select="//test-log[ meta:is_test_log_a_test_case(.) and meta:show_library( @library, $release ) and meta:show_toolset( @toolset, $release )]"/>
+ <xsl:variable name="libraries" select="set:distinct( $test_case_logs/@library )"/>
+
+ <xsl:variable name="sorted_libraries_output">
+ <xsl:for-each select="$libraries[ meta:show_library( ., $release )]">
+ <xsl:sort select="." order="ascending" />
+ <library><xsl:copy-of select="."/></library>
+ </xsl:for-each>
+ </xsl:variable>
+
+ <xsl:variable name="sorted_libraries" select="exsl:node-set( $sorted_libraries_output )/library/@library"/>
+
+ <!-- modes -->
+
+ <xsl:variable name="alternate_mode">
+ <xsl:choose>
+ <xsl:when test="$mode='user'">developer</xsl:when>
+ <xsl:otherwise>user</xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="release_postfix">
+ <xsl:if test="$release='yes'">
+ <xsl:text>_release</xsl:text>
+ </xsl:if>
+ </xsl:variable>
+
+ <xsl:template match="/">
+
+ <xsl:variable name="summary_results" select="concat( 'summary', $release_postfix, '_.html' )"/>
+
+ <!-- Summary page -->
+ <html>
+ <head>
+ <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
+ <title>Boost regression summary: <xsl:value-of select="$source"/></title>
+ </head>
+ <frameset cols="190px,*" frameborder="0" framespacing="0" border="0">
+ <frame name="tocframe" src="toc{$release_postfix}.html" scrolling="auto"/>
+ <frame name="docframe" src="{$summary_results}" scrolling="auto"/>
+ </frameset>
+ </html>
+
+ <!-- Summary results -->
+ <xsl:message>Writing document <xsl:value-of select="$summary_results"/></xsl:message>
+
+ <exsl:document href="{$summary_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>
+
+ <xsl:call-template name="insert_page_links">
+ <xsl:with-param name="page" select="'summary'"/>
+ <xsl:with-param name="release" select="$release"/>
+ <xsl:with-param name="mode" select="$alternate_mode"/>
+ </xsl:call-template>
+
+ <h1 class="page-title">
+ <xsl:text>Summary: </xsl:text>
+ <a class="hover-link" href="summary{$release_postfix}.html" target="_top"><xsl:value-of select="$source"/></a>
+ </h1>
+
+ <xsl:call-template name="insert_report_header">
+ <xsl:with-param name="run_date" select="$run_date"/>
+ <xsl:with-param name="warnings" select="$warnings"/>
+ </xsl:call-template>
+
+ <div class="statistics">
+ Unusable: <xsl:value-of select="count( $test_case_logs[ meta:test_case_status( $explicit_markup, . ) = 'unusable' ] )"/>
+ &#160;|&#160;
+ Regressions: <xsl:value-of select="count( $test_case_logs[ meta:test_case_status( $explicit_markup, . ) = 'fail-unexpected' ] )"/>
+ &#160;|&#160;
+ New failures: <xsl:value-of select="count( $test_case_logs[ meta:test_case_status( $explicit_markup, . ) = 'fail-unexpected-new' ] )"/>
+ </div>
+
+ <!-- summary table -->
+
+ <table border="0" cellspacing="0" cellpadding="0" width="1%" class="summary-table" summary="Overall summary">
+
+ <thead>
+ <xsl:call-template name="insert_runners_rows">
+ <xsl:with-param name="mode" select="'summary'"/>
+ <xsl:with-param name="top_or_bottom" select="'top'"/>
+ <xsl:with-param name="run_toolsets" select="$run_toolsets"/>
+ <xsl:with-param name="run_date" select="$run_date"/>
+ </xsl:call-template>
+
+ <xsl:call-template name="insert_toolsets_row">
+ <xsl:with-param name="mode" select="'summary'"/>
+ <xsl:with-param name="run_date" select="$run_date"/>
+ </xsl:call-template>
+ </thead>
+
+ <tfoot>
+ <xsl:call-template name="insert_toolsets_row">
+ <xsl:with-param name="mode" select="'summary'"/>
+ <xsl:with-param name="run_date" select="$run_date"/>
+ </xsl:call-template>
+ <xsl:call-template name="insert_runners_rows">
+ <xsl:with-param name="mode" select="'summary'"/>
+ <xsl:with-param name="top_or_bottom" select="'bottom'"/>
+ <xsl:with-param name="run_toolsets" select="$run_toolsets"/>
+ <xsl:with-param name="run_date" select="$run_date"/>
+ </xsl:call-template>
+ </tfoot>
+
+ <tbody>
+ <xsl:variable name="test_logs" select="$test_case_logs"/>
+
+ <!-- for each library -->
+ <xsl:for-each select="$sorted_libraries">
+ <xsl:variable name="library" select="."/>
+ <xsl:variable name="library_page" select="meta:encode_path( $library )" />
+ <xsl:variable name="current_row" select="$test_logs[ @library=$library ]"/>
+
+ <xsl:variable name="expected_test_count" select="count( $current_row[ generate-id(.) = generate-id( key('test_name_key',@test-name)[1] ) ] )"/>
+ <xsl:variable name="library_header">
+ <td class="library-name">
+ <a href="{$library_page}{$release_postfix}.html" class="library-link" target="_top">
+ <xsl:value-of select="$library"/>
+ </a>
+ </td>
+ </xsl:variable>
+
+ <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( $sorted_libraries[1] )">
+ <xsl:text>-first</xsl:text>
+ </xsl:when>
+ <xsl:when test="generate-id( . ) = generate-id( $sorted_libraries[ last() ] )">
+ <xsl:text>-last</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text></xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+
+ <tr class="summary-row{$line_mod}">
+ <xsl:copy-of select="$library_header"/>
+
+ <xsl:for-each select="$run_toolsets/platforms/platform/runs/run/toolset">
+ <xsl:variable name="toolset" select="@name" />
+ <xsl:variable name="runner" select="../@runner" />
+
+ <xsl:variable name="current_cell" select="$current_row[ @toolset=$toolset and ../@runner = $runner ]"/>
+
+ <xsl:choose>
+ <xsl:when test="$mode='user'">
+ <xsl:call-template name="insert_cell_user">
+ <xsl:with-param name="current_cell" select="$current_cell"/>
+ <xsl:with-param name="library" select="$library"/>
+ <xsl:with-param name="toolset" select="$toolset"/>
+ <xsl:with-param name="expected_test_count" select="$expected_test_count"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="$mode='developer'">
+ <xsl:call-template name="insert_cell_developer">
+ <xsl:with-param name="current_cell" select="$current_cell"/>
+ <xsl:with-param name="library" select="$library"/>
+ <xsl:with-param name="toolset" select="$toolset"/>
+ <xsl:with-param name="expected_test_count" select="$expected_test_count"/>
+ </xsl:call-template>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:for-each>
+
+ <xsl:copy-of select="$library_header"/>
+ </tr>
+ </xsl:for-each>
+ </tbody>
+ </table>
+
+ <div id="legend">
+ <xsl:copy-of select="document( concat( 'html/summary_', $mode, '_legend.html' ) )"/>
+ </div>
+
+ <xsl:call-template name="insert_page_links">
+ <xsl:with-param name="page" select="'summary'"/>
+ <xsl:with-param name="release" select="$release"/>
+ <xsl:with-param name="mode" select="$alternate_mode"/>
+ </xsl:call-template>
+
+ </body>
+ </html>
+ </exsl:document>
+
+ </xsl:template>
+
+ <!-- report developer status -->
+ <xsl:template name="insert_cell_developer">
+ <xsl:param name="current_cell"/>
+ <xsl:param name="library"/>
+ <xsl:param name="toolset"/>
+ <xsl:param name="expected_test_count"/>
+
+ <xsl:variable name="class" select="concat( 'summary-', meta:result_cell_class( $library, $toolset, $current_cell ) )"/>
+
+ <xsl:variable name="library_page" select="meta:encode_path( $library )" />
+
+ <td class="{$class}" title="{$library}/{$toolset}">
+ <xsl:choose>
+ <xsl:when test="$class='summary-unusable'">
+ <xsl:text>&#160;&#160;</xsl:text>
+ <a href="{$library_page}{$release_postfix}.html" class="log-link" target="_top">
+ <xsl:text>n/a</xsl:text>
+ </a>
+ <xsl:text>&#160;&#160;</xsl:text>
+ </xsl:when>
+ <xsl:when test="$class='summary-missing'">
+ <xsl:text>&#160;&#160;&#160;&#160;</xsl:text>
+ </xsl:when>
+ <xsl:when test="$class='summary-fail-unexpected'">
+ <a href="{$library_page}{$release_postfix}.html" class="log-link" target="_top">
+ <xsl:text>broken</xsl:text>
+ </a>
+ </xsl:when>
+ <xsl:when test="$class='summary-fail-unexpected-new' ">
+ <xsl:text>&#160;&#160;</xsl:text>
+ <a href="{$library_page}{$release_postfix}.html" class="log-link" target="_top">
+ <xsl:text>fail</xsl:text>
+ </a>
+ <xsl:text>&#160;&#160;</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>&#160;&#160;OK&#160;&#160;</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+
+ </xsl:template>
+
+
+ <!-- report user status -->
+ <xsl:template name="insert_cell_user">
+ <xsl:param name="current_cell"/>
+ <xsl:param name="library"/>
+ <xsl:param name="toolset"/>
+ <xsl:param name="expected_test_count"/>
+
+ <xsl:variable name="class" select="concat( 'summary-', meta:result_cell_class( $library, $toolset, $current_cell ) )"/>
+
+ <xsl:variable name="library_page" select="meta:encode_path( $library )" />
+
+ <td class="{$class} user-{$class}" title="{$library}/{$toolset}">
+ <xsl:choose>
+ <xsl:when test="$class='summary-unusable'">
+ <xsl:text>&#160;</xsl:text>
+ <a href="{$library_page}{$release_postfix}.html" class="log-link" target="_top">
+ <xsl:text>unusable</xsl:text>
+ </a>
+ <xsl:text>&#160;</xsl:text>
+ </xsl:when>
+ <xsl:when test="$class='summary-missing'">
+ <xsl:text>&#160;no&#160;results&#160;</xsl:text>
+ </xsl:when>
+ <xsl:when test="$class='summary-fail-unexpected'">
+ <xsl:text>&#160;</xsl:text>
+ <a href="{$library_page}{$release_postfix}.html" class="log-link" target="_top">
+ <xsl:text>regress.</xsl:text>
+ </a>
+ <xsl:text>&#160;</xsl:text>
+ </xsl:when>
+ <xsl:when test="$class='summary-fail-unexpected-new'
+ or $class='summary-fail-expected'
+ or $class='summary-unknown-status'
+ or $class='summary-fail-expected-unresearched'">
+ <xsl:text>&#160;</xsl:text>
+ <a href="{$library_page}{$release_postfix}.html" class="log-link" target="_top">
+ <xsl:text>details</xsl:text>
+ </a>
+ <xsl:text>&#160;</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>&#160;pass&#160;</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+
+ </xsl:template>
+
+</xsl:stylesheet>