diff options
Diffstat (limited to 'tools/regression/xsl_reports/xsl/produce_expected_results.xsl')
-rw-r--r-- | tools/regression/xsl_reports/xsl/produce_expected_results.xsl | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tools/regression/xsl_reports/xsl/produce_expected_results.xsl b/tools/regression/xsl_reports/xsl/produce_expected_results.xsl new file mode 100644 index 0000000000..a47a3acfed --- /dev/null +++ b/tools/regression/xsl_reports/xsl/produce_expected_results.xsl @@ -0,0 +1,31 @@ +<?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" + version="1.0"> + + <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> |