|
|
@@ -35,6 +35,8 @@ http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
|
|
<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' )"/>
|
|
|
@@ -99,6 +101,8 @@ http://www.boost.org/LICENSE_1_0.txt)
|
|
|
<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' ), '|')">
|
|
|
@@ -127,6 +131,8 @@ http://www.boost.org/LICENSE_1_0.txt)
|
|
|
<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' ), '|')">
|
|
|
@@ -151,7 +157,7 @@ http://www.boost.org/LICENSE_1_0.txt)
|
|
|
<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}">
|
|
|
+ <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]"/>
|
|
|
@@ -221,6 +227,8 @@ http://www.boost.org/LICENSE_1_0.txt)
|
|
|
<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"
|
|
|
@@ -230,6 +238,7 @@ http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
|
|
<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" />
|
|
|
@@ -237,12 +246,16 @@ http://www.boost.org/LICENSE_1_0.txt)
|
|
|
</head>
|
|
|
|
|
|
<body>
|
|
|
- <div>
|
|
|
+ <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>
|
|
|
@@ -275,6 +288,7 @@ http://www.boost.org/LICENSE_1_0.txt)
|
|
|
<xsl:param name="path"/>
|
|
|
<xsl:param name="test_log"/>
|
|
|
<xsl:param name="runner_id"/>
|
|
|
+ <xsl:param name="revision"/>
|
|
|
<xsl:message> Writing log file document <xsl:value-of select="$path"/></xsl:message>
|
|
|
|
|
|
<exsl:document href="{$path}"
|
|
|
@@ -285,6 +299,7 @@ http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
|
|
<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" />
|
|
|
@@ -292,10 +307,16 @@ http://www.boost.org/LICENSE_1_0.txt)
|
|
|
</head>
|
|
|
|
|
|
<body>
|
|
|
- <div class="log-test-title">
|
|
|
- Test output: <xsl:value-of select="$component"/>
|
|
|
+ <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>
|