diff options
author | nobody <nobody@localhost> | 2007-05-11 03:40:35 +0000 |
---|---|---|
committer | nobody <nobody@localhost> | 2007-05-11 03:40:35 +0000 |
commit | 72ce0a66cd305f645f912acbb7b0c4ed5eb9bf4d (patch) | |
tree | ef0033b68c25cf5f86cfadd4b3d1382e49d5194a /tools | |
parent | ce5e16b6ae28e66369cdcfc6c416db64fd0298ba (diff) | |
parent | 8aeee64200c1e34ca370c88582a11d606fdb3f54 (diff) | |
download | boost-72ce0a66cd305f645f912acbb7b0c4ed5eb9bf4d.tar.gz |
This commit was manufactured by cvs2svn to create tag
'Version_1_34_0_RC3'.
[SVN r37663]
Diffstat (limited to 'tools')
150 files changed, 19732 insertions, 0 deletions
diff --git a/tools/Jamfile.v2 b/tools/Jamfile.v2 new file mode 100644 index 0000000000..984001120f --- /dev/null +++ b/tools/Jamfile.v2 @@ -0,0 +1,54 @@ +# Copyright 2005 Rene Rivera +# Copyright 2005 Hartmut Kaiser +# Copyright 2005 John Maddock +# Copyright 2003 Vladimir Prus +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) + + +# Jamfile which builds all the tools. + +project + : + requirements + <link>static + ; + +TOOLS = + bcp//bcp + inspect/build//inspect + quickbook//quickbook + regression/build//compiler_status + regression/build//process_jam_log + wave/build//wave + ; + +install dist-bin + : + $(TOOLS) + : + <install-type>EXE + <location>../dist/bin + : + release + ; + +install dist-lib + : + $(TOOLS) + : + <install-type>LIB + <location>../dist/lib + : + release + ; + +local patterns = *.dtd *.xml *.xsl LICENSE ; +local dirs = boostbook/dtd boostbook/xsl ; +install dist-share-boostbook + : + [ glob $(dirs)/$(patterns) $(dirs)/*/$(patterns) $(dirs)/*/*/$(patterns) ] + : + <location>../dist/share + <install-source-root>. + ; diff --git a/tools/bcp b/tools/bcp new file mode 160000 +Subproject 7664f49ddd06e3b4fb4a5ef5ac189af2a0d3493 diff --git a/tools/boostbook b/tools/boostbook new file mode 160000 +Subproject 8fd8ab3c023a8ed83633ff6e2bf035feaaee3f0 diff --git a/tools/build b/tools/build new file mode 160000 +Subproject 18581aada361986a8534c6d7eef44c4bdd69948 diff --git a/tools/index.html b/tools/index.html new file mode 100644 index 0000000000..4449e5be78 --- /dev/null +++ b/tools/index.html @@ -0,0 +1,78 @@ +<!-- Copyright 2004 Aleksey Gurtovoy --> +<!-- Copyright 2003 Beman Dawes --> +<!-- Copyright 2003 Douglas Gregor --> +<!-- Copyright 2005 Eric Niebler --> +<!-- Copyright 2005 Hartmut Kaiser --> +<!-- Copyright 2004 John Maddock --> +<!-- Distributed under the Boost Software License, Version 1.0. --> +<!-- (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) --> + +<html> + <head> + <title>Boost Tools</title> + <meta http-equiv="Content-Language" content="en-us"> + <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> + <meta name="ProgId" content="FrontPage.Editor.Document"> + <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> + </head> + <body bgcolor="#ffffff"> + <table border="1" cellpadding="2" bgcolor="#007f7f"> + <tr> + <td bgcolor="#ffffff"> + <img src="../boost.png" alt="boost.png (6897 bytes)" width="277" height="86"></td> + <td><a href="../index.htm"><font color="#ffffff" size="4" face="Arial">Home</font></a></td> + <td><a href="../libs/libraries.htm"><font color="#ffffff" size="4" face="Arial">Libraries</font></a></td> + <td><a href="../people/people.htm"><font color="#ffffff" size="4" face="Arial">People</font></a></td> + <td><a href="../more/faq.htm"><font color="#ffffff" size="4" face="Arial">FAQ</font></a></td> + <td><a href="../more/index.htm"><font color="#ffffff" size="4" face="Arial">More</font></a></td> + </tr> + </table> + <h1>Boost Tools</h1> + <p>Boost developers, testers, and maintainers have developed various programs to + help with the administration of the Boost Libraries. Like everything else about + Boost, these tools are available in source form, and are part of the regular + Boost distribution.</p> + <p>Users may find these tools useful when porting Boost libraries to a new + platform, or for use with their own applications.</p> + <ul> + <li> + <a href="build/index.html">Boost.Build</a> - The Boost build system, including + the full Boost version of the jam sources.<br> + + <li> + <a href="regression/index.htm">Regression</a> - The Boost regression testing + system reporting sources.<br> + + <li> + <a href="inspect/index.html">Inspect </a>- The inspection tool used to detect + errors in the Boost directory hierarchy.<br> + + <li> + <a href="../doc/html/boostbook.html">BoostBook</a> - A Boost documentation + system, based on <a href="http://www.docbook.org/">DocBook</a> and the <a href="http://www.w3.org/Style/XSL/"> + Extensible Stylesheet Language (XSL)</a>, used by some Boost libraries.<br> + + <li> + <a href="bcp/bcp.html">bcp</a> - A utility to extract subsets of Boost; to + determine which parts of Boost your code is using; and to print reports on + Boost usage (including Licence information).<br> + + <li> + <a href="quickbook/index.html">QuickBook</a> - QuickBook is a WikiWiki style + documentation tool geared towards C++ documentation using simple rules and markup + for simple formatting tasks. QuickBook generates <a href="../doc/html/boostbook.html"> + BoostBook</a> XML.<br> + + <li> + <a href="../libs/wave/doc/wave_driver.html">Wave</a> - A Standards conformant C/C++ + preprocessor usable on top of any other compiler. Usable for instance for the debugging + of the expansion of macros in your code or as a replacement for your build in + preprocessor. <br> + </li> + </ul> + <hr> + <p>Revised + <!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan --> + 19 February, 2005</p> + </body> +</html> diff --git a/tools/inspect b/tools/inspect new file mode 160000 +Subproject 0faf6717b2016802cd0bf306acdeec8057795e3 diff --git a/tools/make-cputime-page.pl b/tools/make-cputime-page.pl new file mode 100644 index 0000000000..e6969be597 --- /dev/null +++ b/tools/make-cputime-page.pl @@ -0,0 +1,54 @@ +#!/usr/bin/perl -w + +# Copyright 2004 Aleksey Gurtovoy +# Copyright 2001 Jens Maurer +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) + +use strict; + +my $filename; +my $compiler; +my $time = 0; +my $ct = 0; +my $first = 2; + +print "<html>\n<head>\n<title>\nCompile Times</title>\n</head>\n\n"; +print "<body bgcolor=\"#ffffff\" text=\"#000000\">\n"; +print "<img border=\"0\" src=\"boost.png\" width=\"277\" height=\"86\">"; +print "<p>\n"; +print "Compile time for each successful regression test in seconds.\n"; +print "<p>\n"; + +print "<table border=\"1\">\n"; +print "<tr><td>Test</td>\n"; + +while(<>) { + if(/^\*\*\* (.*) \*\*\*$/) { + $filename = $1; + $first = ($first == 0 ? 0 : $first-1); + if($first == 0) { + print "</tr>\n\n<tr align=right>\n<td align=left><a href=\"http://www.boost.org/$filename\">$filename</a></td>\n"; + } + } elsif(/^\*\* (.*)/) { + $compiler = $1; + if($first) { + print "<td>$compiler</td>\n"; + } else { + $ct = 1; + } + } elsif($ct && /^CPU time: ([.0-9]*) s user, ([.0-9]*) s system/) { + $time = $1 + $2; + } elsif($ct && /^Pass$/) { + printf "<td>%.02f</td>\n", $time; + $ct = 0; + } elsif($ct && /^Fail$/) { + print "<td>-</td>\n"; + $ct = 0; + } +} + +print "</tr>\n"; +print "</table>\n"; +print "</body>\n</html>\n"; + diff --git a/tools/quickbook b/tools/quickbook new file mode 160000 +Subproject 091095c78184a7d63ad154713658362f07551ad diff --git a/tools/regression/build/Jamfile.v2 b/tools/regression/build/Jamfile.v2 new file mode 100644 index 0000000000..cbf97e71c1 --- /dev/null +++ b/tools/regression/build/Jamfile.v2 @@ -0,0 +1,41 @@ +# Regression test status reporting tools build Jamfile + +exe process_jam_log + : + ../process_jam_log.cpp ../detail/tiny_xml.cpp + /boost/filesystem//boost_filesystem + : + : + release + ; + +exe compiler_status + : + ../compiler_status.cpp ../detail/tiny_xml.cpp + /boost/filesystem//boost_filesystem + : + : + release + ; + +install dist-bin + : + process_jam_log + compiler_status + : + <install-type>EXE + <location>../../../dist/bin + : + release + ; + +install dist-lib + : + process_jam_log + compiler_status + : + <install-type>LIB + <location>../../../dist/lib + : + release + ; diff --git a/tools/regression/build/vcide/process_jam_log.sln b/tools/regression/build/vcide/process_jam_log.sln new file mode 100644 index 0000000000..29833cc0e1 --- /dev/null +++ b/tools/regression/build/vcide/process_jam_log.sln @@ -0,0 +1,21 @@ +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "process_jam_log", "process_jam_log.vcproj", "{9A751791-929F-496A-8DE7-B61020619BFA}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {9A751791-929F-496A-8DE7-B61020619BFA}.Debug.ActiveCfg = Debug|Win32 + {9A751791-929F-496A-8DE7-B61020619BFA}.Debug.Build.0 = Debug|Win32 + {9A751791-929F-496A-8DE7-B61020619BFA}.Release.ActiveCfg = Release|Win32 + {9A751791-929F-496A-8DE7-B61020619BFA}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/tools/regression/build/vcide/process_jam_log.vcproj b/tools/regression/build/vcide/process_jam_log.vcproj new file mode 100644 index 0000000000..93dd003035 --- /dev/null +++ b/tools/regression/build/vcide/process_jam_log.vcproj @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="windows-1251"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="7.10"
+ Name="process_jam_log"
+ ProjectGUID="{9A751791-929F-496A-8DE7-B61020619BFA}"
+ Keyword="MakeFileProj">
+ <Platforms>
+ <Platform
+ Name="Win32"/>
+ </Platforms>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="Debug"
+ IntermediateDirectory="Debug"
+ ConfigurationType="0">
+ <Tool
+ Name="VCNMakeTool"
+ BuildCommandLine="cd ..\..\..\..\tools\regression\build +..\..\jam\src\bin.ntx86\bjam.exe variant=debug +"
+ ReBuildCommandLine="cd ..\..\..\..\tools\regression\build +..\..\jam\src\bin.ntx86\bjam.exe -a variant=debug + +"
+ Output="process_jam_log.exe"/>
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="Release"
+ IntermediateDirectory="Release"
+ ConfigurationType="0">
+ <Tool
+ Name="VCNMakeTool"
+ BuildCommandLine="cd C:\users\misha\Stuff\boost\boost\tools\regression\build"
+ ReBuildCommandLine="cd C:\users\misha\Stuff\boost\boost\tools\regression\build"
+ Output="process_jam_log.exe"/>
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
+ <File
+ RelativePath="..\..\process_jam_log.cpp">
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">
+ </Filter>
+ <File
+ RelativePath=".\readme.txt">
+ </File>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/tools/regression/compiler_status.cpp b/tools/regression/compiler_status.cpp new file mode 100644 index 0000000000..674faca367 --- /dev/null +++ b/tools/regression/compiler_status.cpp @@ -0,0 +1,967 @@ +// Generate Compiler Status HTML from jam regression test output -----------// + +// Copyright Beman Dawes 2002. 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) + +// See http://www.boost.org/tools/regression/ for documentation. + +/******************************************************************************* + + This program was designed to work unchanged on all platforms and + configurations. All output which is platform or configuration dependent + is obtained from external sources such as the .xml file from + process_jam_log execution, the tools/build/xxx-tools.jam files, or the + output of the config_info tests. + + Please avoid adding platform or configuration dependencies during + program maintenance. + +*******************************************************************************/ + +#include "boost/filesystem/operations.hpp" +#include "boost/filesystem/fstream.hpp" +#include "detail/tiny_xml.hpp" +namespace fs = boost::filesystem; +namespace xml = boost::tiny_xml; + +#include <cstdlib> // for abort, exit +#include <string> +#include <vector> +#include <set> +#include <map> +#include <algorithm> +#include <iostream> +#include <fstream> +#include <ctime> +#include <stdexcept> +#include <cassert> + +using std::string; + +const string pass_msg( "Pass" ); +const string warn_msg( "<i>Warn</i>" ); +const string fail_msg( "<font color=\"#FF0000\"><i>Fail</i></font>" ); +const string note_msg( "<sup>*</sup>" ); +const string missing_residue_msg( "<i>Missing</i>" ); + +const std::size_t max_compile_msg_size = 10000; + +namespace +{ + fs::path boost_root; // boost-root complete path + fs::path locate_root; // locate-root (AKA ALL_LOCATE_TARGET) complete path + + bool ignore_pass; + bool no_warn; + bool no_links; + bool boost_build_v2; + + fs::path jamfile_path; + + fs::directory_iterator end_itr; + + // It's immportant for reliability that we find the same compilers for each + // test, and that they match the column header. So save the names at the + // time column headings are generated. + std::vector<string> toolsets; + + fs::ifstream jamfile; + fs::ofstream report; + fs::ofstream links_file; + string links_name; + + fs::path notes_path; + string notes_html; + + fs::path notes_map_path; + typedef std::multimap< string, string > notes_map; // key is test_name-toolset, + // value is note bookmark + notes_map notes; + + string specific_compiler; // if running on one toolset only + + const string empty_string; + + // prefix for library and test hyperlink prefix + string cvs_root ( "http://boost.cvs.sourceforge.net/" ); + string url_prefix_dir_view( cvs_root + "boost/boost" ); + string url_prefix_checkout_view( cvs_root + "*checkout*/boost/boost" ); + string url_suffix_text_view( "?view=markup&rev=HEAD" ); + +// build notes_bookmarks from notes HTML -----------------------------------// + + void build_notes_bookmarks() + { + if ( notes_map_path.empty() ) return; + fs::ifstream notes_map_file( notes_map_path ); + if ( !notes_map_file ) + { + std::cerr << "Could not open --notes-map input file: " << notes_map_path.string() << std::endl; + std::exit( 1 ); + } + string line; + while( std::getline( notes_map_file, line ) ) + { + string::size_type pos = 0; + if ( (pos = line.find( ',', pos )) == string::npos ) continue; + string key(line.substr( 0, pos ) ); + string bookmark( line.substr( pos+1 ) ); + +// std::cout << "inserting \"" << key << "\",\"" << bookmark << "\"\n"; + notes.insert( notes_map::value_type( key, bookmark ) ); + } + } + +// load_notes_html ---------------------------------------------------------// + + bool load_notes_html() + { + if ( notes_path.empty() ) return false; + fs::ifstream notes_file( notes_path ); + if ( !notes_file ) + { + std::cerr << "Could not open --notes input file: " << notes_path.string() << std::endl; + std::exit( 1 ); + } + string line; + bool in_body( false ); + while( std::getline( notes_file, line ) ) + { + if ( in_body && line.find( "</body>" ) != string::npos ) in_body = false; + if ( in_body ) notes_html += line; + else if ( line.find( "<body>" ) ) in_body = true; + } + return true; + } + +// relative path between two paths -----------------------------------------// + + void relative_path( const fs::path & from, const fs::path & to, + fs::path & target ) + { + if ( from.string().size() <= to.string().size() ) return; + target /= ".."; + relative_path( from.branch_path(), to, target ); + return; + } + +// extract object library name from target directory string ----------------// + + string extract_object_library_name( const string & s ) + { + string t( s ); + string::size_type pos = t.find( "/build/" ); + if ( pos != string::npos ) pos += 7; + else if ( (pos = t.find( "/test/" )) != string::npos ) pos += 6; + else return ""; + return t.substr( pos, t.find( "/", pos ) - pos ); + } + +// find_file ---------------------------------------------------------------// +// given a directory to recursively search + + bool find_file( const fs::path & dir_path, const string & name, + fs::path & path_found, const string & ignore_dir_named="" ) + { + if ( !fs::exists( dir_path ) ) return false; + for ( fs::directory_iterator itr( dir_path ); itr != end_itr; ++itr ) + if ( fs::is_directory( *itr ) + && itr->leaf() != ignore_dir_named ) + { + if ( find_file( *itr, name, path_found ) ) return true; + } + else if ( itr->leaf() == name ) + { + path_found = *itr; + return true; + } + return false; + } + +// platform_desc -----------------------------------------------------------// +// from locate_root/status/bin/config_info.test/xxx/.../config_info.output + + string platform_desc() + { + string result; + fs::path dot_output_path; + + // the gcc config_info "Detected Platform" sometimes reports "cygwin", so + // prefer any of the other compilers. + if ( find_file( locate_root / "bin/boost/status/config_info.test", + "config_info.output", dot_output_path, "gcc" ) + || find_file( locate_root / "bin/boost/status/config_info.test", + "config_info.output", dot_output_path ) + || find_file( locate_root / "status/bin/config_info.test", + "config_info.output", dot_output_path, "gcc" ) + || find_file( locate_root / "status/bin/config_info.test", + "config_info.output", dot_output_path ) ) + { + fs::ifstream file( dot_output_path ); + if ( file ) + { + while( std::getline( file, result ) ) + { + if ( result.find( "Detected Platform: " ) == 0 ) + { + result.erase( 0, 19 ); + return result; + } + } + result.clear(); + } + } + return result; + } + +// version_desc ------------------------------------------------------------// +// from locate-root/status/bin/config_info.test/xxx/.../config_info.output + + string version_desc( const string & compiler_name ) + { + string result; + fs::path dot_output_path; + if ( find_file( locate_root / "bin/boost/status/config_info.test" + / compiler_name, "config_info.output", dot_output_path ) + || find_file( locate_root / "status/bin/config_info.test" + / compiler_name, "config_info.output", dot_output_path ) ) + { + fs::ifstream file( dot_output_path ); + if ( file ) + { + if( std::getline( file, result ) ) + { + string::size_type pos = result.find( "version " ); + if ( pos != string::npos ) + { + result.erase( 0, pos+8 ); + } + else result.clear(); + } + } + } + return result; + } + +// compiler_desc -----------------------------------------------------------// +// from boost-root/tools/build/xxx-tools.jam + + string compiler_desc( const string & compiler_name ) + { + string result; + fs::path tools_path( boost_root / "tools/build/v1" / (compiler_name + + "-tools.jam") ); + if ( !fs::exists( tools_path ) ) + tools_path = boost_root / "tools/build" / (compiler_name + "-tools.jam"); + fs::ifstream file( tools_path ); + if ( file ) + { + while( std::getline( file, result ) ) + { + if ( result.substr( 0, 3 ) == "#//" ) + { + result.erase( 0, 3 ); + return result; + } + } + result.clear(); + } + return result; + } + +// target_directory --------------------------------------------------------// +// this amounts to a request to find a unique leaf directory + + fs::path target_directory( const fs::path & root ) + { + if ( !fs::exists( root ) ) return fs::path("no-such-path"); + fs::path child; + for ( fs::directory_iterator itr( root ); itr != end_itr; ++itr ) + { + if ( fs::is_directory( *itr ) ) + { + // SunCC creates an internal subdirectory everywhere it writes + // object files. This confuses the target_directory() algorithm. + // This patch ignores the SunCC internal directory. Jens Maurer + if ( (*itr).leaf() == "SunWS_cache" ) continue; + // SGI does something similar for template instantiations. Jens Maurer + if( (*itr).leaf() == "ii_files" ) continue; + + if ( child.empty() ) child = *itr; + else + { + std::cout << "Warning: only first of two target possibilities will be reported for: \n " + << root.string() << ": " << child.leaf() + << " and " << (*itr).leaf() << "\n"; + } + } + } + if ( child.empty() ) return root; // this dir has no children + return target_directory( child ); + } + +// element_content ---------------------------------------------------------// + + const string & element_content( + const xml::element & root, const string & name ) + { + static string empty_string; + xml::element_list::const_iterator itr; + for ( itr = root.elements.begin(); + itr != root.elements.end() && (*itr)->name != name; + ++itr ) {} + return itr != root.elements.end() ? (*itr)->content : empty_string; + } + +// find_element ------------------------------------------------------------// + + const xml::element empty_element; + + const xml::element & find_element( + const xml::element & root, const string & name ) + { + xml::element_list::const_iterator itr; + for ( itr = root.elements.begin(); + itr != root.elements.end() && (*itr)->name != name; + ++itr ) {} + return itr != root.elements.end() ? *((*itr).get()) : empty_element; + } + +// attribute_value ----------------------------------------------------------// + +const string & attribute_value( const xml::element & element, + const string & attribute_name ) +{ + static const string empty_string; + xml::attribute_list::const_iterator atr; + for ( atr = element.attributes.begin(); + atr != element.attributes.end() && atr->name != attribute_name; + ++atr ) {} + return atr == element.attributes.end() ? empty_string : atr->value; +} + +// find_bin_path -----------------------------------------------------------// + +// Takes a relative path from boost root to a Jamfile. +// Returns the directory where the build targets from +// that Jamfile are located. If not found, emits a warning +// and returns empty path. +const fs::path find_bin_path(const string& relative) +{ + fs::path bin_path; + if (boost_build_v2) + { + bin_path = locate_root / "bin.v2" / relative; + if (!fs::exists(bin_path)) + { + std::cerr << "warning: could not find build results for '" + << relative << "'.\n"; + std::cerr << "warning: tried directory " + << bin_path.native_directory_string() << "\n"; + bin_path = ""; + } + } + else + { + bin_path = locate_root / "bin/boost" / relative; + if (!fs::exists(bin_path)) + { + bin_path = locate_root / "bin" / relative / "bin"; + if (!fs::exists(bin_path)) + { + bin_path = fs::path( locate_root / relative / "bin" ); + if (!fs::exists(bin_path)) + { + bin_path = fs::path( locate_root / "bin/boost/libs" / + relative.substr( relative.find( '/' )+1 ) ); + } + } + } + if (!fs::exists(bin_path)) + { + std::cerr << "warning: could not find build results for '" + << relative << "'.\n"; + bin_path = ""; + } + } + return bin_path; +} + + +// generate_report ---------------------------------------------------------// + + // return 0 if nothing generated, 1 otherwise, except 2 if compiler msgs + int generate_report( const xml::element & db, + const string & source_library_name, + const string & test_type, + const string & test_name, // possibly object library name + const string & toolset, + bool pass, + bool always_show_run_output = false ) + { + // compile msgs sometimes modified, so make a local copy + string compile( ((pass && no_warn) + ? empty_string : element_content( db, "compile" )) ); + + const string & link( pass ? empty_string : element_content( db, "link" ) ); + const string & run( (pass && !always_show_run_output) + ? empty_string : element_content( db, "run" ) ); + string lib( (pass ? empty_string : element_content( db, "lib" )) ); + + // some compilers output the filename even if there are no errors or + // warnings; detect this if one line of output and it contains no space. + string::size_type pos = compile.find( '\n', 1 ); + if ( pos != string::npos && compile.size()-pos <= 2 + && compile.find( ' ' ) == string::npos ) compile.clear(); + + if ( lib.empty() + && (compile.empty() || test_type == "compile_fail") + && link.empty() && run.empty() ) return 0; + + int result = 1; // some kind of msg for sure + + // limit compile message length + if ( compile.size() > max_compile_msg_size ) + { + compile.erase( max_compile_msg_size ); + compile += "...\n (remainder deleted because of excessive size)\n"; + } + + links_file << "<h2><a name=\"" + << source_library_name << "-" << test_name << "-" << toolset << "\">" + << source_library_name << " - " << test_name << " - " << toolset << "</a></h2>\n"; + + if ( !compile.empty() ) + { + ++result; + links_file << "<h3>Compiler output:</h3><pre>" + << compile << "</pre>\n"; + } + if ( !link.empty() ) + links_file << "<h3>Linker output:</h3><pre>" << link << "</pre>\n"; + if ( !run.empty() ) + links_file << "<h3>Run output:</h3><pre>" << run << "</pre>\n"; + + // for an object library failure, generate a reference to the object + // library failure message, and (once only) generate the object + // library failure message itself + static std::set< string > failed_lib_target_dirs; // only generate once + if ( !lib.empty() ) + { + if ( lib[0] == '\n' ) lib.erase( 0, 1 ); + string object_library_name( extract_object_library_name( lib ) ); + + // changing the target directory naming scheme breaks + // extract_object_library_name() + assert( !object_library_name.empty() ); + if ( object_library_name.empty() ) + std::cerr << "Failed to extract object library name from " << lib << "\n"; + + links_file << "<h3>Library build failure: </h3>\n" + "See <a href=\"#" + << source_library_name << "-" + << object_library_name << "-" << toolset << "\">" + << source_library_name << " - " + << object_library_name << " - " << toolset << "</a>"; + + if ( failed_lib_target_dirs.find( lib ) == failed_lib_target_dirs.end() ) + { + failed_lib_target_dirs.insert( lib ); + fs::path pth( locate_root / lib / "test_log.xml" ); + fs::ifstream file( pth ); + if ( file ) + { + xml::element_ptr db = xml::parse( file, pth.string() ); + generate_report( *db, source_library_name, test_type, object_library_name, toolset, false ); + } + else + { + links_file << "<h2><a name=\"" + << object_library_name << "-" << toolset << "\">" + << object_library_name << " - " << toolset << "</a></h2>\n" + "test_log.xml not found\n"; + } + } + } + return result; + } + + // add_notes --------------------------------------------------------------// + + void add_notes( const string & key, bool fail, string & sep, string & target ) + { + notes_map::const_iterator itr = notes.lower_bound( key ); + if ( itr != notes.end() && itr->first == key ) + { + for ( ; itr != notes.end() && itr->first == key; ++itr ) + { + string note_desc( itr->second[0] == '-' + ? itr->second.substr( 1 ) : itr->second ); + if ( fail || itr->second[0] == '-' ) + { + target += sep; + sep = ","; + target += "<a href=\""; + target += "#"; + target += note_desc; + target += "\">"; + target += note_desc; + target += "</a>"; + } + } + } + } + + // get_notes -------------------------------------------------------------// + + string get_notes( const string & toolset, + const string & library, const string & test, bool fail ) + { + string sep; + string target( "<sup>" ); + add_notes( toolset + "/" + library + "/" + test, fail, sep, target ); + add_notes( "*/" + library + "/" + test, fail, sep, target ); + add_notes( toolset + "/" + library + "/*", fail, sep, target ); + add_notes( "*/" + library + "/*", fail, sep, target ); + if ( target == "<sup>" ) target.clear(); + else target += "</sup>"; + return target; + } + + // do_cell ---------------------------------------------------------------// + + bool do_cell( const string & lib_name, + const fs::path & test_dir, + const string & test_type, + const string & test_name, + const string & toolset, + string & target, + bool always_show_run_output ) + // return true if any results except pass_msg + { + fs::path target_dir( target_directory( test_dir / toolset ) ); + bool pass = false; + + if ( !fs::exists( target_dir / "test_log.xml" ) ) + { + std::cerr << "Missing jam_log.xml in target:\n " + << target_dir.string() << "\n"; + target += "<td>" + missing_residue_msg + "</td>"; + return true; + } + + int anything_generated = 0; + bool note = false; + + fs::path pth( target_dir / "test_log.xml" ); + fs::ifstream file( pth ); + if ( !file ) // could not open jam_log.xml + { + std::cerr << "Can't open jam_log.xml in target:\n " + << target_dir.string() << "\n"; + target += "<td>" + missing_residue_msg + "</td>"; + return false; + } + + xml::element_ptr dbp = xml::parse( file, pth.string() ); + const xml::element & db( *dbp ); + + std::string test_type_base( test_type ); + if ( test_type_base.size() > 5 ) + { + const string::size_type trailer = test_type_base.size() - 5; + if ( test_type_base.substr( trailer ) == "_fail" ) + { + test_type_base.erase( trailer ); + } + } + const xml::element & test_type_element( find_element( db, test_type_base ) ); + + pass = !test_type_element.name.empty() + && attribute_value( test_type_element, "result" ) != "fail"; + + if ( !no_links ) + { + note = attribute_value( test_type_element, "result" ) == "note"; + + // generate bookmarked report of results, and link to it + anything_generated + = generate_report( db, lib_name, test_type, test_name, toolset, pass, + always_show_run_output || note ); + } + + // generate the status table cell pass/warn/fail HTML + target += "<td>"; + if ( anything_generated != 0 ) + { + target += "<a href=\""; + target += links_name; + target += "#"; + target += lib_name; + target += "-"; + target += test_name; + target += "-"; + target += toolset; + target += "\">"; + target += pass + ? (anything_generated < 2 ? pass_msg : warn_msg) + : fail_msg; + target += "</a>"; + if ( pass && note ) target += note_msg; + } + else target += pass ? pass_msg : fail_msg; + + // if notes, generate the superscript HTML + if ( !notes.empty() ) + target += get_notes( toolset, lib_name, test_name, !pass ); + + target += "</td>"; + return (anything_generated != 0) || !pass; + } + +// do_row ------------------------------------------------------------------// + + void do_row( + const fs::path & test_dir, // locate_root / "status/bin/any_test.test" + const string & test_name, // "any_test" + string & target ) + { + // get library name, test-type, test-program path, etc., from the .xml file + string lib_name; + string test_path( test_name ); // test_name is default if missing .test + string test_type( "unknown" ); + bool always_show_run_output( false ); + fs::path xml_file_path; + if ( find_file( test_dir, "test_log.xml", xml_file_path ) ) + { + fs::ifstream file( xml_file_path ); + if ( file ) + { + xml::element_ptr dbp = xml::parse( file, xml_file_path.string() ); + const xml::element & db( *dbp ); + test_path = attribute_value( db, "test-program" ); + lib_name = attribute_value( db, "library" ); + test_type = attribute_value( db, "test-type" ); + always_show_run_output + = attribute_value( db, "show-run-output" ) == "true"; + } + } + + // generate the library name, test name, and test type table data + string::size_type row_start_pos = target.size(); + target += "<tr><td><a href=\"" + url_prefix_dir_view + "/libs/" + lib_name + + "\">" + lib_name + "</a></td>"; + target += "<td><a href=\"" + url_prefix_checkout_view + "/" + test_path + + url_suffix_text_view + "\">" + test_name + "</a></td>"; + target += "<td>" + test_type + "</td>"; + + bool no_warn_save = no_warn; + //if ( test_type.find( "fail" ) != string::npos ) no_warn = true; + + // for each compiler, generate <td>...</td> html + bool anything_to_report = false; + for ( std::vector<string>::const_iterator itr=toolsets.begin(); + itr != toolsets.end(); ++itr ) + { + anything_to_report |= do_cell( lib_name, test_dir, test_type, test_name, *itr, target, + always_show_run_output ); + } + + target += "</tr>"; + if ( ignore_pass && !anything_to_report ) target.erase( row_start_pos ); + no_warn = no_warn_save; + } + +// do_rows_for_sub_tree ----------------------------------------------------// + + void do_rows_for_sub_tree( + const fs::path & bin_dir, std::vector<string> & results ) + { + for ( fs::directory_iterator itr( bin_dir ); itr != end_itr; ++itr ) + { + if ( fs::is_directory( *itr ) + && itr->string().find( ".test" ) == (itr->string().size()-5) ) + { + results.push_back( std::string() ); + do_row( *itr, + itr->leaf().substr( 0, itr->leaf().size()-5 ), + results[results.size()-1] ); + } + } + } + +// do_table_body -----------------------------------------------------------// + + void do_table_body( const fs::path & bin_dir ) + { + // rows are held in a vector so they can be sorted, if desired. + std::vector<string> results; + + // do primary bin directory + do_rows_for_sub_tree( bin_dir, results ); + + // do subinclude bin directories + jamfile.clear(); + jamfile.seekg(0); + string line; + while( std::getline( jamfile, line ) ) + { + bool v2(false); + string::size_type pos( line.find( "subinclude" ) ); + if ( pos == string::npos ) { + pos = line.find( "build-project" ); + v2 = true; + } + if ( pos != string::npos + && line.find( '#' ) > pos ) + { + if (v2) + pos = line.find_first_not_of( " \t./", pos+13 ); + else + pos = line.find_first_not_of( " \t./", pos+10 ); + + if ( pos == string::npos ) continue; + string subinclude_bin_dir( + line.substr( pos, line.find_first_of( " \t", pos )-pos ) ); + + fs::path bin_path = find_bin_path(subinclude_bin_dir); + if (!bin_path.empty()) + do_rows_for_sub_tree( bin_path, results ); + } + } + + + std::sort( results.begin(), results.end() ); + + for ( std::vector<string>::iterator v(results.begin()); + v != results.end(); ++v ) + { report << *v << "\n"; } + } + +// do_table ----------------------------------------------------------------// + + void do_table() + { + // Find test result locations, trying: + // - Boost.Build V1 location with ALL_LOCATE_TARGET + // - Boost.Build V2 location with top-lelve "build-dir" + // - Boost.Build V1 location without ALL_LOCATE_TARGET + string relative( fs::initial_path().string() ); + relative.erase( 0, boost_root.string().size()+1 ); + fs::path bin_path = find_bin_path(relative); + + report << "<table border=\"1\" cellspacing=\"0\" cellpadding=\"5\">\n"; + + // generate the column headings + + report << "<tr><td>Library</td><td>Test Name</td>\n" + "<td><a href=\"compiler_status.html#test-type\">Test Type</a></td>\n"; + + fs::directory_iterator itr( bin_path ); + while ( itr != end_itr + && ((itr->string().find( ".test" ) != (itr->string().size()-5)) + || !fs::is_directory( *itr ))) + ++itr; // bypass chaff + if ( itr != end_itr ) + { + fs::directory_iterator compiler_itr( *itr ); + if ( specific_compiler.empty() ) + std::clog << "Using " << itr->string() << " to determine compilers\n"; + for (; compiler_itr != end_itr; ++compiler_itr ) + { + if ( fs::is_directory( *compiler_itr ) // check just to be sure + && compiler_itr->leaf() != "test" ) // avoid strange directory (Jamfile bug?) + { + if ( specific_compiler.size() != 0 + && specific_compiler != compiler_itr->leaf() ) continue; + toolsets.push_back( compiler_itr->leaf() ); + string desc( compiler_desc( compiler_itr->leaf() ) ); + string vers( version_desc( compiler_itr->leaf() ) ); + report << "<td>" + << (desc.size() ? desc : compiler_itr->leaf()) + << (vers.size() ? (string( "<br>" ) + vers ) : string( "" )) + << "</td>\n"; + } + } + } + + report << "</tr>\n"; + + // now the rest of the table body + + do_table_body( bin_path ); + + report << "</table>\n"; + } + +} // unnamed namespace + +// main --------------------------------------------------------------------// + +#define BOOST_NO_CPP_MAIN_SUCCESS_MESSAGE +#include <boost/test/included/prg_exec_monitor.hpp> + +int cpp_main( int argc, char * argv[] ) // note name! +{ + fs::path comment_path; + while ( argc > 1 && *argv[1] == '-' ) + { + if ( argc > 2 && std::strcmp( argv[1], "--compiler" ) == 0 ) + { specific_compiler = argv[2]; --argc; ++argv; } + else if ( argc > 2 && std::strcmp( argv[1], "--locate-root" ) == 0 ) + { locate_root = fs::path( argv[2], fs::native ); --argc; ++argv; } + else if ( argc > 2 && std::strcmp( argv[1], "--comment" ) == 0 ) + { comment_path = fs::path( argv[2], fs::native ); --argc; ++argv; } + else if ( argc > 2 && std::strcmp( argv[1], "--notes" ) == 0 ) + { notes_path = fs::path( argv[2], fs::native ); --argc; ++argv; } + else if ( argc > 2 && std::strcmp( argv[1], "--notes-map" ) == 0 ) + { notes_map_path = fs::path( argv[2], fs::native ); --argc; ++argv; } + else if ( std::strcmp( argv[1], "--ignore-pass" ) == 0 ) ignore_pass = true; + else if ( std::strcmp( argv[1], "--no-warn" ) == 0 ) no_warn = true; + else if ( std::strcmp( argv[1], "--v2" ) == 0 ) boost_build_v2 = true; + else if ( argc > 2 && std::strcmp( argv[1], "--jamfile" ) == 0) + { jamfile_path = fs::path( argv[2], fs::native ); --argc; ++argv; } + else { std::cerr << "Unknown option: " << argv[1] << "\n"; argc = 1; } + --argc; + ++argv; + } + + if ( argc != 3 && argc != 4 ) + { + std::cerr << + "Usage: compiler_status [options...] boost-root status-file [links-file]\n" + " boost-root is the path to the boost tree root directory.\n" + " status-file and links-file are paths to the output files.\n" + "Must be run from directory containing Jamfile\n" + " options: --compiler name Run for named compiler only\n" + " --ignore-pass Do not report tests which pass all compilers\n" + " --no-warn Warnings not reported if test passes\n" + " --locate-root path Path to ALL_LOCATE_TARGET for bjam;\n" + " default boost-root.\n" + " --comment path Path to file containing HTML\n" + " to be copied into status-file.\n" + " --notes path Path to file containing HTML\n" + " to be copied into status-file.\n" + " --notes-map path Path to file of toolset/test,n lines, where\n" + " n is number of note bookmark in --notes file.\n" + " --jamfile path Path to Jamfile. By default \"Jamfile\".\n" + "Example: compiler_status --compiler gcc /boost-root cs.html cs-links.html\n" + "Note: Only the leaf of the links-file path and --notes file string are\n" + "used in status-file HTML links. Thus for browsing, status-file,\n" + "links-file, and --notes file must all be in the same directory.\n" + ; + return 1; + } + + boost_root = fs::path( argv[1], fs::native ); + if ( locate_root.empty() ) locate_root = boost_root; + + if (jamfile_path.empty()) + if (boost_build_v2) + jamfile_path = "Jamfile.v2"; + else + jamfile_path = "Jamfile"; + jamfile_path = fs::complete( jamfile_path, fs::initial_path() ); + jamfile.open( jamfile_path ); + if ( !jamfile ) + { + std::cerr << "Could not open Jamfile: " << jamfile_path.native_file_string() << std::endl; + return 1; + } + + report.open( fs::path( argv[2], fs::native ) ); + if ( !report ) + { + std::cerr << "Could not open report output file: " << argv[2] << std::endl; + return 1; + } + + if ( argc == 4 ) + { + fs::path links_path( argv[3], fs::native ); + links_name = links_path.leaf(); + links_file.open( links_path ); + if ( !links_file ) + { + std::cerr << "Could not open links output file: " << argv[3] << std::endl; + return 1; + } + } + else no_links = true; + + build_notes_bookmarks(); + + char run_date[128]; + std::time_t tod; + std::time( &tod ); + std::strftime( run_date, sizeof(run_date), + "%X UTC, %A %d %B %Y", std::gmtime( &tod ) ); + + report << "<html>\n" + "<head>\n" + "<title>Boost Compiler Status Automatic Test</title>\n" + "</head>\n" + "<body bgcolor=\"#ffffff\" text=\"#000000\">\n" + "<table border=\"0\">\n" + "<tr>\n" + "<td><img border=\"0\" src=\"../boost.png\" width=\"277\" " + "height=\"86\"></td>\n" + "<td>\n" + "<h1>Compiler Status: " + platform_desc() + "</h1>\n" + "<b>Run Date:</b> " + << run_date + << "\n" + ; + + if ( !comment_path.empty() ) + { + fs::ifstream comment_file( comment_path ); + if ( !comment_file ) + { + std::cerr << "Could not open \"--comment\" input file: " << comment_path.string() << std::endl; + return 1; + } + char c; + while ( comment_file.get( c ) ) { report.put( c ); } + } + + report << "</td>\n</table>\n<br>\n"; + + if ( !no_links ) + { + links_file + << "<html>\n" + "<head>\n" + "<title>Boost Compiler Status Error Log</title>\n" + "</head>\n" + "<body bgcolor=\"#ffffff\" text=\"#000000\">\n" + "<table border=\"0\">\n" + "<tr>\n" + "<td><img border=\"0\" src=\"../boost.png\" width=\"277\" " + "height=\"86\"></td>\n" + "<td>\n" + "<h1>Compiler Status: " + platform_desc() + "</h1>\n" + "<b>Run Date:</b> " + << run_date + << "\n</td>\n</table>\n<br>\n" + ; + } + + do_table(); + + if ( load_notes_html() ) report << notes_html << "\n"; + + report << "</body>\n" + "</html>\n" + ; + + if ( !no_links ) + { + links_file + << "</body>\n" + "</html>\n" + ; + } + return 0; +} diff --git a/tools/regression/detail/tiny_xml.cpp b/tools/regression/detail/tiny_xml.cpp new file mode 100644 index 0000000000..682c04ff7b --- /dev/null +++ b/tools/regression/detail/tiny_xml.cpp @@ -0,0 +1,167 @@ +// tiny XML sub-set tools implementation -----------------------------------// + +// (C) Copyright Beman Dawes 2002. 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) + +#include "tiny_xml.hpp" +#include <cassert> +#include <cstring> + +namespace +{ + + void eat_whitespace( char & c, std::istream & in ) + { + while ( c == ' ' || c == '\r' || c == '\n' || c == '\t' ) + in.get( c ); + } + + std::string get_name( char & c, std::istream & in ) + { + std::string result; + eat_whitespace( c, in ); + while ( std::strchr( + "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-.", c ) + != 0 ) + { + result += c; + if(!in.get( c )) + throw std::string("xml: unexpected eof"); + } + return result; + } + + void eat_delim( char & c, std::istream & in, + char delim, const std::string & msg ) + { + eat_whitespace( c, in ); + if ( c != delim ) + throw std::string("xml syntax error, expected ") + delim + + " (" + msg + ")"; + in.get( c ); + } + + std::string get_value( char & c, std::istream & in ) + { + std::string result; + while ( c != '\"' ) + { + result += c; + in.get( c ); + } + in.get( c ); + return result; + } + +} + +namespace boost +{ + namespace tiny_xml + { + + // parse -----------------------------------------------------------------// + + element_ptr parse( std::istream & in, const std::string & msg ) + { + char c = 0; // current character + element_ptr e( new element ); + + if(!in.get( c )) + throw std::string("xml: unexpected eof"); + if ( c == '<' ) + if(!in.get( c )) + throw std::string("xml: unexpected eof"); + + e->name = get_name( c, in ); + eat_whitespace( c, in ); + + // attributes + while ( c != '>' ) + { + attribute a; + a.name = get_name( c, in ); + + eat_delim( c, in, '=', msg ); + eat_delim( c, in, '\"', msg ); + + a.value = get_value( c, in ); + + e->attributes.push_back( a ); + eat_whitespace( c, in ); + } + if(!in.get( c )) // next after '>' + throw std::string("xml: unexpected eof"); + + eat_whitespace( c, in ); + + // sub-elements + while ( c == '<' ) + { + if ( in.peek() == '/' ) break; + e->elements.push_back( parse( in, msg ) ); + in.get( c ); // next after '>' + eat_whitespace( c, in ); + } + + // content + if ( c != '<' ) + { + e->content += '\n'; + while ( c != '<' ) + { + e->content += c; + if(!in.get( c )) + throw std::string("xml: unexpected eof"); + } + } + + assert( c == '<' ); + if(!in.get( c )) // next after '<' + throw std::string("xml: unexpected eof"); + + eat_delim( c, in, '/', msg ); + std::string end_name( get_name( c, in ) ); + if ( e->name != end_name ) + throw std::string("xml syntax error: beginning name ") + + e->name + " did not match end name " + end_name + + " (" + msg + ")"; + + eat_delim( c, in, '>', msg ); + return e; + } + + // write ---------------------------------------------------------------// + + void write( const element & e, std::ostream & out ) + { + out << "<" << e.name; + if ( !e.attributes.empty() ) + { + for( attribute_list::const_iterator itr = e.attributes.begin(); + itr != e.attributes.end(); ++itr ) + { + out << " " << itr->name << "=\"" << itr->value << "\""; + } + } + out << ">"; + if ( !e.elements.empty() ) + { + out << "\n"; + for( element_list::const_iterator itr = e.elements.begin(); + itr != e.elements.end(); ++itr ) + { + write( **itr, out ); + } + } + if ( !e.content.empty() ) + { + out << e.content; + } + out << "</" << e.name << ">\n"; + } + + } // namespace tiny_xml +} // namespace boost + diff --git a/tools/regression/detail/tiny_xml.hpp b/tools/regression/detail/tiny_xml.hpp new file mode 100644 index 0000000000..f9d91d2652 --- /dev/null +++ b/tools/regression/detail/tiny_xml.hpp @@ -0,0 +1,70 @@ +// tiny XML sub-set tools --------------------------------------------------// + +// (C) Copyright Beman Dawes 2002. 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) + +// Provides self-contained tools for this XML sub-set: +// +// element ::= { "<" name { name "=" "\"" value "\"" } ">" +// {element} [contents] "</" name ">" } +// +// The point of "self-contained" is to minimize tool-chain dependencies. + +#ifndef BOOST_TINY_XML_H +#define BOOST_TINY_XML_H + +#include "boost/smart_ptr.hpp" // for shared_ptr +#include "boost/utility.hpp" // for noncopyable +#include <list> +#include <iostream> +#include <string> + +namespace boost +{ + namespace tiny_xml + { + class element; + struct attribute + { + std::string name; + std::string value; + + attribute(){} + attribute( const std::string & name, const std::string & value ) + : name(name), value(value) {} + }; + typedef boost::shared_ptr< element > element_ptr; + typedef std::list< element_ptr > element_list; + typedef std::list< attribute > attribute_list; + + class element + : private boost::noncopyable // because deep copy sematics would be required + { + public: + std::string name; + attribute_list attributes; + element_list elements; + std::string content; + + element() {} + explicit element( const std::string & name ) : name(name) {} + }; + + element_ptr parse( std::istream & in, const std::string & msg ); + // Precondition: stream positioned at either the initial "<" + // or the first character after the initial "<". + // Postcondition: stream positioned at the first character after final + // ">" (or eof). + // Returns: an element_ptr to an element representing the parsed stream. + // Throws: std::string on syntax error. msg appended to what() string. + + void write( const element & e, std::ostream & out ); + + } +} + +#endif // BOOST_TINY_XML_H + + + diff --git a/tools/regression/detail/tiny_xml_test.cpp b/tools/regression/detail/tiny_xml_test.cpp new file mode 100644 index 0000000000..b5c0542ba4 --- /dev/null +++ b/tools/regression/detail/tiny_xml_test.cpp @@ -0,0 +1,17 @@ +// tiny XML test program ---------------------------------------------------// + +// Copyright Beman Dawes 2002. 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) + +#include "tiny_xml.hpp" + +#include <iostream> + +int main() +{ + boost::tiny_xml::element_ptr tree( boost::tiny_xml::parse( std::cin ) ); + boost::tiny_xml::write( *tree, std::cout ); + return 0; +} + diff --git a/tools/regression/detail/tiny_xml_test.txt b/tools/regression/detail/tiny_xml_test.txt new file mode 100644 index 0000000000..25bc531e0b --- /dev/null +++ b/tools/regression/detail/tiny_xml_test.txt @@ -0,0 +1,12 @@ +<root> +<element-1 at-1="abcd" at-2 = "defg" > +<element-1a> +It's Howdy Doody time! +</element-1a> +<element-1b>It's not Howdy Doody time!</element-1b> +</element-1> +<element-2> +It's +Eastern Standard time! +</element-2> +</root> diff --git a/tools/regression/index.htm b/tools/regression/index.htm new file mode 100644 index 0000000000..01079ed2da --- /dev/null +++ b/tools/regression/index.htm @@ -0,0 +1,43 @@ +<html> + +<head> +<meta http-equiv="Content-Language" content="en-us"> +<meta http-equiv="Content-Type" +content="text/html; charset=iso-8859-1"> +<meta name="ProgId" content="FrontPage.Editor.Document"> +<meta name="GENERATOR" content="Microsoft FrontPage Express 2.0"> +<title>Regression Test Reporting Tools</title> +</head> + +<body bgcolor="#FFFFFF"> + +<h1><img src="../../boost.png" alt="boost.png (6897 bytes)" +align="center" width="277" height="86"> Regression Test Reporting +Tools</h1> + +<p>Boost regression testing uses <a href="../build/index.html">Boost.Build</a> +to run the actual builds and tests. A separate set of tools is +used to generate the actual status reports.</p> + +<ul> + <li><a + href="xsl_reports/runner/instructions.html">Instructions</a> + for running regression tests and reporting results back to + Boost.</li> + <li><a href="process_jam_log.cpp">process_jam_log.cpp</a> - + Processes the bjam outputs, creating a file named + test_log.xml for each test encountered.</li> + <li><a href="compiler_status.cpp">compiler_status.cpp</a> - + Generates HTML status tables from test_log.xml and other + files.</li> + <li><a href="build/Jamfile.v2">Jamfile.v2</a> - Builds + process_jam_log and compiler_status executables.</li> +</ul> + +<hr> + +<p>Revised <!--webbot bot="Timestamp" startspan s-type="EDITED" +s-format="%d %B, %Y" -->09 January, 2003<!--webbot bot="Timestamp" +i-checksum="38582" endspan --></p> +</body> +</html> diff --git a/tools/regression/index.shtml b/tools/regression/index.shtml new file mode 100644 index 0000000000..918036ff4a --- /dev/null +++ b/tools/regression/index.shtml @@ -0,0 +1,45 @@ +<!-- +Copyright Rene Rivera 2003-2004. + +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) + +This is the page wrapper for the summary table of regression tests. +This calls the script "regression-logs.pl" to generate the summary +table. This file should be place at: + http://boost.sourceforge.net/regression-logs/index.shtml +Which is at this location in the shell SourceForge services: + /home/groups/b/bo/boost/htdocs/regression-logs/index.shtml + +The regression-logs.pl script handles individual placement +of the calling shtml file, so this file can be placed anywhere +one wants a regression summary page, and has regression files +in it. +--> +<html> +<head> +<title>Boost Regression Tests</title> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +</head> + +<body bgcolor="#FFFFFF" text="#000000"> +<table border="0"> +<tr> +<td><img border="0" src="../../boost.png" width="277" height="86"></td> +<td><h1>Boost Regression Tests</h1></td> +</tr> +</table> + +<h3>Boost-wide reports</h3> +<ul type="square"> +<li><a href="http://www.boost.org/regression-logs/developer">Developer report</a></li> +<li><a href="http://www.boost.org/regression-logs/user">User report</a></li> +<li><a href="http://www.boost.org/regression-logs/inspection_report.html">Inspection report</a></li> +<li><a href="http://www.boost.org/regression-logs/license_report.html">License report</a></li> +</ul> + +<h3>Reports by platform</h3> +<!--#exec cmd="/usr/bin/perl /home/groups/b/bo/boost/cgi-bin/regression-logs.pl" --> + +</body> +</html> diff --git a/tools/regression/process_jam_log.cpp b/tools/regression/process_jam_log.cpp new file mode 100644 index 0000000000..42ad78946c --- /dev/null +++ b/tools/regression/process_jam_log.cpp @@ -0,0 +1,801 @@ +// process jam regression test output into XML -----------------------------// + +// Copyright Beman Dawes 2002. 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) + +// See http://www.boost.org/tools/regression for documentation. + +#include "detail/tiny_xml.hpp" +#include "boost/filesystem/operations.hpp" +#include "boost/filesystem/fstream.hpp" +#include "boost/filesystem/exception.hpp" +#include "boost/filesystem/convenience.hpp" + +#include <iostream> +#include <string> +#include <cstring> +#include <map> +#include <utility> // for make_pair +#include <ctime> +#include <cctype> // for tolower + +using std::string; +namespace xml = boost::tiny_xml; +namespace fs = boost::filesystem; + +#define BOOST_NO_CPP_MAIN_SUCCESS_MESSAGE +#include <boost/test/included/prg_exec_monitor.hpp> + +// options + +static bool echo = false; +static bool create_dirs = false; +static bool boost_build_v2 = false; + +namespace +{ + struct test_info + { + string file_path; // relative boost-root + string type; + bool always_show_run_output; + }; + typedef std::map< string, test_info > test2info_map; // key is test-name + test2info_map test2info; + + fs::path boost_root; + fs::path locate_root; // ALL_LOCATE_TARGET (or boost_root if none) + +// append_html -------------------------------------------------------------// + + void append_html( const string & src, string & target ) + { + // there are a few lines we want to ignore + if ( src.find( "th target..." ) != string::npos + || src.find( "cc1plus.exe: warning: changing search order for system directory" ) != string::npos + || src.find( "cc1plus.exe: warning: as it has already been specified as a non-system directory" ) != string::npos + ) return; + + // on some platforms (e.g. tru64cxx) the following line is a real performance boost + target.reserve(src.size() * 2 + target.size()); + + for ( string::size_type pos = 0; pos < src.size(); ++pos ) + { + if ( src[pos] == '<' ) target += "<"; + else if ( src[pos] == '>' ) target += ">"; + else if ( src[pos] == '&' ) target += "&"; + else target += src[pos]; + } + } + + // timestamp ---------------------------------------------------------------// + + string timestamp() + { + char run_date[128]; + std::time_t tod; + std::time( &tod ); + std::strftime( run_date, sizeof(run_date), + "%Y-%m-%d %X UTC", std::gmtime( &tod ) ); + return string( run_date ); + } + +// convert path separators to forward slashes ------------------------------// + + void convert_path_separators( string & s ) + { + for ( string::iterator itr = s.begin(); itr != s.end(); ++itr ) + if ( *itr == '\\' || *itr == '!' ) *itr = '/'; + } + +// trim_left ----------------------------------------------------------------// + + std::string trim_left( std::string const& s ) + { + std::string::size_type const pos( s.find_first_not_of(' ') ); + return pos != std::string::npos + ? s.substr( pos, s.size() - pos + 1 ) + : "" + ; + } + + +// split --------------------------------------------------------------------// + + std::vector<std::string> split( std::string const& s ) + { + std::string::size_type const pos( s.find_first_of(' ') ); + std::vector<std::string> result( 1, s.substr( 0, pos ) ); + if ( pos == std::string::npos ) + return result; + + std::vector<std::string> const rest( split( trim_left( s.substr( pos, s.size() - pos + 1 ) ) ) ); + result.insert( result.end(), rest.begin(), rest.end() ); + return result; + } + + +// extract a target directory path from a jam target string ----------------// +// s may be relative to the initial_path: +// ..\..\..\libs\foo\build\bin\libfoo.lib\vc7\debug\runtime-link-dynamic\boo.obj +// s may be absolute: +// d:\myboost\libs\foo\build\bin\libfoo.lib\vc7\debug\runtime-link-dynamic\boo.obj +// return path is always relative to the boost directory tree: +// libs/foo/build/bin/libfs.lib/vc7/debug/runtime-link-dynamic + + string target_directory( const string & s ) + { + string temp( s ); + convert_path_separators( temp ); + temp.erase( temp.find_last_of( "/" ) ); // remove leaf + temp = split( trim_left( temp ) ).back(); + if ( temp[0] == '.' ) temp.erase( 0, temp.find_first_not_of( "./" ) ); + else temp.erase( 0, locate_root.string().size()+1 ); + if ( echo ) + std::cout << "\ttarget_directory( \"" << s << "\") -> \"" << temp << "\"" << std::endl; + return temp; + } + + string::size_type target_name_end( const string & s ) + { + string::size_type pos = s.find( ".test/" ); + if ( pos == string::npos ) pos = s.find( ".dll/" ); + if ( pos == string::npos ) pos = s.find( ".so/" ); + if ( pos == string::npos ) pos = s.find( ".lib/" ); + if ( pos == string::npos ) pos = s.find( ".pyd/" ); + if ( pos == string::npos ) pos = s.find( ".a/" ); + return pos; + } + + string toolset( const string & s ) + { + string::size_type pos = target_name_end( s ); + if ( pos == string::npos ) pos = s.find( "build/" ); + if ( pos == string::npos ) return ""; + pos = s.find( "/", pos ) + 1; + return s.substr( pos, s.find( "/", pos ) - pos ); + } + + string test_name( const string & s ) + { + string::size_type pos = target_name_end( s ); + if ( pos == string::npos ) return ""; + string::size_type pos_start = s.rfind( '/', pos ) + 1; + return s.substr( pos_start, + (s.find( ".test/" ) != string::npos + ? pos : s.find( "/", pos )) - pos_start ); + } + + // Take a path to a target directory of test, and + // returns library name corresponding to that path. + string test_path_to_library_name( string const& path ) + { + std::string result; + string::size_type start_pos( path.find( "libs/" ) ); + if ( start_pos != string::npos ) + { + // The path format is ...libs/functional/hash/test/something.test/.... + // So, the part between "libs" and "test/something.test" can be considered + // as library name. But, for some libraries tests are located too deep, + // say numeric/ublas/test/test1 directory, and some libraries have tests + // in several subdirectories (regex/example and regex/test). So, nested + // directory may belong to several libraries. + + // To disambituate, it's possible to place a 'sublibs' file in + // a directory. It means that child directories are separate libraries. + // It's still possible to have tests in the directory that has 'sublibs' + // file. + + std::string interesting; + start_pos += 5; + string::size_type end_pos( path.find( ".test/", start_pos ) ); + end_pos = path.rfind('/', end_pos); + if (path.substr(end_pos - 5, 5) == "/test") + interesting = path.substr( start_pos, end_pos - 5 - start_pos ); + else + interesting = path.substr( start_pos, end_pos - start_pos ); + + // Take slash separate elements until we have corresponding 'sublibs'. + end_pos = 0; + for(;;) + { + end_pos = interesting.find('/', end_pos); + if (end_pos == string::npos) { + result = interesting; + break; + } + result = interesting.substr(0, end_pos); + + if ( fs::exists( ( boost_root / "libs" ) / result / "sublibs" ) ) + { + end_pos = end_pos + 1; + } + else + break; + } + } + + return result; + } + + // Tries to find target name in the string 'msg', starting from + // position start. + // If found, extract the directory name from the target name and + // stores it in 'dir', and return the position after the target name. + // Otherwise, returns string::npos. + string::size_type parse_skipped_msg_aux(const string& msg, + string::size_type start, + string& dir) + { + dir.clear(); + string::size_type start_pos = msg.find( '<', start ); + if ( start_pos == string::npos ) return string::npos; + ++start_pos; + string::size_type end_pos = msg.find( '>', start_pos ); + dir += msg.substr( start_pos, end_pos - start_pos ); + if ( boost_build_v2 ) + { + // The first letter is a magic value indicating + // the type of grist. + convert_path_separators( dir ); + dir.erase( 0, 1 ); + // We need path from root, not from 'status' dir. + if (dir.find("../") == 0) + dir.erase(0,3); + else // dir is always relative to the boost directory tree + dir.erase( 0, locate_root.string().size()+1 ); + } + else + { + if ( dir[0] == '@' ) + { + // new style build path, rooted build tree + convert_path_separators( dir ); + dir.replace( 0, 1, "bin/" ); + } + else + { + // old style build path, integrated build tree + start_pos = dir.rfind( '!' ); + convert_path_separators( dir ); + string::size_type path_sep_pos = dir.find( '/', start_pos + 1 ); + if ( path_sep_pos != string::npos ) + dir.insert( path_sep_pos, "/bin" ); + else + { + // see http://article.gmane.org/gmane.comp.lib.boost.devel/146688; + // the following code assumes that: a) 'dir' is not empty, + // b) 'end_pos != string::npos' and c) 'msg' always ends with '...' + if ( dir[dir.size() - 1] == '@' ) + dir += "/" + msg.substr( end_pos + 1, msg.size() - end_pos - 1 - 3 ); + } + } + } + return end_pos; + } + + // the format of paths is really kinky, so convert to normal form + // first path is missing the leading "..\". + // first path is missing "\bin" after "status". + // second path is missing the leading "..\". + // second path is missing "\bin" after "build". + // second path uses "!" for some separators. + void parse_skipped_msg( const string & msg, + string & first_dir, string & second_dir ) + { + string::size_type pos = parse_skipped_msg_aux(msg, 0, first_dir); + if (pos == string::npos) + return; + parse_skipped_msg_aux(msg, pos, second_dir); + } + +// test_log hides database details -----------------------------------------// + + class test_log + : boost::noncopyable + { + const string & m_target_directory; + xml::element_ptr m_root; + public: + test_log( const string & target_directory, + const string & test_name, + const string & toolset, + bool force_new_file ) + : m_target_directory( target_directory ) + { + if ( !force_new_file ) + { + fs::path pth( locate_root / target_directory / "test_log.xml" ); + fs::ifstream file( pth ); + if ( file ) // existing file + { + try + { + m_root = xml::parse( file, pth.string() ); + return; + } + catch(...) + { + // unable to parse existing XML file, fall through + } + } + } + + string library_name( test_path_to_library_name( target_directory ) ); + + test_info info; + test2info_map::iterator itr( test2info.find( library_name + "/" + test_name ) ); + if ( itr != test2info.end() ) + info = itr->second; + + if ( !info.file_path.empty() ) + library_name = test_path_to_library_name( info.file_path ); + + if ( info.type.empty() ) + { + if ( target_directory.find( ".lib/" ) != string::npos + || target_directory.find( ".dll/" ) != string::npos + || target_directory.find( ".so/" ) != string::npos + || target_directory.find( ".dylib/" ) != string::npos + || target_directory.find( "/build/" ) != string::npos + ) + { + info.type = "lib"; + } + else if ( target_directory.find( ".pyd/" ) != string::npos ) + info.type = "pyd"; + } + + m_root.reset( new xml::element( "test-log" ) ); + m_root->attributes.push_back( + xml::attribute( "library", library_name ) ); + m_root->attributes.push_back( + xml::attribute( "test-name", test_name ) ); + m_root->attributes.push_back( + xml::attribute( "test-type", info.type ) ); + m_root->attributes.push_back( + xml::attribute( "test-program", info.file_path ) ); + m_root->attributes.push_back( + xml::attribute( "target-directory", target_directory ) ); + m_root->attributes.push_back( + xml::attribute( "toolset", toolset ) ); + m_root->attributes.push_back( + xml::attribute( "show-run-output", + info.always_show_run_output ? "true" : "false" ) ); + } + + ~test_log() + { + fs::path pth( locate_root / m_target_directory / "test_log.xml" ); + if ( create_dirs && !fs::exists( pth.branch_path() ) ) + fs::create_directories( pth.branch_path() ); + fs::ofstream file( pth ); + if ( !file ) + { + std::cout << "*****Warning - can't open output file: " + << pth.string() << "\n"; + } + else xml::write( *m_root, file ); + } + + const string & target_directory() const { return m_target_directory; } + + void remove_action( const string & action_name ) + // no effect if action_name not found + { + xml::element_list::iterator itr; + for ( itr = m_root->elements.begin(); + itr != m_root->elements.end() && (*itr)->name != action_name; + ++itr ) {} + if ( itr != m_root->elements.end() ) m_root->elements.erase( itr ); + } + + void add_action( const string & action_name, + const string & result, + const string & timestamp, + const string & content ) + { + remove_action( action_name ); + xml::element_ptr action( new xml::element(action_name) ); + m_root->elements.push_back( action ); + action->attributes.push_back( xml::attribute( "result", result ) ); + action->attributes.push_back( xml::attribute( "timestamp", timestamp ) ); + action->content = content; + } + }; + +// message_manager maps input messages into test_log actions ---------------// + + class message_manager + : boost::noncopyable + { + string m_action_name; // !empty() implies action pending + // IOW, a start_message awaits stop_message + string m_target_directory; + string m_test_name; + string m_toolset; + + bool m_note; // if true, run result set to "note" + // set false by start_message() + + // data needed to stop further compile action after a compile failure + // detected in the same target directory + string m_previous_target_directory; + bool m_compile_failed; + + public: + message_manager() : m_note(false) {} + ~message_manager() { /*assert( m_action_name.empty() );*/ } + + bool note() const { return m_note; } + void note( bool value ) { m_note = value; } + + void start_message( const string & action_name, + const string & target_directory, + const string & test_name, + const string & toolset, + const string & prior_content ) + { + assert( !target_directory.empty() ); + + if ( !m_action_name.empty() ) stop_message( prior_content ); + m_action_name = action_name; + m_target_directory = target_directory; + m_test_name = test_name; + m_toolset = toolset; + m_note = false; + + if ( m_previous_target_directory != target_directory ) + { + m_previous_target_directory = target_directory; + m_compile_failed = false; + } + } + + void stop_message( const string & content ) + { + if ( m_action_name.empty() ) return; + stop_message( m_action_name, m_target_directory, + "succeed", timestamp(), content ); + } + + void stop_message( const string & action_name, + const string & target_directory, + const string & result, + const string & timestamp, + const string & content ) + // the only valid action_names are "compile", "link", "run", "lib" + { + // My understanding of the jam output is that there should never be + // a stop_message that was not preceeded by a matching start_message. + // That understanding is built into message_manager code. + assert( m_action_name == action_name ); + assert( m_target_directory == target_directory ); + assert( result == "succeed" || result == "fail" ); + + // if test_log.xml entry needed + if ( !m_compile_failed + || action_name != "compile" + || m_previous_target_directory != target_directory ) + { + if ( action_name == "compile" + && result == "fail" ) m_compile_failed = true; + + test_log tl( target_directory, + m_test_name, m_toolset, action_name == "compile" ); + tl.remove_action( "lib" ); // always clear out lib residue + + // dependency removal + if ( action_name == "lib" ) + { + tl.remove_action( "compile" ); + tl.remove_action( "link" ); + tl.remove_action( "run" ); + } + else if ( action_name == "compile" ) + { + tl.remove_action( "link" ); + tl.remove_action( "run" ); + if ( result == "fail" ) m_compile_failed = true; + } + else if ( action_name == "link" ) + { + tl.remove_action( "run" ); + } + + // dependency removal won't work right with random names, so assert + else { assert( action_name == "run" ); } + + // add the "run" stop_message action + tl.add_action( action_name, + result == "succeed" && note() ? std::string("note") : result, + timestamp, content ); + } + + m_action_name = ""; // signal no pending action + m_previous_target_directory = target_directory; + } + }; +} + + +// main --------------------------------------------------------------------// + + +int cpp_main( int argc, char ** argv ) +{ + // Turn off synchronization with corresponding C standard library files. This + // gives a significant speed improvement on platforms where the standard C++ + // streams are implemented using standard C files. + std::ios::sync_with_stdio(false); + + if ( argc <= 1 ) + std::cout << "Usage: bjam [bjam-args] | process_jam_log [--echo] [--create-directories] [--v2] [locate-root]\n" + "locate-root - the same as the bjam ALL_LOCATE_TARGET\n" + " parameter, if any. Default is boost-root.\n" + "create-directories - if the directory for xml file doesn't exists - creates it.\n" + " usually used for processing logfile on different machine\n"; + + boost_root = fs::initial_path(); + + while ( !boost_root.empty() + && !fs::exists( boost_root / "libs" ) ) + { + boost_root /= ".."; + } + + if ( boost_root.empty() ) + { + std::cout << "must be run from within the boost-root directory tree\n"; + return 1; + } + + boost_root.normalize(); + + if ( argc > 1 && std::strcmp( argv[1], "--echo" ) == 0 ) + { + echo = true; + --argc; ++argv; + } + + + if (argc > 1 && std::strcmp( argv[1], "--create-directories" ) == 0 ) + { + create_dirs = true; + --argc; ++argv; + } + + if ( argc > 1 && std::strcmp( argv[1], "--v2" ) == 0 ) + { + boost_build_v2 = true; + --argc; ++argv; + } + + + if (argc > 1) + { + locate_root = fs::path( argv[1], fs::native ); + if ( !locate_root.is_complete() ) + locate_root = ( fs::initial_path() / locate_root ).normalize(); + + --argc; ++argv; + } + else + { + locate_root = boost_root; + } + + std::cout << "boost_root: " << boost_root.string() << '\n' + << "locate_root: " << locate_root.string() << '\n'; + + message_manager mgr; + + string line; + string content; + bool capture_lines = false; + + std::istream* input; + if (argc > 1) + { + input = new std::ifstream(argv[1]); + } + else + { + input = &std::cin; + } + + // This loop looks at lines for certain signatures, and accordingly: + // * Calls start_message() to start capturing lines. (start_message() will + // automatically call stop_message() if needed.) + // * Calls stop_message() to stop capturing lines. + // * Capture lines if line capture on. + + int line_num = 0; + while ( std::getline( *input, line ) ) + { + ++line_num; + + std::vector<std::string> const line_parts( split( line ) ); + std::string const line_start( line_parts[0] != "...failed" + ? line_parts[0] + : line_parts[0] + " " + line_parts[1] + ); + + if ( echo ) + { + std::cout + << "line " << line_num << ": " << line << "\n" + << "\tline_start: " << line_start << "\n"; + } + + // create map of test-name to test-info + if ( line_start.find( "boost-test(" ) == 0 ) + { + string::size_type pos = line.find( '"' ); + string test_name( line.substr( pos+1, line.find( '"', pos+1)-pos-1 ) ); + test_info info; + info.always_show_run_output + = line.find( "\"always_show_run_output\"" ) != string::npos; + info.type = line.substr( 11, line.find( ')' )-11 ); + for (unsigned int i = 0; i!=info.type.size(); ++i ) + { info.type[i] = std::tolower( info.type[i] ); } + pos = line.find( ':' ); + // the rest of line is missing if bjam didn't know how to make target + if ( pos + 1 != line.size() ) + { + info.file_path = line.substr( pos+3, + line.find( "\"", pos+3 )-pos-3 ); + convert_path_separators( info.file_path ); + if ( info.file_path.find( "libs/libs/" ) == 0 ) info.file_path.erase( 0, 5 ); + if ( test_name.find( "/" ) == string::npos ) + test_name = "/" + test_name; + test2info.insert( std::make_pair( test_name, info ) ); + // std::cout << test_name << ", " << info.type << ", " << info.file_path << "\n"; + } + else + { + std::cout << "*****Warning - missing test path: " << line << "\n" + << " (Usually occurs when bjam doesn't know how to make a target)\n"; + } + continue; + } + + // these actions represent both the start of a new action + // and the end of a failed action + else if ( line_start.find( "C++-action" ) != string::npos + || line_start.find( "vc-C++" ) != string::npos + || line_start.find( "C-action" ) != string::npos + || line_start.find( "Cc-action" ) != string::npos + || line_start.find( "vc-Cc" ) != string::npos + || line_start.find( ".compile.") != string::npos + || line_start.find( "compile-") != string::npos + || line_start.find( "-compile") != string::npos + || line_start.find( "Link-action" ) != string::npos + || line_start.find( "vc-Link" ) != string::npos + || line_start.find( "Archive-action" ) != string::npos + || line_start.find( ".archive") != string::npos + || ( line_start.find( ".link") != string::npos && + // .linkonce is present in gcc linker messages about + // unresolved symbols. We don't have to parse those + line_start.find( ".linkonce" ) == string::npos ) + ) + { + string action( ( line_start.find( "Link-action" ) != string::npos + || line_start.find( "vc-Link" ) != string::npos + || line_start.find( "Archive-action" ) != string::npos + || line_start.find( ".archive") != string::npos + || line_start.find( ".link") != string::npos + ) + ? "link" : "compile" + ); + + if ( line_start.find( "...failed " ) != string::npos ) + { + mgr.stop_message( action, target_directory( line ), + "fail", timestamp(), content ); + } + else + { + string target_dir( target_directory( line ) ); + mgr.start_message( action, target_dir, + test_name( target_dir ), toolset( target_dir ), content ); + } + content = "\n"; + capture_lines = true; + } + + // these actions are only used to stop the previous action + else if ( line_start.find( "-Archive" ) != string::npos + || line_start.find( "MkDir" ) == 0 ) + { + mgr.stop_message( content ); + content.clear(); + capture_lines = false; + } + + else if ( line_start.find( "execute-test" ) != string::npos + || line_start.find( "capture-output" ) != string::npos ) + { + if ( line_start.find( "...failed " ) != string::npos ) + { + mgr.stop_message( "run", target_directory( line ), + "fail", timestamp(), content ); + content = "\n"; + capture_lines = true; + } + else + { + string target_dir( target_directory( line ) ); + mgr.start_message( "run", target_dir, + test_name( target_dir ), toolset( target_dir ), content ); + + // contents of .output file for content + capture_lines = false; + content = "\n"; + fs::ifstream file( locate_root / target_dir + / (test_name(target_dir) + ".output") ); + if ( file ) + { + string ln; + while ( std::getline( file, ln ) ) + { + if ( ln.find( "<note>" ) != string::npos ) mgr.note( true ); + append_html( ln, content ); + content += "\n"; + } + } + } + } + + // bjam indicates some prior dependency failed by a "...skipped" message + else if ( line_start.find( "...skipped" ) != string::npos + && line.find( "<directory-grist>" ) == string::npos + ) + { + mgr.stop_message( content ); + content.clear(); + capture_lines = false; + + if ( line.find( " for lack of " ) != string::npos ) + { + capture_lines = ( line.find( ".run for lack of " ) == string::npos ); + + string target_dir; + string lib_dir; + + parse_skipped_msg( line, target_dir, lib_dir ); + + if ( target_dir != lib_dir ) // it's a lib problem + { + mgr.start_message( "lib", target_dir, + test_name( target_dir ), toolset( target_dir ), content ); + content = lib_dir; + mgr.stop_message( "lib", target_dir, "fail", timestamp(), content ); + content = "\n"; + } + } + + } + + else if ( line_start.find( "**passed**" ) != string::npos + || line_start.find( "failed-test-file" ) != string::npos + || line_start.find( "command-file-dump" ) != string::npos ) + { + mgr.stop_message( content ); + content = "\n"; + capture_lines = true; + } + + else if ( capture_lines ) // hang onto lines for possible later use + { + append_html( line, content );; + content += "\n"; + } + } + + mgr.stop_message( content ); + if (input != &std::cin) + delete input; + return 0; +} diff --git a/tools/regression/regression-logs.pl b/tools/regression/regression-logs.pl new file mode 100644 index 0000000000..97cd4e9acd --- /dev/null +++ b/tools/regression/regression-logs.pl @@ -0,0 +1,197 @@ +#!/usr/bin/perl + +#~ Copyright 2003, Rene Rivera. +#~ Use, modification and distribution are subject to the Boost Software +#~ License Version 1.0. (See accompanying file LICENSE_1_0.txt or +#~ http://www.boost.org/LICENSE_1_0.txt) + +use FileHandle; +use Time::Local; + +# Get the whle percent value +# +sub percent_value +{ + my ($count,$total) = @_; + my $percent = int (($count/$total)*100+0.5); + if ($count > 0 && $percent == 0) { $percent = 1; } + if ($count < $total && $percent == 100) { $percent = 99; } + return $percent; +} + +# Generate item html for the pass column. +# +sub result_info_pass +{ + my ($color,$pass,$warn,$fail,$missing) = @_; + my $percent = 100-percent_value($fail+$missing,$pass+$warn+$fail+$missing); + return "<font color=\"$color\"><font size=\"+1\">$percent%</font><br>($warn warnings)</font>"; +} + +# Generate item html for the fail column. +# +sub result_info_fail +{ + my ($color,$pass,$warn,$fail,$missing) = @_; + my $percent = percent_value($fail+$missing,$pass+$warn+$fail+$missing); + return "<font color=\"$color\"><font size=\"+1\">$percent%</font><br>($fail)</font>"; +} + +# Generate an age highlighted run date string. +# Use as: data_info(run-date-html) +# +sub date_info +{ + my %m = ('January',0,'February',1,'March',2,'April',3,'May',4,'June',5, + 'July',6,'August',7,'September',8,'October',9,'November',10,'December',11); + my @d = split(/ |:/,$_[0]); + my ($hour,$min,$sec,$day,$month,$year) = ($d[0],$d[1],$d[2],$d[4],$m{$d[5]},$d[6]); + #print "<!-- $hour.$min.$sec.$day.$month.$year -->\n"; + my $test_t = timegm($sec,$min,$hour,$day,$month,$year); + my $age = time-$test_t; + my $age_days = $age/(60*60*24); + #print "<!-- $age_days days old -->\n"; + my $age_html = "<font>"; + if ($age_days <= 2) { } + elsif ($age_days <= 14) { $age_html = "<font color=\"#FF9900\">"; } + else { $age_html = "<font color=\"#FF0000\">"; } + return $age_html.$_[0]."</font>"; +} + +# Generate an age string based on the run date. +# Use as: age_info(run-date-html) +# +sub age_info +{ + my %m = ('January',0,'February',1,'March',2,'April',3,'May',4,'June',5, + 'July',6,'August',7,'September',8,'October',9,'November',10,'December',11); + my @d = split(/ |:/,$_[0]); + my ($hour,$min,$sec,$day,$month,$year) = ($d[0],$d[1],$d[2],$d[4],$m{$d[5]},$d[6]); + #print "<!-- $hour.$min.$sec.$day.$month.$year -->\n"; + my $test_t = timegm($sec,$min,$hour,$day,$month,$year); + my $age = time-$test_t; + my $age_days = $age/(60*60*24); + #print "<!-- $age_days days old -->\n"; + my $age_html = "<font>"; + if ($age_days <= 2) { } + elsif ($age_days <= 14) { $age_html = "<font color=\"#FF9900\">"; } + else { $age_html = "<font color=\"#FF0000\">"; } + if ($age_days <= 1) { $age_html = $age_html."today"; } + elsif ($age_days <= 2) { $age_html = $age_html."yesterday"; } + elsif ($age_days < 14) { my $days = int $age_days; $age_html = $age_html.$days." days"; } + elsif ($age_days < 7*8) { my $weeks = int $age_days/7; $age_html = $age_html.$weeks." weeks"; } + else { my $months = int $age_days/28; $age_html = $age_html.$months." months"; } + return $age_html."</font>"; +} + +#~ foreach my $k (sort keys %ENV) +#~ { + #~ print "<!-- $k = $ENV{$k} -->\n"; +#~ } +my $logdir = "$ENV{PWD}"; +#~ my $logdir = "C:\\CVSROOTs\\Boost\\boost\\status"; +opendir LOGS, "$logdir"; +my @logs = grep /.*links[^.]*\.html$/, readdir LOGS; +closedir LOGS; +my @bgcolor = ( "bgcolor=\"#EEEEFF\"", "" ); +my $row = 0; +print "<table>\n"; +print "<tr>\n", + "<th align=\"left\" bgcolor=\"#DDDDDD\">Platform</th>\n", + "<th align=\"left\" bgcolor=\"#DDDDDD\">Run Date</th>\n", + "<th align=\"left\" bgcolor=\"#DDDDDD\">Age</th>\n", + "<th align=\"left\" bgcolor=\"#DDDDDD\">Compilers</th>\n", + "<th align=\"left\" bgcolor=\"#DDDDDD\">Pass</th>\n", + "<th align=\"left\" bgcolor=\"#DDDDDD\">Fail</th>\n", + "</tr>\n"; +foreach $l (sort { lc($a) cmp lc($b) } @logs) +{ + my $log = $l; + $log =~ s/-links//s; + my ($spec) = ($log =~ /cs-([^\.]+)/); + my $fh = new FileHandle; + if ($fh->open("<$logdir/$log")) + { + my $content = join('',$fh->getlines()); + $fh->close; + my ($status) = ($content =~ /(<h1>Compiler(.(?!<\/td>))+.)/si); + my ($platform) = ($status =~ /Status: ([^<]+)/si); + my ($run_date) = ($status =~ /Date:<\/b> ([^<]+)/si); + $run_date =~ s/, /<br>/g; + my ($compilers) = ($content =~ /Test Type<\/a><\/t[dh]>((.(?!<\/tr>))+.)/si); + if ($compilers eq "") { next; } + $compilers =~ s/-<br>//g; + $compilers =~ s/<\/td>//g; + my @compiler = ($compilers =~ /<td>(.*)$/gim); + my $count = @compiler; + my @results = ($content =~ /(>Pass<|>Warn<|>Fail<|>Missing<)/gi); + my $test_count = (scalar @results)/$count; + my @pass = map { 0 } (1..$count); + my @warn = map { 0 } (1..$count); + my @fail = map { 0 } (1..$count); + my @missing = map { 0 } (1..$count); + my @total = map { 0 } (1..$count); + #~ print "<!-- ", + #~ "pass = ",join(',',@pass)," ", + #~ "warn = ",join(',',@warn)," ", + #~ "fail = ",join(',',@fail)," ", + #~ "missing = ",join(',',@missing)," ", + #~ "total = ",join(',',@total)," ", + #~ " -->\n"; + for my $t (1..$test_count) + { + my $r0 = (($t-1)*$count); + my $r1 = (($t-1)*$count+$count-1); + my @r = @results[(($t-1)*$count)..(($t-1)*$count+$count-1)]; + #~ print "<!-- ", + #~ "result = ",join(',',@r)," ", + #~ "range = ",$r0,"..",$r1," (",(scalar @results),")", + #~ " -->\n"; + for my $c (1..$count) + { + if ($r[$c-1] =~ /Pass/i) { ++$pass[$c-1]; } + elsif ($r[$c-1] =~ /Warn/i) { ++$warn[$c-1]; } + elsif ($r[$c-1] =~ /Fail/i) { ++$fail[$c-1]; } + elsif ($r[$c-1] =~ /Missing/i) { ++$missing[$c-1]; } + ++$total[$c-1]; + } + } + #~ print "<!-- ", + #~ "pass = ",join(',',@pass)," ", + #~ "warn = ",join(',',@warn)," ", + #~ "fail = ",join(',',@fail)," ", + #~ "missing = ",join(',',@missing)," ", + #~ "total = ",join(',',@total)," ", + #~ " -->\n"; + for my $comp (1..(scalar @compiler)) + { + my @lines = split(/<br>/,$compiler[$comp-1]); + if (@lines > 2) { $compiler[$comp-1] = join(' ',@lines[0..(scalar @lines)-2])."<br>".$lines[(scalar @lines)-1]; } + } + print + "<tr>\n", + "<td rowspan=\"$count\" valign=\"top\"><font size=\"+1\">$platform</font><br>(<a href=\"./$log\">$spec</a>)</td>\n", + "<td rowspan=\"$count\" valign=\"top\">",$run_date,"</td>\n", + "<td rowspan=\"$count\" valign=\"top\">",age_info($run_date),"</td>\n", + "<td valign=\"top\" ",$bgcolor[$row],">",$compiler[0],"</td>\n", + "<td valign=\"top\" ",$bgcolor[$row],">",result_info_pass("#000000",$pass[0],$warn[0],$fail[0],$missing[0]),"</td>\n", + "<td valign=\"top\" ",$bgcolor[$row],">",result_info_fail("#FF0000",$pass[0],$warn[0],$fail[0],$missing[0]),"</td>\n", + "</tr>\n"; + $row = ($row+1)%2; + foreach my $c (1..($count-1)) + { + print + "<tr>\n", + "<td valign=\"top\" ",$bgcolor[$row],">",$compiler[$c],"</td>\n", + "<td valign=\"top\" ",$bgcolor[$row],">",result_info_pass("#000000",$pass[$c],$warn[$c],$fail[$c],$missing[$c]),"</td>\n", + "<td valign=\"top\" ",$bgcolor[$row],">",result_info_fail("#FF0000",$pass[$c],$warn[$c],$fail[$c],$missing[$c]),"</td>\n", + "</tr>\n"; + $row = ($row+1)%2; + } + print + "<tr>\n", + "<td colspan=\"7\"><hr size=\"1\" noshade></td>\n", + "</tr>\n"; + } +} +print "</table>\n"; diff --git a/tools/regression/run_tests.sh b/tools/regression/run_tests.sh new file mode 100644 index 0000000000..04eaf833ba --- /dev/null +++ b/tools/regression/run_tests.sh @@ -0,0 +1,191 @@ +#!/bin/sh +# +# shell script for running the boost regression test suite and generating +# a html table of results. + +# Set the following variables to configure the operation. Variables you +# should set, i.e. usually required are listed first. Optional variables +# have reasonable defaults for most situations. + + +### THESE SHOULD BE CHANGED! + +# +# "boost_root" points to the root of you boost installation: +# This can be either a non-exitent directory or an already complete Boost +# source tree. +# +boost_root="$HOME/CVSROOTs/Boost/boost_regression" + +# +# Wether to fetch the most current Boost code from CVS (yes/no): +# There are two contexts to use this script in: on an active Boost CVS +# tree, and on a fresh Boost CVS tree. If "yes" is specified here an attempt +# to fetch the latest CVS Boost files is made. For an active Boost CVS +# the CVS connection information is used. If an empty tree is detected +# the code is fetched with the anonymous read only information. +# +cvs_update=no + +# +# "test_tools" are the Boost.Build toolsets to use for building and running the +# regression tests. Specify a space separated list, of the Boost.Build toolsets. +# Each will be built and tested in sequence. +# +test_tools=gcc + +# +# "toolset" is the Boost.Build toolset to use for building the helper programs. +# This is usually different than the toolsets one is testing. And this is +# normally a toolset that corresponds to the compiler built into your platform. +# +toolset=gcc + +# +# "comment_path" is the path to an html-file describing the test environment. +# The content of this file will be embedded in the status pages being produced. +# +comment_path="$boost_root/../regression_comment.html" +# +# "test_dir" is the relative path to the directory to run the tests in, +# defaults to "status" and runs all the tests, but could be a sub-directory +# for example "libs/regex/test" to run the regex tests alone. +# +test_dir="status" + + +### DEFAULTS ARE OK FOR THESE. + +# +# "exe_suffix" the suffix used by exectable files: +# In case your platform requires use of a special suffix for executables specify +# it here, including the "." if needed. This should not be needed even in Windows +# like platforms as they will execute without the suffix anyway. +# +exe_suffix= + +# +# "bjam" points to your built bjam executable: +# The location of the binary for running bjam. The default should work +# under most circumstances. +# +bjam="$boost_root/tools/jam/src/bin/bjam$exe_suffix" + +# +# "process_jam_log", and "compiler_status" paths to built helper programs: +# The location of the executables of the regression help programs. These +# are built locally so the default should work in most situations. +# +process_jam_log="$boost_root/dist/bin/process_jam_log$exe_suffix" +compiler_status="$boost_root/dist/bin/compiler_status$exe_suffix" + +# +# "boost_build_path" can point to additional locations to find toolset files. +# +boost_build_path="$HOME/.boost-build" + + +### NO MORE CONFIGURABLE PARTS. + +# +# Some setup. +# +boost_dir=`basename "$boost_root"` +if test -n "${BOOST_BUILD_PATH}" ; then + BOOST_BUILD_PATH="$boost_build_path:$BOOST_BUILD_PATH" +else + BOOST_BUILD_PATH="$boost_build_path" +fi +export BOOST_BUILD_PATH + +# +# STEP 0: +# +# Get the source code: +# +if test ! -d "$boost_root" ; then + mkdir -p "$boost_root" + if test $? -ne 0 ; then + echo "creation of $boost_root directory failed." + exit 256 + fi +fi +if test $cvs_update = yes ; then + echo fetching Boost: + echo "/1 :pserver:anonymous@cvs.sourceforge.net:2401/cvsroot/boost A" >> "$HOME/.cvspass" + cat "$HOME/.cvspass" | sort | uniq > "$HOME/.cvspass" + cd `dirname "$boost_root"` + if test -f boost/CVS/Root ; then + cvs -z3 -d `cat "$boost_dir/CVS/Root"` co -d "$boost_dir" boost + else + cvs -z3 -d :pserver:anonymous@cvs.sourceforge.net:2401/cvsroot/boost co -d "$boost_dir" boost + fi +fi + +# +# STEP 1: +# rebuild bjam if required: +# +echo building bjam: +cd "$boost_root/tools/jam/src" && \ +LOCATE_TARGET=bin sh ./build.sh +if test $? != 0 ; then + echo "bjam build failed." + exit 256 +fi + +# +# STEP 2: +# rebuild the regression test helper programs if required: +# +echo building regression test helper programs: +cd "$boost_root/tools/regression/build" && \ +"$bjam" $toolset release +if test $? != 0 ; then + echo "helper program build failed." + exit 256 +fi + +# +# STEP 5: +# repeat steps 3 and 4 for each additional toolset: +# +for tool in $test_tools ; do + +# +# STEP 3: +# run the regression tests: +# +echo running the $tool regression tests: +cd "$boost_root/$test_dir" +"$bjam" $tool --dump-tests 2>&1 | tee regress.log + +# +# STEP 4: +# post process the results: +# +echo processing the regression test results for $tool: +cat regress.log | "$process_jam_log" --v2 +if test $? != 0 ; then + echo "Failed regression log post processing." + exit 256 +fi + +done + +# +# STEP 6: +# create the html table: +# +uname=`uname` +echo generating html tables: +"$compiler_status" --v2 --comment "$comment_path" "$boost_root" cs-$uname.html cs-$uname-links.html +if test $? != 0 ; then + echo "Failed HTML result table generation." + exit 256 +fi + +echo "done!" + + + diff --git a/tools/regression/test/compile-fail~fail.cpp b/tools/regression/test/compile-fail~fail.cpp new file mode 100644 index 0000000000..76fc53b9d7 --- /dev/null +++ b/tools/regression/test/compile-fail~fail.cpp @@ -0,0 +1,10 @@ +// (C) Copyright Beman Dawes 2003. 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) + +// Test naming convention: the portion of the name before the tilde ("~") +// identifies the bjam test type. The portion after the tilde +// identifies the correct result to be reported by compiler_status. + +int main() { return 0; } + diff --git a/tools/regression/test/compile-fail~pass.cpp b/tools/regression/test/compile-fail~pass.cpp new file mode 100644 index 0000000000..cacb17d133 --- /dev/null +++ b/tools/regression/test/compile-fail~pass.cpp @@ -0,0 +1,9 @@ +// (C) Copyright Beman Dawes 2003. 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) + +// Test naming convention: the portion of the name before the tilde ("~") +// identifies the bjam test type. The portion after the tilde +// identifies the correct result to be reported by compiler_status. + +#error example of a compile failure diff --git a/tools/regression/test/compile~fail.cpp b/tools/regression/test/compile~fail.cpp new file mode 100644 index 0000000000..cacb17d133 --- /dev/null +++ b/tools/regression/test/compile~fail.cpp @@ -0,0 +1,9 @@ +// (C) Copyright Beman Dawes 2003. 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) + +// Test naming convention: the portion of the name before the tilde ("~") +// identifies the bjam test type. The portion after the tilde +// identifies the correct result to be reported by compiler_status. + +#error example of a compile failure diff --git a/tools/regression/test/compile~pass.cpp b/tools/regression/test/compile~pass.cpp new file mode 100644 index 0000000000..384b51fa4a --- /dev/null +++ b/tools/regression/test/compile~pass.cpp @@ -0,0 +1,9 @@ +// (C) Copyright Beman Dawes 2003. 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) + +// Test naming convention: the portion of the name before the tilde ("~") +// identifies the bjam test type. The portion after the tilde +// identifies the correct result to be reported by compiler_status. + +int main() { return 0; } diff --git a/tools/regression/test/compile~warn.cpp b/tools/regression/test/compile~warn.cpp new file mode 100644 index 0000000000..7895a229e7 --- /dev/null +++ b/tools/regression/test/compile~warn.cpp @@ -0,0 +1,18 @@ +// (C) Copyright Beman Dawes 2003. 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) + +// Test naming convention: the portion of the name before the tilde ("~") +// identifies the bjam test type. The portion after the tilde +// identifies the correct result to be reported by compiler_status. + +// provoke one or more compiler warnings + +int main(int argc, char * argv[] ) +{ + short s; + unsigned long ul; + s = s & ul; // warning from many compilers + if ( s == ul ) {} // warning from GCC + return 0; +} diff --git a/tools/regression/test/run-fail~compile-fail.cpp b/tools/regression/test/run-fail~compile-fail.cpp new file mode 100644 index 0000000000..cacb17d133 --- /dev/null +++ b/tools/regression/test/run-fail~compile-fail.cpp @@ -0,0 +1,9 @@ +// (C) Copyright Beman Dawes 2003. 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) + +// Test naming convention: the portion of the name before the tilde ("~") +// identifies the bjam test type. The portion after the tilde +// identifies the correct result to be reported by compiler_status. + +#error example of a compile failure diff --git a/tools/regression/test/run-fail~fail-warn.cpp b/tools/regression/test/run-fail~fail-warn.cpp new file mode 100644 index 0000000000..577d2bb890 --- /dev/null +++ b/tools/regression/test/run-fail~fail-warn.cpp @@ -0,0 +1,16 @@ +// (C) Copyright Beman Dawes 2003. 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) + +// Test naming convention: the portion of the name before the tilde ("~") +// identifies the bjam test type. The portion after the tilde +// identifies the correct result to be reported by compiler_status. + +int main() +{ + short s; + unsigned long ul; + s = s & ul; // warning from many compilers + if ( s == ul ) {} // warning from GCC + return 0; +} diff --git a/tools/regression/test/run-fail~fail.cpp b/tools/regression/test/run-fail~fail.cpp new file mode 100644 index 0000000000..865b8eb3dd --- /dev/null +++ b/tools/regression/test/run-fail~fail.cpp @@ -0,0 +1,12 @@ +// (C) Copyright Beman Dawes 2003. 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) + +// Test naming convention: the portion of the name before the tilde ("~") +// identifies the bjam test type. The portion after the tilde +// identifies the correct result to be reported by compiler_status. + +int main() +{ + return 0; +} diff --git a/tools/regression/test/run-fail~pass.cpp b/tools/regression/test/run-fail~pass.cpp new file mode 100644 index 0000000000..3e3ab13973 --- /dev/null +++ b/tools/regression/test/run-fail~pass.cpp @@ -0,0 +1,15 @@ +// (C) Copyright Beman Dawes 2003. 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) + +// Test naming convention: the portion of the name before the tilde ("~") +// identifies the bjam test type. The portion after the tilde +// identifies the correct result to be reported by compiler_status. + +#include <iostream> + +int main() +{ + std::cout << "example of output from a run-time failure\n"; + return 1; +} diff --git a/tools/regression/test/run-fail~warn.cpp b/tools/regression/test/run-fail~warn.cpp new file mode 100644 index 0000000000..8cc21a110a --- /dev/null +++ b/tools/regression/test/run-fail~warn.cpp @@ -0,0 +1,20 @@ +// (C) Copyright Beman Dawes 2003. 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) + +// Test naming convention: the portion of the name before the tilde ("~") +// identifies the bjam test type. The portion after the tilde +// identifies the correct result to be reported by compiler_status. + +#include <iostream> + +int main() +{ + short s; + unsigned long ul; + s = s & ul; // warning from many compilers + if ( s == ul ) {} // warning from GCC + + std::cout << "example of output from a run-time failure\n"; + return 1; +} diff --git a/tools/regression/test/run~compile-fail.cpp b/tools/regression/test/run~compile-fail.cpp new file mode 100644 index 0000000000..cacb17d133 --- /dev/null +++ b/tools/regression/test/run~compile-fail.cpp @@ -0,0 +1,9 @@ +// (C) Copyright Beman Dawes 2003. 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) + +// Test naming convention: the portion of the name before the tilde ("~") +// identifies the bjam test type. The portion after the tilde +// identifies the correct result to be reported by compiler_status. + +#error example of a compile failure diff --git a/tools/regression/test/run~fail-note.cpp b/tools/regression/test/run~fail-note.cpp new file mode 100644 index 0000000000..b514da0938 --- /dev/null +++ b/tools/regression/test/run~fail-note.cpp @@ -0,0 +1,17 @@ +// (C) Copyright Beman Dawes 2003. 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) + +// Test naming convention: the portion of the name before the tilde ("~") +// identifies the bjam test type. The portion after the tilde +// identifies the correct result to be reported by compiler_status. + +#include <iostream> + +int main() +{ + std::cout << "example of output before a <note> line\n"; + std::cout << "<note>\n"; + std::cout << "example of output after a <note> line\n"; + return 1; +} diff --git a/tools/regression/test/run~fail-warn.cpp b/tools/regression/test/run~fail-warn.cpp new file mode 100644 index 0000000000..8cc21a110a --- /dev/null +++ b/tools/regression/test/run~fail-warn.cpp @@ -0,0 +1,20 @@ +// (C) Copyright Beman Dawes 2003. 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) + +// Test naming convention: the portion of the name before the tilde ("~") +// identifies the bjam test type. The portion after the tilde +// identifies the correct result to be reported by compiler_status. + +#include <iostream> + +int main() +{ + short s; + unsigned long ul; + s = s & ul; // warning from many compilers + if ( s == ul ) {} // warning from GCC + + std::cout << "example of output from a run-time failure\n"; + return 1; +} diff --git a/tools/regression/test/run~fail.cpp b/tools/regression/test/run~fail.cpp new file mode 100644 index 0000000000..d6b8ffacf9 --- /dev/null +++ b/tools/regression/test/run~fail.cpp @@ -0,0 +1,14 @@ +// (C) Copyright Beman Dawes 2003. 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) + +// Test naming convention: the portion of the name before the tilde ("~") +// identifies the bjam test type. The portion after the tilde +// identifies the correct result to be reported by compiler_status. + +#include <iostream> + +int main() +{ + return 1; +} diff --git a/tools/regression/test/run~note.cpp b/tools/regression/test/run~note.cpp new file mode 100644 index 0000000000..2841618522 --- /dev/null +++ b/tools/regression/test/run~note.cpp @@ -0,0 +1,17 @@ +// (C) Copyright Beman Dawes 2003. 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) + +// Test naming convention: the portion of the name before the tilde ("~") +// identifies the bjam test type. The portion after the tilde +// identifies the correct result to be reported by compiler_status. + +#include <iostream> + +int main() +{ + std::cout << "example of output before a <note> line\n"; + std::cout << "<note>\n"; + std::cout << "example of output after a <note> line\n"; + return 0; +} diff --git a/tools/regression/test/run~pass.cpp b/tools/regression/test/run~pass.cpp new file mode 100644 index 0000000000..865b8eb3dd --- /dev/null +++ b/tools/regression/test/run~pass.cpp @@ -0,0 +1,12 @@ +// (C) Copyright Beman Dawes 2003. 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) + +// Test naming convention: the portion of the name before the tilde ("~") +// identifies the bjam test type. The portion after the tilde +// identifies the correct result to be reported by compiler_status. + +int main() +{ + return 0; +} diff --git a/tools/regression/test/run~warn-note.cpp b/tools/regression/test/run~warn-note.cpp new file mode 100644 index 0000000000..36e1c5faf3 --- /dev/null +++ b/tools/regression/test/run~warn-note.cpp @@ -0,0 +1,24 @@ +// (C) Copyright Beman Dawes 2003. 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) + +// Test naming convention: the portion of the name before the tilde ("~") +// identifies the bjam test type. The portion after the tilde +// identifies the correct result to be reported by compiler_status. + +#include <iostream> + +int main() +{ + std::cout << "example of output before a <note> line\n"; + std::cout << "<note>\n"; + std::cout << "example of output after a <note> line\n"; + + // provoke a compiler warning to make sure <note> takes priority over + // a warning, but neither is lost from status reporting links HTML. + short s; + unsigned long ul; + s = s & ul; // warning from many compilers + if ( s == ul ) {} // warning from GCC + return 0; +} diff --git a/tools/regression/test/run~warn.cpp b/tools/regression/test/run~warn.cpp new file mode 100644 index 0000000000..7895a229e7 --- /dev/null +++ b/tools/regression/test/run~warn.cpp @@ -0,0 +1,18 @@ +// (C) Copyright Beman Dawes 2003. 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) + +// Test naming convention: the portion of the name before the tilde ("~") +// identifies the bjam test type. The portion after the tilde +// identifies the correct result to be reported by compiler_status. + +// provoke one or more compiler warnings + +int main(int argc, char * argv[] ) +{ + short s; + unsigned long ul; + s = s & ul; // warning from many compilers + if ( s == ul ) {} // warning from GCC + return 0; +} diff --git a/tools/regression/test/test-cases/borland/bjam.log b/tools/regression/test/test-cases/borland/bjam.log new file mode 100644 index 0000000000..526c824b65 --- /dev/null +++ b/tools/regression/test/test-cases/borland/bjam.log @@ -0,0 +1,98 @@ +locate-root "g:\boost\rc-1-34\results\boost\bin.v2" +searching for python.exe in c:/local/python25/bin +boost-test(RUN) "config_link_test" : "libs/config/test/link/main.cpp" +...patience... +...patience... +...patience... +...patience... +...patience... +...found 84395 targets... +...updating 64629 targets... + +MkDir1 g:\boost\rc-1-34\results\boost\bin.v2\status\config_link_test.test\borland-5.8.2 + + mkdir "g:\boost\rc-1-34\results\boost\bin.v2\status\config_link_test.test\borland-5.8.2" + +MkDir1 g:\boost\rc-1-34\results\boost\bin.v2\status\config_link_test.test\borland-5.8.2\debug + + mkdir "g:\boost\rc-1-34\results\boost\bin.v2\status\config_link_test.test\borland-5.8.2\debug" + +borland.compile.c++ g:\boost\rc-1-34\results\boost\bin.v2\status\config_link_test.test\borland-5.8.2\debug\main.obj + + "c:/progra~1/borland/bds/4.0/bin/bcc32.exe" -j5 -g255 -q -c -P -Ve -Vx -a8 -b- -v -Od -tWC -tWR -tWC -WM- -DBOOST_ALL_NO_LIB=1 -DBOOST_CONFIG_NO_LIB=1 -DBOOST_DYN_LINK=1 -I".." -I"c:/progra~1/borland/bds/4.0/include/" -o"g:\boost\rc-1-34\results\boost\bin.v2\status\config_link_test.test\borland-5.8.2\debug\main.obj" "g:\boost\rc-1-34\boost\libs\config\test\link\main.cpp" + +g:\boost\rc-1-34\boost\libs\config\test\link\main.cpp: +MkDir1 g:\boost\rc-1-34\results\boost\bin.v2\libs\config\test\link\borland-5.8.2 + + mkdir "g:\boost\rc-1-34\results\boost\bin.v2\libs\config\test\link\borland-5.8.2" + +MkDir1 g:\boost\rc-1-34\results\boost\bin.v2\libs\config\test\link\borland-5.8.2\debug + + mkdir "g:\boost\rc-1-34\results\boost\bin.v2\libs\config\test\link\borland-5.8.2\debug" + +borland.compile.c++ g:\boost\rc-1-34\results\boost\bin.v2\libs\config\test\link\borland-5.8.2\debug\link_test.obj + + "c:/progra~1/borland/bds/4.0/bin/bcc32.exe" -j5 -g255 -q -c -P -Ve -Vx -a8 -b- -v -Od -tWC -tWR -tWC -tWD -WM- -DBOOST_ALL_NO_LIB=1 -DBOOST_DYN_LINK=1 -I".." -I"c:/progra~1/borland/bds/4.0/include/" -o"g:\boost\rc-1-34\results\boost\bin.v2\libs\config\test\link\borland-5.8.2\debug\link_test.obj" "..\libs\config\test\link\link_test.cpp" + +..\libs\config\test\link\link_test.cpp: + +file g:\boost\rc-1-34\results\boost\bin.v2\libs\config\test\link\borland-5.8.2\debug\link_test-bcb-d-1_34.dll.rsp + +"g:\boost\rc-1-34\results\boost\bin.v2\libs\config\test\link\borland-5.8.2\debug\link_test.obj" + +borland.link.dll g:\boost\rc-1-34\results\boost\bin.v2\libs\config\test\link\borland-5.8.2\debug\link_test-bcb-d-1_34.dll g:\boost\rc-1-34\results\boost\bin.v2\libs\config\test\link\borland-5.8.2\debug\link_test-bcb-d-1_34.lib + + set "PATH=c:/progra~1/borland/bds/4.0/bin/;%PATH%" + "c:/progra~1/borland/bds/4.0/bin/bcc32.exe" -v -q -v -v -tWD -tWC -tWR -tWC -tWD -WM- -L"c:/progra~1/borland/bds/4.0/lib" -e"g:\boost\rc-1-34\results\boost\bin.v2\libs\config\test\link\borland-5.8.2\debug\link_test-bcb-d-1_34.dll" @"g:\boost\rc-1-34\results\boost\bin.v2\libs\config\test\link\borland-5.8.2\debug\link_test-bcb-d-1_34.dll.rsp" && "c:/progra~1/borland/bds/4.0/bin/implib" "g:\boost\rc-1-34\results\boost\bin.v2\libs\config\test\link\borland-5.8.2\debug\link_test-bcb-d-1_34.lib" "g:\boost\rc-1-34\results\boost\bin.v2\libs\config\test\link\borland-5.8.2\debug\link_test-bcb-d-1_34.dll" + + +Borland Implib Version 3.0.22 Copyright (c) 1991, 2000 Inprise Corporation + +file g:\boost\rc-1-34\results\boost\bin.v2\status\config_link_test.test\borland-5.8.2\debug\config_link_test.exe.rsp + +"g:\boost\rc-1-34\results\boost\bin.v2\status\config_link_test.test\borland-5.8.2\debug\main.obj" + +"g:\boost\rc-1-34\results\boost\bin.v2\libs\config\test\link\borland-5.8.2\debug\link_test-bcb-d-1_34.lib" + +borland.link g:\boost\rc-1-34\results\boost\bin.v2\status\config_link_test.test\borland-5.8.2\debug\config_link_test.exe + + set "PATH=c:/progra~1/borland/bds/4.0/bin/;%PATH%" + "c:/progra~1/borland/bds/4.0/bin/bcc32.exe" -v -q -v -v -tWD -tWC -tWR -tWC -WM- -L"c:/progra~1/borland/bds/4.0/lib" -e"g:\boost\rc-1-34\results\boost\bin.v2\status\config_link_test.test\borland-5.8.2\debug\config_link_test.exe" @"g:\boost\rc-1-34\results\boost\bin.v2\status\config_link_test.test\borland-5.8.2\debug\config_link_test.exe.rsp" + +testing.capture-output g:\boost\rc-1-34\results\boost\bin.v2\status\config_link_test.test\borland-5.8.2\debug\config_link_test.run + + set PATH=g:\boost\rc-1-34\results\boost\bin.v2\libs\config\test\link\borland-5.8.2\debug;c:\progra~1\borland\bds\4.0\bin;%PATH% + + "g:\boost\rc-1-34\results\boost\bin.v2\status\config_link_test.test\borland-5.8.2\debug\config_link_test.exe" > "g:\boost\rc-1-34\results\boost\bin.v2\status\config_link_test.test\borland-5.8.2\debug\config_link_test.output" 2>&1 + set status=%ERRORLEVEL% + echo. >> "g:\boost\rc-1-34\results\boost\bin.v2\status\config_link_test.test\borland-5.8.2\debug\config_link_test.output" + echo EXIT STATUS: %status% >> "g:\boost\rc-1-34\results\boost\bin.v2\status\config_link_test.test\borland-5.8.2\debug\config_link_test.output" + if %status% EQU 0 ( + copy "g:\boost\rc-1-34\results\boost\bin.v2\status\config_link_test.test\borland-5.8.2\debug\config_link_test.output" "g:\boost\rc-1-34\results\boost\bin.v2\status\config_link_test.test\borland-5.8.2\debug\config_link_test.run" + ) + set verbose=0 + if %status% NEQ 0 ( + set verbose=1 + ) + if %verbose% EQU 1 ( + echo ====== BEGIN OUTPUT ====== + type "g:\boost\rc-1-34\results\boost\bin.v2\status\config_link_test.test\borland-5.8.2\debug\config_link_test.output" + echo ====== END OUTPUT ====== + ) + exit %status% + + 1 file(s) copied. +RmTemps g:\boost\rc-1-34\results\boost\bin.v2\status\config_link_test.test\borland-5.8.2\debug\config_link_test.run + + del /f /q "g:\boost\rc-1-34\results\boost\bin.v2\status\config_link_test.test\borland-5.8.2\debug\config_link_test.exe" + +**passed** g:\boost\rc-1-34\results\boost\bin.v2\status\config_link_test.test\borland-5.8.2\debug\config_link_test.test + + echo passed > g:\boost\rc-1-34\results\boost\bin.v2\status\config_link_test.test\borland-5.8.2\debug\config_link_test.test + + + + +...failed updating 1716 targets... +...skipped 6455 targets... +...updated 56458 targets... diff --git a/tools/regression/test/test-cases/general/.cvsignore b/tools/regression/test/test-cases/general/.cvsignore new file mode 100644 index 0000000000..f8b8405036 --- /dev/null +++ b/tools/regression/test/test-cases/general/.cvsignore @@ -0,0 +1 @@ +actual
\ No newline at end of file diff --git a/tools/regression/test/test-cases/general/bjam.log b/tools/regression/test/test-cases/general/bjam.log new file mode 100644 index 0000000000..71013f7458 --- /dev/null +++ b/tools/regression/test/test-cases/general/bjam.log @@ -0,0 +1,325 @@ +locate-root "..\..\..\bin.v2" +C:\Users\Misha\Stuff\boost\HEAD\boost\tools\regression\test>C:\Users\Misha\Stuff\boost\HEAD\bin\..\boost\tools\jam\src\bin.ntx86\bjam.exe --dump-tests --v2 msvc-7.1 "-sBOOST_BUILD_PATH=C:\Users\Misha\Stuff\boost\HEAD\bin\.." "-sBOOST_ROOT="C:\Users\Misha\Stuff\boost\HEAD\bin\..\boost" +warning: Python location is not configured +warning: the Boost.Python library won't be built +Building Boost.Regex with the optional Unicode/ICU support disabled. +Please refer to the Boost.Regex documentation for more information +(and if you don't know what ICU is then you probably don't need it). +boost-test(RUN) "testlib/run~warn" : "tools/regression/test/run~warn.cpp" +boost-test(RUN) "testlib/run~warn-note" : "tools/regression/test/run~warn-note.cpp" +boost-test(RUN) "testlib/run~pass" : "tools/regression/test/run~pass.cpp" +boost-test(RUN) "testlib/run~note" : "tools/regression/test/run~note.cpp" +boost-test(RUN) "testlib/run~fail" : "tools/regression/test/run~fail.cpp" +boost-test(RUN_FAIL) "testlib/run-fail~pass" : "tools/regression/test/run-fail~pass.cpp" +boost-test(RUN_FAIL) "testlib/run-fail~fail" : "tools/regression/test/run-fail~fail.cpp" +boost-test(RUN_FAIL) "testlib/run-fail~fail-warn" : "tools/regression/test/run-fail~fail-warn.cpp" +boost-test(RUN_FAIL) "testlib/run-fail~compile-fail" : "tools/regression/test/run-fail~compile-fail.cpp" +boost-test(LINK_FAIL) "testlib/link-fail~pass" : "tools/regression/test/link-fail~pass.cpp" +boost-test(LINK_FAIL) "testlib/link-fail~fail" : "tools/regression/test/link-fail~fail.cpp" +boost-test(LINK) "testlib/link~pass" : "tools/regression/test/link~pass.cpp" +boost-test(LINK) "testlib/link~fail" : "tools/regression/test/link~fail.cpp" +boost-test(COMPILE) "testlib/compile~warn" : "tools/regression/test/compile~warn.cpp" +boost-test(COMPILE) "testlib/compile~pass" : "tools/regression/test/compile~pass.cpp" +boost-test(COMPILE) "testlib/compile~fail" : "tools/regression/test/compile~fail.cpp" +boost-test(COMPILE_FAIL) "testlib/compile-fail~pass" : "tools/regression/test/compile-fail~pass.cpp" +boost-test(COMPILE_FAIL) "testlib/compile-fail~fail" : "tools/regression/test/compile-fail~fail.cpp" +...found 210 targets... +...updating 157 targets... +MkDir1 ..\..\..\bin.v2\tools\regression\test +MkDir1 ..\..\..\bin.v2\tools\regression\test\compile-fail~fail.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\compile-fail~fail.test\msvc-7.1 +MkDir1 ..\..\..\bin.v2\tools\regression\test\compile-fail~fail.test\msvc-7.1\debug +MkDir1 ..\..\..\bin.v2\tools\regression\test\compile-fail~fail.test\msvc-7.1\debug\link-static +MkDir1 ..\..\..\bin.v2\tools\regression\test\compile-fail~fail.test\msvc-7.1\debug\link-static\threading-multi +compile-c-c++ ..\..\..\bin.v2\tools\regression\test\compile-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\compile-fail~fail.obj +compile-fail~fail.cpp + + call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul +cl /Zm800 -nologo @"..\..\..\bin.v2\tools\regression\test\compile-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\compile-fail~fail.obj.rsp" + +...failed compile-c-c++ ..\..\..\bin.v2\tools\regression\test\compile-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\compile-fail~fail.obj... +...removing ..\..\..\bin.v2\tools\regression\test\compile-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\compile-fail~fail.obj +MkDir1 ..\..\..\bin.v2\tools\regression\test\compile-fail~pass.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\compile-fail~pass.test\msvc-7.1 +MkDir1 ..\..\..\bin.v2\tools\regression\test\compile-fail~pass.test\msvc-7.1\debug +MkDir1 ..\..\..\bin.v2\tools\regression\test\compile-fail~pass.test\msvc-7.1\debug\link-static +MkDir1 ..\..\..\bin.v2\tools\regression\test\compile-fail~pass.test\msvc-7.1\debug\link-static\threading-multi +compile-c-c++ ..\..\..\bin.v2\tools\regression\test\compile-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\compile-fail~pass.obj +compile-fail~pass.cpp +compile-fail~pass.cpp(9) : fatal error C1189: #error : example of a compile failure
+(failed-as-expected) ..\..\..\bin.v2\tools\regression\test\compile-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\compile-fail~pass.obj +**passed** ..\..\..\bin.v2\tools\regression\test\compile-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\compile-fail~pass.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~fail.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~fail.test\msvc-7.1 +MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~fail.test\msvc-7.1\debug +MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~fail.test\msvc-7.1\debug\link-static +MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~fail.test\msvc-7.1\debug\link-static\threading-multi +compile-c-c++ ..\..\..\bin.v2\tools\regression\test\compile~fail.test\msvc-7.1\debug\link-static\threading-multi\compile~fail.obj +compile~fail.cpp +compile~fail.cpp(9) : fatal error C1189: #error : example of a compile failure
+ + call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul +cl /Zm800 -nologo @"..\..\..\bin.v2\tools\regression\test\compile~fail.test\msvc-7.1\debug\link-static\threading-multi\compile~fail.obj.rsp" + +...failed compile-c-c++ ..\..\..\bin.v2\tools\regression\test\compile~fail.test\msvc-7.1\debug\link-static\threading-multi\compile~fail.obj... +MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~pass.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~pass.test\msvc-7.1 +MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~pass.test\msvc-7.1\debug +MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~pass.test\msvc-7.1\debug\link-static +MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~pass.test\msvc-7.1\debug\link-static\threading-multi +compile-c-c++ ..\..\..\bin.v2\tools\regression\test\compile~pass.test\msvc-7.1\debug\link-static\threading-multi\compile~pass.obj +compile~pass.cpp +**passed** ..\..\..\bin.v2\tools\regression\test\compile~pass.test\msvc-7.1\debug\link-static\threading-multi\compile~pass.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~warn.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~warn.test\msvc-7.1 +MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~warn.test\msvc-7.1\debug +MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~warn.test\msvc-7.1\debug\link-static +MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~warn.test\msvc-7.1\debug\link-static\threading-multi +compile-c-c++ ..\..\..\bin.v2\tools\regression\test\compile~warn.test\msvc-7.1\debug\link-static\threading-multi\compile~warn.obj +compile~warn.cpp +compile~warn.cpp(15) : warning C4244: '=' : conversion from 'unsigned long' to 'short', possible loss of data +c:\users\misha\stuff\boost\head\boost\tools\regression\test\compile~warn.cpp(15) : warning C4700: local variable 'ul' used without having been initialized +**passed** ..\..\..\bin.v2\tools\regression\test\compile~warn.test\msvc-7.1\debug\link-static\threading-multi\compile~warn.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\link~fail.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\link~fail.test\msvc-7.1 +MkDir1 ..\..\..\bin.v2\tools\regression\test\link~fail.test\msvc-7.1\debug +MkDir1 ..\..\..\bin.v2\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static +MkDir1 ..\..\..\bin.v2\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi +compile-c-c++ ..\..\..\bin.v2\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.obj +link~fail.cpp +msvc.link ..\..\..\bin.v2\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.exe +link~fail.obj : error LNK2019: unresolved external symbol "int __cdecl f(void)" (?f@@YAHXZ) referenced in function _main +..\..\..\bin.v2\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.exe : fatal error LNK1120: 1 unresolved externals + + call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul +link /NOLOGO /INCREMENTAL:NO /DEBUG /subsystem:console /out:"..\..\..\bin.v2\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.exe" @"..\..\..\bin.v2\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.exe.rsp" + if errorlevel 1 exit %errorlevel% + if exist "..\..\..\bin.v2\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.exe.manifest" ( + mt -nologo -manifest "..\..\..\bin.v2\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.exe.manifest" "-outputresource:..\..\..\bin.v2\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.exe;1" + ) + +...failed msvc.link ..\..\..\bin.v2\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.exe... +MkDir1 ..\..\..\bin.v2\tools\regression\test\link~pass.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\link~pass.test\msvc-7.1 +MkDir1 ..\..\..\bin.v2\tools\regression\test\link~pass.test\msvc-7.1\debug +MkDir1 ..\..\..\bin.v2\tools\regression\test\link~pass.test\msvc-7.1\debug\link-static +MkDir1 ..\..\..\bin.v2\tools\regression\test\link~pass.test\msvc-7.1\debug\link-static\threading-multi +compile-c-c++ ..\..\..\bin.v2\tools\regression\test\link~pass.test\msvc-7.1\debug\link-static\threading-multi\link~pass.obj +link~pass.cpp +msvc.link ..\..\..\bin.v2\tools\regression\test\link~pass.test\msvc-7.1\debug\link-static\threading-multi\link~pass.exe +**passed** ..\..\..\bin.v2\tools\regression\test\link~pass.test\msvc-7.1\debug\link-static\threading-multi\link~pass.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\link-fail~fail.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\link-fail~fail.test\msvc-7.1 +MkDir1 ..\..\..\bin.v2\tools\regression\test\link-fail~fail.test\msvc-7.1\debug +MkDir1 ..\..\..\bin.v2\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static +MkDir1 ..\..\..\bin.v2\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi +compile-c-c++ ..\..\..\bin.v2\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\link-fail~fail.obj +link-fail~fail.cpp +msvc.link ..\..\..\bin.v2\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\link-fail~fail.exe + + call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul +link /NOLOGO /INCREMENTAL:NO /DEBUG /subsystem:console /out:"..\..\..\bin.v2\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\link-fail~fail.exe" @"..\..\..\bin.v2\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\link-fail~fail.exe.rsp" + if errorlevel 1 exit %errorlevel% + if exist "..\..\..\bin.v2\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\link-fail~fail.exe.manifest" ( + mt -nologo -manifest "..\..\..\bin.v2\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\link-fail~fail.exe.manifest" "-outputresource:..\..\..\bin.v2\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\link-fail~fail.exe;1" + ) + +...failed msvc.link ..\..\..\bin.v2\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\link-fail~fail.exe... +...removing ..\..\..\bin.v2\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\link-fail~fail.exe +MkDir1 ..\..\..\bin.v2\tools\regression\test\link-fail~pass.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\link-fail~pass.test\msvc-7.1 +MkDir1 ..\..\..\bin.v2\tools\regression\test\link-fail~pass.test\msvc-7.1\debug +MkDir1 ..\..\..\bin.v2\tools\regression\test\link-fail~pass.test\msvc-7.1\debug\link-static +MkDir1 ..\..\..\bin.v2\tools\regression\test\link-fail~pass.test\msvc-7.1\debug\link-static\threading-multi +compile-c-c++ ..\..\..\bin.v2\tools\regression\test\link-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\link-fail~pass.obj +link-fail~pass.cpp +msvc.link ..\..\..\bin.v2\tools\regression\test\link-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\link-fail~pass.exe +link-fail~pass.obj : error LNK2019: unresolved external symbol "int __cdecl f(void)" (?f@@YAHXZ) referenced in function _main +..\..\..\bin.v2\tools\regression\test\link-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\link-fail~pass.exe : fatal error LNK1120: 1 unresolved externals +(failed-as-expected) ..\..\..\bin.v2\tools\regression\test\link-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\link-fail~pass.exe +**passed** ..\..\..\bin.v2\tools\regression\test\link-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\link-fail~pass.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~compile-fail.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~compile-fail.test\msvc-7.1 +MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~compile-fail.test\msvc-7.1\debug +MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~compile-fail.test\msvc-7.1\debug\link-static +MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~compile-fail.test\msvc-7.1\debug\link-static\threading-multi +compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run-fail~compile-fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~compile-fail.obj +run-fail~compile-fail.cpp +run-fail~compile-fail.cpp(9) : fatal error C1189: #error : example of a compile failure
+ + call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul +cl /Zm800 -nologo @"..\..\..\bin.v2\tools\regression\test\run-fail~compile-fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~compile-fail.obj.rsp" + +...failed compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run-fail~compile-fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~compile-fail.obj... +...skipped <p..\..\..\bin.v2\tools\regression\test\run-fail~compile-fail.test\msvc-7.1\debug\link-static\threading-multi>run-fail~compile-fail.exe for lack of <p..\..\..\bin.v2\tools\regression\test\run-fail~compile-fail.test\msvc-7.1\debug\link-static\threading-multi>run-fail~compile-fail.obj... +...skipped <p..\..\..\bin.v2\tools\regression\test\run-fail~compile-fail.test\msvc-7.1\debug\link-static\threading-multi>run-fail~compile-fail.run for lack of <p..\..\..\bin.v2\tools\regression\test\run-fail~compile-fail.test\msvc-7.1\debug\link-static\threading-multi>run-fail~compile-fail.exe... +MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1 +MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug +MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug\link-static +MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug\link-static\threading-multi +compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail-warn.obj +run-fail~fail-warn.cpp +run-fail~fail-warn.cpp(13) : warning C4244: '=' : conversion from 'unsigned long' to 'short', possible loss of data +c:\users\misha\stuff\boost\head\boost\tools\regression\test\run-fail~fail-warn.cpp(13) : warning C4700: local variable 'ul' used without having been initialized +msvc.link ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail-warn.exe +testing.capture-output ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail-warn.run + 1 file(s) copied. + + + ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail-warn.exe > ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail-warn.output 2>&1 + set status=%ERRORLEVEL% + echo. >> ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail-warn.output + echo EXIT STATUS: %status% >> ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail-warn.output + if %status% EQU 0 ( + copy ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail-warn.output ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail-warn.run + ) + set verbose=0 + if %status% NEQ 0 ( + set verbose=1 + ) + if %verbose% EQU 1 ( + echo ====== BEGIN OUTPUT ====== + type ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail-warn.output + echo ====== END OUTPUT ====== + ) + exit %status% + +...failed testing.capture-output ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail-warn.run... +...removing ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail-warn.run +MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1 +MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug +MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug\link-static +MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug\link-static\threading-multi +compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail.obj +run-fail~fail.cpp +msvc.link ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail.exe +testing.capture-output ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail.run + 1 file(s) copied. + + + ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail.exe > ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail.output 2>&1 + set status=%ERRORLEVEL% + echo. >> ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail.output + echo EXIT STATUS: %status% >> ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail.output + if %status% EQU 0 ( + copy ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail.output ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail.run + ) + set verbose=0 + if %status% NEQ 0 ( + set verbose=1 + ) + if %verbose% EQU 1 ( + echo ====== BEGIN OUTPUT ====== + type ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail.output + echo ====== END OUTPUT ====== + ) + exit %status% + +...failed testing.capture-output ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail.run... +...removing ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail.run +MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~pass.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~pass.test\msvc-7.1 +MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~pass.test\msvc-7.1\debug +MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~pass.test\msvc-7.1\debug\link-static +MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~pass.test\msvc-7.1\debug\link-static\threading-multi +compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\run-fail~pass.obj +run-fail~pass.cpp +msvc.link ..\..\..\bin.v2\tools\regression\test\run-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\run-fail~pass.exe +testing.capture-output ..\..\..\bin.v2\tools\regression\test\run-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\run-fail~pass.run +====== BEGIN OUTPUT ====== +example of output from a run-time failure + +EXIT STATUS: 1 +====== END OUTPUT ====== + + del /f /q "..\..\..\bin.v2\tools\regression\test\run-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\run-fail~pass.exe" + +...failed RmTemps ..\..\..\bin.v2\tools\regression\test\run-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\run-fail~pass.run... +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~fail.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1 +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1\debug +...on 100th target... +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1\debug\link-static +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1\debug\link-static\threading-multi +compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1\debug\link-static\threading-multi\run~fail.obj +run~fail.cpp +msvc.link ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1\debug\link-static\threading-multi\run~fail.exe +testing.capture-output ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1\debug\link-static\threading-multi\run~fail.run +====== BEGIN OUTPUT ====== + +EXIT STATUS: 1 +====== END OUTPUT ====== + + + ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1\debug\link-static\threading-multi\run~fail.exe > ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1\debug\link-static\threading-multi\run~fail.output 2>&1 + set status=%ERRORLEVEL% + echo. >> ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1\debug\link-static\threading-multi\run~fail.output + echo EXIT STATUS: %status% >> ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1\debug\link-static\threading-multi\run~fail.output + if %status% EQU 0 ( + copy ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1\debug\link-static\threading-multi\run~fail.output ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1\debug\link-static\threading-multi\run~fail.run + ) + set verbose=0 + if %status% NEQ 0 ( + set verbose=1 + ) + if %verbose% EQU 1 ( + echo ====== BEGIN OUTPUT ====== + type ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1\debug\link-static\threading-multi\run~fail.output + echo ====== END OUTPUT ====== + ) + exit %status% + +...failed testing.capture-output ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1\debug\link-static\threading-multi\run~fail.run... +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~note.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~note.test\msvc-7.1 +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~note.test\msvc-7.1\debug +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~note.test\msvc-7.1\debug\link-static +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~note.test\msvc-7.1\debug\link-static\threading-multi +compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run~note.test\msvc-7.1\debug\link-static\threading-multi\run~note.obj +run~note.cpp +msvc.link ..\..\..\bin.v2\tools\regression\test\run~note.test\msvc-7.1\debug\link-static\threading-multi\run~note.exe +testing.capture-output ..\..\..\bin.v2\tools\regression\test\run~note.test\msvc-7.1\debug\link-static\threading-multi\run~note.run + 1 file(s) copied. +**passed** ..\..\..\bin.v2\tools\regression\test\run~note.test\msvc-7.1\debug\link-static\threading-multi\run~note.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1 +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi +compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi\run~pass.obj +run~pass.cpp +msvc.link ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi\run~pass.exe +testing.capture-output ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi\run~pass.run + 1 file(s) copied. +**passed** ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi\run~pass.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~warn-note.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~warn-note.test\msvc-7.1 +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~warn-note.test\msvc-7.1\debug +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~warn-note.test\msvc-7.1\debug\link-static +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~warn-note.test\msvc-7.1\debug\link-static\threading-multi +compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run~warn-note.test\msvc-7.1\debug\link-static\threading-multi\run~warn-note.obj +run~warn-note.cpp +run~warn-note.cpp(21) : warning C4244: '=' : conversion from 'unsigned long' to 'short', possible loss of data +c:\users\misha\stuff\boost\head\boost\tools\regression\test\run~warn-note.cpp(21) : warning C4700: local variable 'ul' used without having been initialized +msvc.link ..\..\..\bin.v2\tools\regression\test\run~warn-note.test\msvc-7.1\debug\link-static\threading-multi\run~warn-note.exe +testing.capture-output ..\..\..\bin.v2\tools\regression\test\run~warn-note.test\msvc-7.1\debug\link-static\threading-multi\run~warn-note.run + 1 file(s) copied. +**passed** ..\..\..\bin.v2\tools\regression\test\run~warn-note.test\msvc-7.1\debug\link-static\threading-multi\run~warn-note.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~warn.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~warn.test\msvc-7.1 +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~warn.test\msvc-7.1\debug +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~warn.test\msvc-7.1\debug\link-static +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~warn.test\msvc-7.1\debug\link-static\threading-multi +compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run~warn.test\msvc-7.1\debug\link-static\threading-multi\run~warn.obj +run~warn.cpp +run~warn.cpp(15) : warning C4244: '=' : conversion from 'unsigned long' to 'short', possible loss of data +c:\users\misha\stuff\boost\head\boost\tools\regression\test\run~warn.cpp(15) : warning C4700: local variable 'ul' used without having been initialized +msvc.link ..\..\..\bin.v2\tools\regression\test\run~warn.test\msvc-7.1\debug\link-static\threading-multi\run~warn.exe +testing.capture-output ..\..\..\bin.v2\tools\regression\test\run~warn.test\msvc-7.1\debug\link-static\threading-multi\run~warn.run + 1 file(s) copied. +**passed** ..\..\..\bin.v2\tools\regression\test\run~warn.test\msvc-7.1\debug\link-static\threading-multi\run~warn.test +...failed updating 9 targets... +...skipped 17 targets... +...updated 131 targets... diff --git a/tools/regression/test/test-cases/general/expected/results.xml b/tools/regression/test/test-cases/general/expected/results.xml new file mode 100644 index 0000000000..13224e0113 --- /dev/null +++ b/tools/regression/test/test-cases/general/expected/results.xml @@ -0,0 +1,167 @@ +<test-log library="" test-name="compile-fail~fail" test-type="" test-program="" target-directory="tools/regression/test/compile-fail~fail.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false"> +<compile result="fail" timestamp="xxx"> +compile-fail~fail.cpp + + call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul +cl /Zm800 -nologo @"C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\compile-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\compile-fail~fail.obj.rsp" + +</compile> +</test-log> +<test-log library="" test-name="compile-fail~pass" test-type="" test-program="" target-directory="tools/regression/test/compile-fail~pass.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false"> +<compile result="succeed" timestamp="xxx"> +compile-fail~pass.cpp +compile-fail~pass.cpp(9) : fatal error C1189: #error : example of a compile failure +(failed-as-expected) C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\compile-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\compile-fail~pass.obj +</compile> +</test-log> +<test-log library="" test-name="compile~fail" test-type="" test-program="" target-directory="tools/regression/test/compile~fail.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false"> +<compile result="fail" timestamp="xxx"> +compile~fail.cpp +compile~fail.cpp(9) : fatal error C1189: #error : example of a compile failure + + call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul +cl /Zm800 -nologo @"C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\compile~fail.test\msvc-7.1\debug\link-static\threading-multi\compile~fail.obj.rsp" + +</compile> +</test-log> +<test-log library="" test-name="compile~pass" test-type="" test-program="" target-directory="tools/regression/test/compile~pass.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false"> +<compile result="succeed" timestamp="xxx"> +compile~pass.cpp +</compile> +</test-log> +<test-log library="" test-name="compile~warn" test-type="" test-program="" target-directory="tools/regression/test/compile~warn.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false"> +<compile result="succeed" timestamp="xxx"> +compile~warn.cpp +compile~warn.cpp(15) : warning C4244: '=' : conversion from 'unsigned long' to 'short', possible loss of data +c:\users\misha\stuff\boost\head\boost\tools\regression\test\compile~warn.cpp(15) : warning C4700: local variable 'ul' used without having been initialized +</compile> +</test-log> +<test-log library="" test-name="link-fail~fail" test-type="" test-program="" target-directory="tools/regression/test/link-fail~fail.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false"> +<compile result="succeed" timestamp="xxx"> +link-fail~fail.cpp +</compile> +<link result="fail" timestamp="xxx"> + + call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul +link /NOLOGO /INCREMENTAL:NO /DEBUG /subsystem:console /out:"C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\link-fail~fail.exe" @"C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\link-fail~fail.exe.rsp" + if errorlevel 1 exit %errorlevel% + if exist "C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\link-fail~fail.exe.manifest" ( + mt -nologo -manifest "C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\link-fail~fail.exe.manifest" "-outputresource:C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\link-fail~fail.exe;1" + ) + +</link> +</test-log> +<test-log library="" test-name="link-fail~pass" test-type="" test-program="" target-directory="tools/regression/test/link-fail~pass.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false"> +<compile result="succeed" timestamp="xxx"> +link-fail~pass.cpp +</compile> +<link result="succeed" timestamp="xxx"> +link-fail~pass.obj : error LNK2019: unresolved external symbol "int __cdecl f(void)" (?f@@YAHXZ) referenced in function _main +C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\link-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\link-fail~pass.exe : fatal error LNK1120: 1 unresolved externals +(failed-as-expected) C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\link-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\link-fail~pass.exe +</link> +</test-log> +<test-log library="" test-name="link~fail" test-type="" test-program="" target-directory="tools/regression/test/link~fail.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false"> +<compile result="succeed" timestamp="xxx"> +link~fail.cpp +</compile> +<link result="fail" timestamp="xxx"> +link~fail.obj : error LNK2019: unresolved external symbol "int __cdecl f(void)" (?f@@YAHXZ) referenced in function _main +C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.exe : fatal error LNK1120: 1 unresolved externals + + call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul +link /NOLOGO /INCREMENTAL:NO /DEBUG /subsystem:console /out:"C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.exe" @"C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.exe.rsp" + if errorlevel 1 exit %errorlevel% + if exist "C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.exe.manifest" ( + mt -nologo -manifest "C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.exe.manifest" "-outputresource:C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.exe;1" + ) + +</link> +</test-log> +<test-log library="" test-name="link~pass" test-type="" test-program="" target-directory="tools/regression/test/link~pass.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false"> +<compile result="succeed" timestamp="xxx"> +link~pass.cpp +</compile> +<link result="succeed" timestamp="xxx"> +</link> +</test-log> +<test-log library="" test-name="run-fail~compile-fail" test-type="" test-program="" target-directory="tools/regression/test/run-fail~compile-fail.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false"> +<compile result="fail" timestamp="xxx"> +run-fail~compile-fail.cpp +run-fail~compile-fail.cpp(9) : fatal error C1189: #error : example of a compile failure + + call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul +cl /Zm800 -nologo @"C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\run-fail~compile-fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~compile-fail.obj.rsp" + +</compile> +</test-log> +<test-log library="" test-name="run-fail~fail-warn" test-type="" test-program="" target-directory="tools/regression/test/run-fail~fail-warn.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false"> +<compile result="succeed" timestamp="xxx"> +run-fail~fail-warn.cpp +run-fail~fail-warn.cpp(13) : warning C4244: '=' : conversion from 'unsigned long' to 'short', possible loss of data +c:\users\misha\stuff\boost\head\boost\tools\regression\test\run-fail~fail-warn.cpp(13) : warning C4700: local variable 'ul' used without having been initialized +</compile> +<link result="succeed" timestamp="xxx"></link> +<run result="fail" timestamp="xxx"> +</run> +</test-log> +<test-log library="" test-name="run-fail~fail" test-type="" test-program="" target-directory="tools/regression/test/run-fail~fail.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false"> +<compile result="succeed" timestamp="xxx"> +run-fail~fail.cpp +</compile> +<link result="succeed" timestamp="xxx"></link> +<run result="fail" timestamp="xxx"> +</run> +</test-log> +<test-log library="" test-name="run-fail~pass" test-type="" test-program="" target-directory="tools/regression/test/run-fail~pass.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false"> +<compile result="succeed" timestamp="xxx"> +run-fail~pass.cpp +</compile> +<link result="succeed" timestamp="xxx"></link> +<run result="succeed" timestamp="xxx"> +</run> +</test-log> +<test-log library="" test-name="run~fail" test-type="" test-program="" target-directory="tools/regression/test/run~fail.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false"> +<compile result="succeed" timestamp="xxx"> +run~fail.cpp +</compile> +<link result="succeed" timestamp="xxx"></link> +<run result="fail" timestamp="xxx"> +</run> +</test-log> +<test-log library="" test-name="run~note" test-type="" test-program="" target-directory="tools/regression/test/run~note.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false"> +<compile result="succeed" timestamp="xxx"> +run~note.cpp +</compile> +<link result="succeed" timestamp="xxx"></link> +<run result="succeed" timestamp="xxx"> +</run> +</test-log> +<test-log library="" test-name="run~pass" test-type="" test-program="" target-directory="tools/regression/test/run~pass.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false"> +<compile result="succeed" timestamp="xxx"> +run~pass.cpp +</compile> +<link result="succeed" timestamp="xxx"></link> +<run result="succeed" timestamp="xxx"> +</run> +</test-log> +<test-log library="" test-name="run~warn-note" test-type="" test-program="" target-directory="tools/regression/test/run~warn-note.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false"> +<compile result="succeed" timestamp="xxx"> +run~warn-note.cpp +run~warn-note.cpp(21) : warning C4244: '=' : conversion from 'unsigned long' to 'short', possible loss of data +c:\users\misha\stuff\boost\head\boost\tools\regression\test\run~warn-note.cpp(21) : warning C4700: local variable 'ul' used without having been initialized +</compile> +<link result="succeed" timestamp="xxx"></link> +<run result="succeed" timestamp="xxx"> +</run> +</test-log> +<test-log library="" test-name="run~warn" test-type="" test-program="" target-directory="tools/regression/test/run~warn.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false"> +<compile result="succeed" timestamp="xxx"> +run~warn.cpp +run~warn.cpp(15) : warning C4244: '=' : conversion from 'unsigned long' to 'short', possible loss of data +c:\users\misha\stuff\boost\head\boost\tools\regression\test\run~warn.cpp(15) : warning C4700: local variable 'ul' used without having been initialized +</compile> +<link result="succeed" timestamp="xxx"></link> +<run result="succeed" timestamp="xxx"> +</run> +</test-log> diff --git a/tools/regression/test/test-cases/incremental/bjam.log b/tools/regression/test/test-cases/incremental/bjam.log new file mode 100644 index 0000000000..65db0844c2 --- /dev/null +++ b/tools/regression/test/test-cases/incremental/bjam.log @@ -0,0 +1,33 @@ +locate-root "..\..\..\bin.v2" +C:\Users\Misha\Stuff\boost\HEAD\boost\tools\regression\test>C:\Users\Misha\Stuff\boost\HEAD\bin\..\boost\tools\jam\src\bin.ntx86\bjam.exe --dump-tests --v2 msvc-7.1 "-sBOOST_BUILD_PATH=C:\Users\Misha\Stuff\boost\HEAD\bin\.." "-sBOOST_ROOT="C:\Users\Misha\Stuff\boost\HEAD\bin\..\boost" + +boost-test(RUN) "testlib/run~pass" : "tools/regression/test/run~pass.cpp" +boost-test(RUN) "testlib/run~pass" : "tools/regression/test/run~pass2s.cpp" + +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1 +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi +compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi\run~pass.obj +run~pass.cpp +msvc.link ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi\run~pass.exe +testing.capture-output ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi\run~pass.run + 1 file(s) copied. +**passed** ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi\run~pass.test + +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass2.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1 +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi +compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi\run~pass2.obj +run~pass2.cpp +msvc.link ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi\run~pass2.exe +testing.capture-output ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi\run~pass2.run + 1 file(s) copied. +**passed** ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi\run~pass2.test + +...failed updating 9 targets... +...skipped 17 targets... +...updated 131 targets... diff --git a/tools/regression/test/test-cases/incremental/bjam.log.1 b/tools/regression/test/test-cases/incremental/bjam.log.1 new file mode 100644 index 0000000000..967ed9eb23 --- /dev/null +++ b/tools/regression/test/test-cases/incremental/bjam.log.1 @@ -0,0 +1,38 @@ +locate-root "..\..\..\bin.v2" +C:\Users\Misha\Stuff\boost\HEAD\boost\tools\regression\test>C:\Users\Misha\Stuff\boost\HEAD\bin\..\boost\tools\jam\src\bin.ntx86\bjam.exe --dump-tests --v2 msvc-7.1 "-sBOOST_BUILD_PATH=C:\Users\Misha\Stuff\boost\HEAD\bin\.." "-sBOOST_ROOT="C:\Users\Misha\Stuff\boost\HEAD\bin\..\boost" + +boost-test(RUN) "testlib/run~pass" : "tools/regression/test/run~pass.cpp" + +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi +compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi\run~pass.obj +run~pass.cpp + + call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul +cl /Zm800 -nologo @"..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi\run~pass.obj.rsp" + +...failed compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi\run~pass.obj... + +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass2.test +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1 +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static +MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi +compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi\run~pass2.obj +run~pass2.cpp + +msvc.link ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi\run~pass2.exe + + call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul +link /NOLOGO /INCREMENTAL:NO /DEBUG /subsystem:console /out:"..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi\run~pass2.exe" @"..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi\run~pass2.exe.rsp" + if errorlevel 1 exit %errorlevel% + if exist "..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi\run~pass2.exe.manifest" ( + mt -nologo -manifest "..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi\run~pass2.exe.manifest" "-outputresource:..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi\run~pass2.exe;1" + ) + +...failed msvc.link ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi\run~pass2.exe... +...removing ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi\run~pass2.exe + + +...failed updating 9 targets... +...skipped 17 targets... +...updated 131 targets... diff --git a/tools/regression/test/test-cases/incremental/expected/results.xml b/tools/regression/test/test-cases/incremental/expected/results.xml new file mode 100644 index 0000000000..0580bd588f --- /dev/null +++ b/tools/regression/test/test-cases/incremental/expected/results.xml @@ -0,0 +1,9 @@ +<test-log library="" test-name="run~pass" test-type="" test-program="" target-directory="tools/regression/test/run~pass.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false"> +<compile result="fail" timestamp="xxx"> +run~pass.cpp + + call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul +cl /Zm800 -nologo @"C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\incremental\actual\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi\run~pass.obj.rsp" + +</compile> +</test-log> diff --git a/tools/regression/test/test-cases/libs/bjam.log b/tools/regression/test/test-cases/libs/bjam.log new file mode 100644 index 0000000000..41c903dcd4 --- /dev/null +++ b/tools/regression/test/test-cases/libs/bjam.log @@ -0,0 +1,2338 @@ +locate-root "/b/r/rc/results/boost/bin.v2" +boost-test(COMPILE_FAIL) "test_thread_fail2" : "libs/config/test/threads/test_thread_fail2.cpp" +boost-test(COMPILE_FAIL) "test_thread_fail1" : "libs/config/test/threads/test_thread_fail1.cpp" +boost-test(RUN) "config_link_test" : "libs/config/test/link/main.cpp" +boost-test(RUN) "limits_test" : "libs/config/test/limits_test.cpp" +boost-test(RUN) "abi_test" : "libs/config/test/abi/abi_test.cpp" "libs/config/test/abi/main.cpp" +boost-test(RUN) "math_info" ["always_show_run_output"] : "libs/config/test/math_info.cpp" +boost-test(RUN) "config_info" ["always_show_run_output"] : "libs/config/test/config_info.cpp" +boost-test(RUN) "config_test" : "libs/config/test/config_test.cpp" +boost-test(RUN) "array5" : "libs/array/array5.cpp" +boost-test(RUN) "array4" : "libs/array/array4.cpp" +boost-test(RUN) "array3" : "libs/array/array3.cpp" +boost-test(RUN) "array2" : "libs/array/array2.cpp" +boost-test(RUN) "array1" : "libs/array/array1.cpp" +boost-test(RUN) "array0" : "libs/array/array0.cpp" +boost-test(RUN) "crc_test" : "libs/crc/crc_test.cpp" +boost-test(RUN) "disjoint_set_test" : "libs/disjoint_sets/disjoint_set_test.cpp" +boost-test(RUN) "function_test" : "libs/functional/function_test.cpp" +boost-test(RUN) "integer_traits_test" : "libs/integer/integer_traits_test.cpp" +boost-test(RUN) "integer_test" : "libs/integer/integer_test.cpp" +boost-test(RUN) "cstdint_test" : "libs/integer/cstdint_test.cpp" +boost-test(RUN) "switch_construct" : "libs/lambda/test/switch_construct.cpp" +boost-test(RUN) "phoenix_control_structures" : "libs/lambda/test/phoenix_control_structures.cpp" +boost-test(RUN) "operator_tests_simple" : "libs/lambda/test/operator_tests_simple.cpp" +boost-test(RUN) "member_pointer_test" : "libs/lambda/test/member_pointer_test.cpp" +boost-test(RUN) "is_instance_of_test" : "libs/lambda/test/is_instance_of_test.cpp" +boost-test(RUN) "extending_rt_traits" : "libs/lambda/test/extending_rt_traits.cpp" +boost-test(RUN) "exception_test" : "libs/lambda/test/exception_test.cpp" +boost-test(RUN) "control_structures" : "libs/lambda/test/control_structures.cpp" +boost-test(RUN) "constructor_tests" : "libs/lambda/test/constructor_tests.cpp" +boost-test(RUN) "lambda_cast_test" : "libs/lambda/test/cast_test.cpp" +boost-test(RUN) "bll_and_function" : "libs/lambda/test/bll_and_function.cpp" +boost-test(RUN) "bind_tests_simple_f_refs" : "libs/lambda/test/bind_tests_simple_f_refs.cpp" +boost-test(RUN) "bind_tests_advanced" : "libs/lambda/test/bind_tests_advanced.cpp" +boost-test(RUN) "bind_tests_simple" : "libs/lambda/test/bind_tests_simple.cpp" +boost-test(RUN) "algorithm_test" : "libs/lambda/test/algorithm_test.cpp" +boost-test(RUN) "test_pool_alloc" : "libs/pool/test/test_pool_alloc.cpp" +boost-test(COMPILE) "tuple" : "libs/preprocessor/test/tuple.cpp" +boost-test(COMPILE) "slot" : "libs/preprocessor/test/slot.cpp" +boost-test(COMPILE) "seq" : "libs/preprocessor/test/seq.cpp" +boost-test(COMPILE) "selection" : "libs/preprocessor/test/selection.cpp" +boost-test(COMPILE) "repetition" : "libs/preprocessor/test/repetition.cpp" +boost-test(COMPILE) "logical" : "libs/preprocessor/test/logical.cpp" +boost-test(COMPILE) "list" : "libs/preprocessor/test/list.cpp" +boost-test(COMPILE) "iteration" : "libs/preprocessor/test/iteration.cpp" +boost-test(COMPILE) "facilities" : "libs/preprocessor/test/facilities.cpp" +boost-test(COMPILE) "debug" : "libs/preprocessor/test/debug.cpp" +boost-test(COMPILE) "control" : "libs/preprocessor/test/control.cpp" +boost-test(COMPILE) "comparison" : "libs/preprocessor/test/comparison.cpp" +boost-test(COMPILE) "array" : "libs/preprocessor/test/array.cpp" +boost-test(COMPILE) "arithmetic" : "libs/preprocessor/test/arithmetic.cpp" +boost-test(RUN) "rational_test" : "libs/rational/rational_test.cpp" +boost-test(RUN) "rational_example" : "libs/rational/rational_example.cpp" +boost-test(COMPILE) "timer_test" : "libs/timer/timer_test.cpp" +boost-test(RUN) "simple_example_5" : "libs/tokenizer/simple_example_5.cpp" +boost-test(RUN) "simple_example_4" : "libs/tokenizer/simple_example_4.cpp" +boost-test(RUN) "simple_example_3" : "libs/tokenizer/simple_example_3.cpp" +boost-test(RUN) "simple_example_2" : "libs/tokenizer/simple_example_2.cpp" +boost-test(RUN) "simple_example_1" : "libs/tokenizer/simple_example_1.cpp" +boost-test(RUN) "examples" : "libs/tokenizer/examples.cpp" +boost-test(RUN) "io_test" : "libs/tuple/test/io_test.cpp" +boost-test(RUN) "tuple_test_bench" : "libs/tuple/test/tuple_test_bench.cpp" +boost-test(RUN) "algorithm/minmax/minmax" : "libs/algorithm/minmax/test/minmax_test.cpp" +boost-test(RUN) "algorithm/minmax/minmax_element" : "libs/algorithm/minmax/test/minmax_element_test.cpp" +boost-test(RUN) "algorithm/string/regex" : "libs/algorithm/string/test/regex_test.cpp" +boost-test(RUN) "algorithm/string/replace" : "libs/algorithm/string/test/replace_test.cpp" +boost-test(RUN) "algorithm/string/join" : "libs/algorithm/string/test/join_test.cpp" +boost-test(RUN) "algorithm/string/split" : "libs/algorithm/string/test/split_test.cpp" +boost-test(RUN) "algorithm/string/find" : "libs/algorithm/string/test/find_test.cpp" +boost-test(RUN) "algorithm/string/predicate" : "libs/algorithm/string/test/predicate_test.cpp" +boost-test(RUN) "algorithm/string/conv" : "libs/algorithm/string/test/conv_test.cpp" +boost-test(RUN) "algorithm/string/trim" : "libs/algorithm/string/test/trim_test.cpp" +boost-test(RUN) "assign/multi_index_container" : "libs/assign/test/multi_index_container.cpp" +boost-test(RUN) "assign/my_vector_example" : "libs/assign/test/my_vector_example.cpp" +boost-test(RUN) "assign/email_example" : "libs/assign/test/email_example.cpp" +boost-test(RUN) "assign/list_of_workaround" : "libs/assign/test/list_of_workaround.cpp" +boost-test(RUN) "assign/ptr_map_inserter" : "libs/assign/test/ptr_map_inserter.cpp" +boost-test(RUN) "assign/ptr_list_inserter" : "libs/assign/test/ptr_list_inserter.cpp" +boost-test(RUN) "assign/list_inserter" : "libs/assign/test/list_inserter.cpp" +boost-test(RUN) "assign/tuple_list_of" : "libs/assign/test/tuple_list_of.cpp" +boost-test(RUN) "assign/static_list_of" : "libs/assign/test/static_list_of.cpp" +boost-test(RUN) "assign/ptr_list_of" : "libs/assign/test/ptr_list_of.cpp" +boost-test(RUN) "assign/list_of" : "libs/assign/test/list_of.cpp" +boost-test(RUN) "assign/std" : "libs/assign/test/std.cpp" +boost-test(RUN) "assign/basic" : "libs/assign/test/basic.cpp" +boost-test(RUN) "any/any_to_ref_test" : "libs/any/test/any_to_ref_test.cpp" +boost-test(RUN) "any/any_test" : "libs/any/any_test.cpp" +boost-test(RUN) "bind/mem_fn_rv_test" : "libs/bind/test/mem_fn_rv_test.cpp" +boost-test(RUN) "bind/mem_fn_dm_test" : "libs/bind/test/mem_fn_dm_test.cpp" +boost-test(RUN) "bind/mem_fn_eq_test" : "libs/bind/test/mem_fn_eq_test.cpp" +boost-test(RUN) "bind/mem_fn_derived_test" : "libs/bind/test/mem_fn_derived_test.cpp" +boost-test(RUN) "bind/mem_fn_void_test" : "libs/bind/test/mem_fn_void_test.cpp" +boost-test(RUN) "bind/mem_fn_test" : "libs/bind/test/mem_fn_test.cpp" +boost-test(RUN) "bind/bind_visit_test" : "libs/bind/test/bind_visit_test.cpp" +boost-test(RUN) "bind/bind_dm3_test" : "libs/bind/test/bind_dm3_test.cpp" +boost-test(COMPILE) "bind/bind_unary_addr" : "libs/bind/test/bind_unary_addr.cpp" +boost-test(RUN) "bind/bind_rv_sp_test" : "libs/bind/test/bind_rv_sp_test.cpp" +boost-test(RUN) "bind/bind_lookup_problem_test" : "libs/bind/test/bind_lookup_problem_test.cpp" +boost-test(RUN) "bind/bind_function_test" : "libs/bind/test/bind_function_test.cpp" +boost-test(RUN) "bind/bind_rel_test" : "libs/bind/test/bind_rel_test.cpp" +boost-test(RUN) "bind/bind_not_test" : "libs/bind/test/bind_not_test.cpp" +boost-test(RUN) "bind/bind_dm2_test" : "libs/bind/test/bind_dm2_test.cpp" +boost-test(RUN) "bind/bind_stateful_test" : "libs/bind/test/bind_stateful_test.cpp" +boost-test(RUN) "bind/bind_cv_test" : "libs/bind/test/bind_cv_test.cpp" +boost-test(RUN) "bind/bind_const_test" : "libs/bind/test/bind_const_test.cpp" +boost-test(RUN) "bind/bind_eq_test" : "libs/bind/test/bind_eq_test.cpp" +boost-test(RUN) "bind/bind_dm_test" : "libs/bind/test/bind_dm_test.cpp" +boost-test(RUN) "bind/bind_test" : "libs/bind/test/bind_test.cpp" +boost-test(COMPILE_FAIL) "concept_check/class_concept_fail_expected" : "libs/concept_check/class_concept_fail_expected.cpp" +boost-test(COMPILE_FAIL) "concept_check/concept_check_fail_expected" : "libs/concept_check/concept_check_fail_expected.cpp" +boost-test(RUN) "concept_check/class_concept_check_test" : "libs/concept_check/class_concept_check_test.cpp" +boost-test(RUN) "concept_check/concept_check_test" : "libs/concept_check/concept_check_test.cpp" +boost-test(RUN) "concept_check/stl_concept_covering" : "libs/concept_check/stl_concept_covering.cpp" +boost-test(RUN) "conversion/lexical_cast_test" : "libs/conversion/lexical_cast_test.cpp" +boost-test(RUN) "conversion/numeric_cast_test" : "libs/conversion/numeric_cast_test.cpp" +boost-test(RUN) "conversion/cast_test" : "libs/conversion/cast_test.cpp" +boost-test(COMPILE_FAIL) "conversion/implicit_cast_fail" : "libs/conversion/test/implicit_cast_fail.cpp" +boost-test(RUN) "conversion/implicit_cast" : "libs/conversion/test/implicit_cast.cpp" +boost-test(RUN) "date_time/testgeneric_period" : "libs/date_time/test/testgeneric_period.cpp" +boost-test(RUN) "date_time/testgregorian_calendar" : "libs/date_time/test/testgregorian_calendar.cpp" +boost-test(RUN) "date_time/testconstrained_value" : "libs/date_time/test/testconstrained_value.cpp" +boost-test(RUN) "date_time/testwrapping_int" : "libs/date_time/test/testwrapping_int.cpp" +boost-test(RUN) "date_time/testtime_resolution_traits" : "libs/date_time/test/testtime_resolution_traits.cpp" +boost-test(RUN) "date_time/testint_adapter" : "libs/date_time/test/testint_adapter.cpp" +boost-test(RUN) "date_time/testgreg_year" : "libs/date_time/test/gregorian/testgreg_year.cpp" +boost-test(RUN) "date_time/testgreg_month" : "libs/date_time/test/gregorian/testgreg_month.cpp" +boost-test(RUN) "date_time/testgreg_day" : "libs/date_time/test/gregorian/testgreg_day.cpp" +boost-test(RUN) "date_time/testgreg_cal" : "libs/date_time/test/gregorian/testgreg_cal.cpp" +boost-test(RUN) "date_time/testgenerators" : "libs/date_time/test/gregorian/testgenerators.cpp" +boost-test(RUN) "date_time/testdate_input_facet" : "libs/date_time/test/gregorian/testdate_input_facet.cpp" +boost-test(RUN) "date_time/testdate_facet_new" : "libs/date_time/test/gregorian/testdate_facet_new.cpp" +boost-test(RUN) "date_time/testformatters" : "libs/date_time/test/gregorian/testformatters.cpp" +boost-test(RUN) "date_time/testdate_iterator" : "libs/date_time/test/gregorian/testdate_iterator.cpp" +boost-test(RUN) "date_time/testperiod" : "libs/date_time/test/gregorian/testperiod.cpp" +boost-test(RUN) "date_time/testgreg_durations" : "libs/date_time/test/gregorian/testgreg_durations.cpp" +boost-test(RUN) "date_time/testdate_duration" : "libs/date_time/test/gregorian/testdate_duration.cpp" +boost-test(RUN) "date_time/testdate" : "libs/date_time/test/gregorian/testdate.cpp" +boost-test(RUN) "date_time/testgreg_durations_dll" : "libs/date_time/test/gregorian/testgreg_durations.cpp" +boost-test(RUN) "date_time/testgreg_year_dll" : "libs/date_time/test/gregorian/testgreg_year.cpp" +boost-test(RUN) "date_time/testgreg_month_dll" : "libs/date_time/test/gregorian/testgreg_month.cpp" +boost-test(RUN) "date_time/testgreg_day_dll" : "libs/date_time/test/gregorian/testgreg_day.cpp" +boost-test(RUN) "date_time/testgreg_cal_dll" : "libs/date_time/test/gregorian/testgreg_cal.cpp" +boost-test(RUN) "date_time/testgenerators_dll" : "libs/date_time/test/gregorian/testgenerators.cpp" +boost-test(RUN) "date_time/testdate_input_facet_dll" : "libs/date_time/test/gregorian/testdate_input_facet.cpp" +boost-test(RUN) "date_time/testdate_facet_new_dll" : "libs/date_time/test/gregorian/testdate_facet_new.cpp" +boost-test(RUN) "date_time/testformatters_dll" : "libs/date_time/test/gregorian/testformatters.cpp" +boost-test(RUN) "date_time/testdate_iterator_dll" : "libs/date_time/test/gregorian/testdate_iterator.cpp" +boost-test(RUN) "date_time/testperiod_dll" : "libs/date_time/test/gregorian/testperiod.cpp" +boost-test(RUN) "date_time/testdate_duration_dll" : "libs/date_time/test/gregorian/testdate_duration.cpp" +boost-test(RUN) "date_time/testdate_dll" : "libs/date_time/test/gregorian/testdate.cpp" +boost-test(RUN) "date_time/testtime_input_facet" : "libs/date_time/test/posix_time/testtime_input_facet.cpp" +boost-test(RUN) "date_time/testtime_facet" : "libs/date_time/test/posix_time/testtime_facet.cpp" +boost-test(RUN) "date_time/testgreg_duration_operators" : "libs/date_time/test/posix_time/testgreg_duration_operators.cpp" +boost-test(RUN) "date_time/testtime_formatters" : "libs/date_time/test/posix_time/testtime_formatters.cpp" +boost-test(RUN) "date_time/testmicrosec_time_clock" : "libs/date_time/test/posix_time/testmicrosec_time_clock.cpp" +boost-test(RUN) "date_time/testtime" : "libs/date_time/test/posix_time/testtime.cpp" +boost-test(RUN) "date_time/testtime_period" : "libs/date_time/test/posix_time/testtime_period.cpp" +boost-test(RUN) "date_time/testparse_time" : "libs/date_time/test/posix_time/testparse_time.cpp" +boost-test(RUN) "date_time/testiterator" : "libs/date_time/test/posix_time/testiterator.cpp" +boost-test(RUN) "date_time/testduration" : "libs/date_time/test/posix_time/testduration.cpp" +boost-test(RUN) "date_time/testdst_rules" : "libs/date_time/test/posix_time/testdst_rules.cpp" +boost-test(RUN) "date_time/testclock" : "libs/date_time/test/posix_time/testclock.cpp" +boost-test(RUN) "date_time/testc_local_adjustor" : "libs/date_time/test/posix_time/testc_local_adjustor.cpp" +boost-test(RUN) "date_time/testlocal_adjustor" : "libs/date_time/test/posix_time/testlocal_adjustor.cpp" +boost-test(RUN) "date_time/testfiletime_functions" : "libs/date_time/test/posix_time/testfiletime_functions.cpp" +boost-test(RUN) "date_time/testtime_wstream" : "libs/date_time/test/posix_time/testtime_wstream.cpp" +boost-test(RUN) "date_time/testgreg_wstream" : "libs/date_time/test/gregorian/testgreg_wstream.cpp" +boost-test(RUN) "date_time/teststreams" : "libs/date_time/test/posix_time/teststreams.cpp" +boost-test(RUN) "date_time/testparse_date" : "libs/date_time/test/gregorian/testparse_date.cpp" +boost-test(RUN) "date_time/testfacet" : "libs/date_time/test/gregorian/testfacet.cpp" +boost-test(RUN) "date_time/testfacet_dll" : "libs/date_time/test/gregorian/testfacet.cpp" +boost-test(RUN) "date_time/testclocks" : "libs/date_time/test/local_time/testclocks.cpp" +boost-test(RUN) "date_time/testlocal_time_input_facet" : "libs/date_time/test/local_time/testlocal_time_input_facet.cpp" +boost-test(RUN) "date_time/testlocal_time_facet" : "libs/date_time/test/local_time/testlocal_time_facet.cpp" +boost-test(RUN) "date_time/testlocal_time_period" : "libs/date_time/test/local_time/testlocal_time_period.cpp" +boost-test(RUN) "date_time/testlocal_time_iterator" : "libs/date_time/test/local_time/testlocal_time_iterator.cpp" +boost-test(RUN) "date_time/testlocal_time" : "libs/date_time/test/local_time/testlocal_time.cpp" +boost-test(RUN) "date_time/testtz_database" : "libs/date_time/test/local_time/testtz_database.cpp" +boost-test(RUN) "date_time/testwposix_time_zone" : "libs/date_time/test/local_time/testwposix_time_zone.cpp" +boost-test(RUN) "date_time/testwcustom_time_zone" : "libs/date_time/test/local_time/testwcustom_time_zone.cpp" +boost-test(RUN) "date_time/testposix_time_zone" : "libs/date_time/test/local_time/testposix_time_zone.cpp" +boost-test(RUN) "date_time/testcustom_time_zone" : "libs/date_time/test/local_time/testcustom_time_zone.cpp" +boost-test(RUN) "date_time/testdst_transition_day_rule" : "libs/date_time/test/local_time/testdst_transition_day_rule.cpp" +boost-test(RUN) "date_time/testtime_serialize" : "libs/date_time/test/posix_time/testtime_serialize.cpp" +boost-test(RUN) "date_time/testtime_serialize_std_config" : "libs/date_time/test/posix_time/testtime_serialize.cpp" +boost-test(RUN) "date_time/testgreg_serialize_dll" : "libs/date_time/test/gregorian/testgreg_serialize.cpp" +boost-test(RUN) "date_time/testgreg_serialize" : "libs/date_time/test/gregorian/testgreg_serialize.cpp" +boost-test(RUN) "date_time/testtime_serialize_xml" : "libs/date_time/test/posix_time/testtime_serialize.cpp" +boost-test(RUN) "date_time/testtime_serialize_xml_std_config" : "libs/date_time/test/posix_time/testtime_serialize.cpp" +boost-test(RUN) "date_time/testgreg_serialize_xml" : "libs/date_time/test/gregorian/testgreg_serialize.cpp" +boost-test(RUN) "dynamic_bitset/dyn_bitset_unit_tests4" : "libs/dynamic_bitset/dyn_bitset_unit_tests4.cpp" +boost-test(RUN) "dynamic_bitset/dyn_bitset_unit_tests3" : "libs/dynamic_bitset/dyn_bitset_unit_tests3.cpp" +boost-test(RUN) "dynamic_bitset/dyn_bitset_unit_tests2" : "libs/dynamic_bitset/dyn_bitset_unit_tests2.cpp" +boost-test(RUN) "dynamic_bitset/dyn_bitset_unit_tests1" : "libs/dynamic_bitset/dyn_bitset_unit_tests1.cpp" +boost-test(COMPILE) "filesystem/simple_ls" : "libs/filesystem/example/simple_ls.cpp" +boost-test(COMPILE) "filesystem/mbpath" : "libs/filesystem/example/mbpath.cpp" +boost-test(COMPILE) "filesystem/mbcopy" : "libs/filesystem/example/mbcopy.cpp" +boost-test(RUN) "filesystem/wide_test" : "libs/filesystem/test/wide_test.cpp" +boost-test(RUN) "filesystem/large_file_support_test" : "libs/filesystem/test/large_file_support_test.cpp" +boost-test(RUN) "filesystem/convenience_test" : "libs/filesystem/test/convenience_test.cpp" +boost-test(RUN) "filesystem/fstream_test" : "libs/filesystem/test/fstream_test.cpp" +boost-test(RUN) "filesystem/operations_test_dll" : "libs/filesystem/test/operations_test.cpp" +boost-test(RUN) "filesystem/operations_test" : "libs/filesystem/test/operations_test.cpp" +boost-test(RUN) "filesystem/path_test_dll" : "libs/filesystem/test/path_test.cpp" +boost-test(RUN) "filesystem/path_test" : "libs/filesystem/test/path_test.cpp" +boost-test(COMPILE) "foreach/noncopyable" : "libs/foreach/test/noncopyable.cpp" +boost-test(RUN) "foreach/dependent_type" : "libs/foreach/test/dependent_type.cpp" +boost-test(RUN) "foreach/rvalue_nonconst" : "libs/foreach/test/rvalue_nonconst.cpp" +boost-test(RUN) "foreach/rvalue_const" : "libs/foreach/test/rvalue_const.cpp" +boost-test(RUN) "foreach/call_once" : "libs/foreach/test/call_once.cpp" +boost-test(RUN) "foreach/user_defined" : "libs/foreach/test/user_defined.cpp" +boost-test(RUN) "foreach/pair_byref" : "libs/foreach/test/pair_byref.cpp" +boost-test(RUN) "foreach/pair_byval" : "libs/foreach/test/pair_byval.cpp" +boost-test(RUN) "foreach/cstr_byref" : "libs/foreach/test/cstr_byref.cpp" +boost-test(RUN) "foreach/cstr_byval" : "libs/foreach/test/cstr_byval.cpp" +boost-test(RUN) "foreach/array_byref" : "libs/foreach/test/array_byref.cpp" +boost-test(RUN) "foreach/array_byval" : "libs/foreach/test/array_byval.cpp" +boost-test(RUN) "foreach/stl_byref" : "libs/foreach/test/stl_byref.cpp" +boost-test(RUN) "foreach/stl_byval" : "libs/foreach/test/stl_byval.cpp" +boost-test(RUN) "format/format_test_wstring" : "libs/format/test/format_test_wstring.cpp" +boost-test(RUN) "format/format_test3" : "libs/format/test/format_test3.cpp" +boost-test(RUN) "format/format_test2" : "libs/format/test/format_test2.cpp" +boost-test(RUN) "format/format_test1" : "libs/format/test/format_test1.cpp" +boost-test(RUN) "function/contains2_test" : "libs/function/test/contains2_test.cpp" +boost-test(RUN) "function/contains_test" : "libs/function/test/contains_test.cpp" +boost-test(RUN) "function/function_ref_portable" : "libs/function/test/function_ref_portable.cpp" +boost-test(RUN) "function/function_ref_cxx98" : "libs/function/test/function_ref_cxx98.cpp" +boost-test(RUN) "function/std_bind_portable" : "libs/function/test/std_bind_portable.cpp" +boost-test(RUN) "function/std_bind_cxx98" : "libs/function/test/std_bind_cxx98.cpp" +boost-test(RUN) "function/mem_fun_portable" : "libs/function/test/mem_fun_portable.cpp" +boost-test(RUN) "function/mem_fun_cxx98" : "libs/function/test/mem_fun_cxx98.cpp" +boost-test(RUN) "function/sum_avg_portable" : "libs/function/test/sum_avg_portable.cpp" +boost-test(RUN) "function/sum_avg_cxx98" : "libs/function/test/sum_avg_cxx98.cpp" +boost-test(RUN) "function/function_arith_portable" : "libs/function/test/function_arith_portable.cpp" +boost-test(RUN) "function/function_arith_cxx98" : "libs/function/test/function_arith_cxx98.cpp" +boost-test(COMPILE) "function/function_30" : "libs/function/test/function_30.cpp" +boost-test(COMPILE_FAIL) "function/function_test_fail2" : "libs/function/test/function_test_fail2.cpp" +boost-test(COMPILE_FAIL) "function/function_test_fail1" : "libs/function/test/function_test_fail1.cpp" +boost-test(RUN) "function/lambda_test" : "libs/function/test/lambda_test.cpp" +boost-test(RUN) "function/stateless_test" : "libs/function/test/stateless_test.cpp" +boost-test(RUN) "function/allocator_test" : "libs/function/test/allocator_test.cpp" +boost-test(RUN) "function/function_n_test" : "libs/function/test/function_n_test.cpp" +boost-test(RUN) "function/lib_function_test" : "libs/function/test/function_test.cpp" +boost-test(RUN) "functional/hash/hash_no_ext_macro_2" : "libs/functional/hash/test/hash_no_ext_macro_2.cpp" +boost-test(RUN) "functional/hash/hash_no_ext_macro_1" : "libs/functional/hash/test/hash_no_ext_macro_1.cpp" +boost-test(COMPILE_FAIL) "functional/hash/hash_no_ext_fail_test" : "libs/functional/hash/test/hash_no_ext_fail_test.cpp" +boost-test(RUN) "functional/hash/container_fwd_test" : "libs/functional/hash/test/container_fwd_test.cpp" +boost-test(RUN) "functional/hash/link_ext_test" : "libs/functional/hash/test/link_ext_test.cpp" "libs/functional/hash/test/link_no_ext_test.cpp" +boost-test(RUN) "functional/hash/link_test" : "libs/functional/hash/test/link_test.cpp" "libs/functional/hash/test/link_test_2.cpp" +boost-test(RUN) "functional/hash/hash_map_test" : "libs/functional/hash/test/hash_map_test.cpp" +boost-test(RUN) "functional/hash/hash_set_test" : "libs/functional/hash/test/hash_set_test.cpp" +boost-test(RUN) "functional/hash/hash_deque_test" : "libs/functional/hash/test/hash_deque_test.cpp" +boost-test(RUN) "functional/hash/hash_list_test" : "libs/functional/hash/test/hash_list_test.cpp" +boost-test(RUN) "functional/hash/hash_vector_test" : "libs/functional/hash/test/hash_vector_test.cpp" +boost-test(RUN) "functional/hash/hash_value_array_test" : "libs/functional/hash/test/hash_value_array_test.cpp" +boost-test(RUN) "functional/hash/hash_built_in_array_test" : "libs/functional/hash/test/hash_built_in_array_test.cpp" +boost-test(RUN) "functional/hash/hash_friend_test" : "libs/functional/hash/test/hash_friend_test.cpp" +boost-test(RUN) "functional/hash/hash_global_namespace_test" : "libs/functional/hash/test/hash_global_namespace_test.cpp" +boost-test(RUN) "functional/hash/hash_custom_test" : "libs/functional/hash/test/hash_custom_test.cpp" +boost-test(RUN) "functional/hash/hash_range_test" : "libs/functional/hash/test/hash_range_test.cpp" +boost-test(RUN) "functional/hash/hash_string_test" : "libs/functional/hash/test/hash_string_test.cpp" +boost-test(RUN) "functional/hash/hash_float_test" ["always_show_run_output"] : "libs/functional/hash/test/hash_float_test.cpp" +boost-test(RUN) "functional/hash/hash_function_pointer_test" : "libs/functional/hash/test/hash_function_pointer_test.cpp" +boost-test(RUN) "functional/hash/hash_pointer_test" : "libs/functional/hash/test/hash_pointer_test.cpp" +boost-test(RUN) "functional/hash/hash_number_test" : "libs/functional/hash/test/hash_number_test.cpp" +boost-test(RUN) "functional/hash/hash_fwd_test_2" : "libs/functional/hash/test/hash_fwd_test_2.cpp" +boost-test(RUN) "functional/hash/hash_fwd_test_1" : "libs/functional/hash/test/hash_fwd_test_1.cpp" +boost-test(RUN) "graph/matching_test" : "libs/graph/test/matching_test.cpp" +boost-test(RUN) "graph/king_ordering" : "libs/graph/test/king_ordering.cpp" +boost-test(RUN) "graph/cuthill_mckee_ordering" : "libs/graph/test/cuthill_mckee_ordering.cpp" +boost-test(RUN) "graph/biconnected_components_test" : "libs/graph/test/biconnected_components_test.cpp" +boost-test(RUN) "graph/astar_search_test" : "libs/graph/test/astar_search_test.cpp" +boost-test(RUN) "graph/floyd_warshall_test" : "libs/graph/test/floyd_warshall_test.cpp" +boost-test(RUN) "graph/bundled_properties" : "libs/graph/test/bundled_properties.cpp" +boost-test(COMPILE) "graph/property_iter" : "libs/graph/test/property_iter.cpp" +boost-test(COMPILE) "graph/copy" : "libs/graph/test/copy.cpp" +boost-test(COMPILE) "graph/vector_graph_cc" : "libs/graph/test/vector_graph_cc.cpp" +boost-test(RUN) "graph/adjacency_matrix_test" : "libs/graph/test/adjacency_matrix_test.cpp" +boost-test(RUN) "graph/isomorphism" : "libs/graph/test/isomorphism.cpp" +boost-test(RUN) "graph/subgraph" : "libs/graph/test/subgraph.cpp" +boost-test(RUN) "graph/sequential_vertex_coloring" : "libs/graph/test/sequential_vertex_coloring.cpp" +boost-test(COMPILE) "graph/reverse_graph_cc" : "libs/graph/test/reverse_graph_cc.cpp" +boost-test(RUN) "graph/serialize" : "libs/graph/test/serialize.cpp" +boost-test(RUN) "graph/layout_test" ["always_show_run_output"] : "libs/graph/test/layout_test.cpp" +boost-test(RUN) "graph/gursoy_atun_layout_test" : "libs/graph/test/gursoy_atun_layout_test.cpp" +boost-test(RUN) "graph/graphviz_test" : "libs/graph/test/graphviz_test.cpp" +boost-test(COMPILE) "graph/graph_concepts" : "libs/graph/test/graph_concepts.cpp" +boost-test(RUN) "graph/graph" : "libs/graph/test/graph.cpp" +boost-test(COMPILE) "graph/filtered_graph_cc" : "libs/graph/test/filtered_graph_cc.cpp" +boost-test(COMPILE) "graph/edge_list_cc" : "libs/graph/test/edge_list_cc.cpp" +boost-test(RUN) "graph/relaxed_heap_test" : "libs/graph/test/relaxed_heap_test.cpp" +boost-test(RUN) "graph/dominator_tree_test" : "libs/graph/test/dominator_tree_test.cpp" +boost-test(RUN) "graph/dijkstra_heap_performance" : "libs/graph/test/dijkstra_heap_performance.cpp" +boost-test(COMPILE) "graph/dijkstra_cc" : "libs/graph/test/dijkstra_cc.cpp" +boost-test(COMPILE) "graph/dfs_cc" : "libs/graph/test/dfs_cc.cpp" +boost-test(RUN) "graph/dfs" : "libs/graph/test/dfs.cpp" +boost-test(RUN) "graph/dag_longest_paths" : "libs/graph/test/dag_longest_paths.cpp" +boost-test(RUN) "graph/csr_graph_test" : "libs/graph/test/csr_graph_test.cpp" +boost-test(RUN) "graph/bidir_remove_edge" : "libs/graph/test/bidir_remove_edge.cpp" +boost-test(RUN) "graph/betweenness_centrality_test" : "libs/graph/test/betweenness_centrality_test.cpp" +boost-test(RUN) "graph/bellman-test" : "libs/graph/test/bellman-test.cpp" +boost-test(COMPILE) "graph/bfs_cc" : "libs/graph/test/bfs_cc.cpp" +boost-test(RUN) "graph/bfs" : "libs/graph/test/bfs.cpp" +boost-test(COMPILE) "graph/adj_matrix_cc" : "libs/graph/test/adj_matrix_cc.cpp" +boost-test(RUN) "graph/adj_list_edge_list_set" : "libs/graph/test/adj_list_edge_list_set.cpp" +boost-test(COMPILE) "graph/adj_list_cc" : "libs/graph/test/adj_list_cc.cpp" +boost-test(RUN) "graph/transitive_closure_test" : "libs/graph/test/transitive_closure_test.cpp" +boost-test(RUN) "io/ios_state_test" : "libs/io/test/ios_state_test.cpp" +boost-test(RUN) "io/ios_state_unit_test" : "libs/io/test/ios_state_unit_test.cpp" +boost-test(RUN) "iostreams/wide_stream_test" : "libs/iostreams/test/wide_stream_test.cpp" +boost-test(RUN) "iostreams/tee_test" : "libs/iostreams/test/tee_test.cpp" +boost-test(RUN) "iostreams/symmetric_filter_test" : "libs/iostreams/test/symmetric_filter_test.cpp" +boost-test(RUN) "iostreams/stdio_filter_test" : "libs/iostreams/test/stdio_filter_test.cpp" +boost-test(RUN) "iostreams/seekable_filter_test" : "libs/iostreams/test/seekable_filter_test.cpp" +boost-test(RUN) "iostreams/seekable_file_test" : "libs/iostreams/test/seekable_file_test.cpp" +boost-test(RUN) "iostreams/restrict_test" : "libs/iostreams/test/restrict_test.cpp" +boost-test(RUN) "iostreams/regex_filter_test" : "libs/iostreams/test/regex_filter_test.cpp" +boost-test(RUN) "iostreams/positioning_test" : "libs/iostreams/test/positioning_test.cpp" +boost-test(RUN) "iostreams/pipeline_test" : "libs/iostreams/test/pipeline_test.cpp" +boost-test(RUN) "iostreams/null_test" : "libs/iostreams/test/null_test.cpp" +boost-test(RUN) "iostreams/newline_test" : "libs/iostreams/test/newline_test.cpp" +boost-test(RUN) "iostreams/mapped_file_test" : "libs/iostreams/test/mapped_file_test.cpp" "libs/iostreams/src/mapped_file.cpp" +boost-test(RUN) "iostreams/line_filter_test" : "libs/iostreams/test/line_filter_test.cpp" +boost-test(RUN) "iostreams/invert_test" : "libs/iostreams/test/invert_test.cpp" +boost-test(RUN) "iostreams/flush_test" : "libs/iostreams/test/flush_test.cpp" +boost-test(RUN) "iostreams/finite_state_filter_test" : "libs/iostreams/test/finite_state_filter_test.cpp" +boost-test(RUN) "iostreams/filtering_stream_test" : "libs/iostreams/test/filtering_stream_test.cpp" +boost-test(RUN) "iostreams/file_descriptor_test" : "libs/iostreams/test/file_descriptor_test.cpp" "libs/iostreams/src/file_descriptor.cpp" +boost-test(RUN) "iostreams/file_test" : "libs/iostreams/test/file_test.cpp" +boost-test(RUN) "iostreams/example_test" : "libs/iostreams/test/example_test.cpp" +boost-test(RUN) "iostreams/direct_adapter_test" : "libs/iostreams/test/direct_adapter_test.cpp" +boost-test(RUN) "iostreams/counter_test" : "libs/iostreams/test/counter_test.cpp" +boost-test(RUN) "iostreams/copy_test" : "libs/iostreams/test/copy_test.cpp" +boost-test(RUN) "iostreams/component_access_test" : "libs/iostreams/test/component_access_test.cpp" +boost-test(RUN) "iostreams/compose_test" : "libs/iostreams/test/compose_test.cpp" +boost-test(RUN) "iostreams/code_converter_test" : "libs/iostreams/test/code_converter_test.cpp" "libs/iostreams/test/detail/utf8_codecvt_facet.cpp" +boost-test(RUN) "iostreams/buffer_size_test" : "libs/iostreams/test/buffer_size_test.cpp" +boost-test(RUN) "iostreams/auto_close_test" : "libs/iostreams/test/auto_close_test.cpp" +boost-test(RUN) "iostreams/array_test" : "libs/iostreams/test/array_test.cpp" +boost-test(RUN) "iostreams/bzip2_test" : "libs/iostreams/test/bzip2_test.cpp" +boost-test(RUN) "iostreams/zlib_test" : "libs/iostreams/test/zlib_test.cpp" +boost-test(RUN) "iostreams/gzip_test" : "libs/iostreams/test/gzip_test.cpp" +boost-test(RUN) "iterator/permutation_iterator_test" : "libs/iterator/test/permutation_iterator_test.cpp" +boost-test(RUN) "iterator/iterator_traits_test" : "libs/iterator/test/iterator_traits_test.cpp" +boost-test(RUN) "iterator/interoperable" : "libs/iterator/test/interoperable.cpp" +boost-test(RUN) "iterator/counting_iterator_test" : "libs/iterator/test/counting_iterator_test.cpp" +boost-test(RUN) "iterator/reverse_iterator_test" : "libs/iterator/test/reverse_iterator_test.cpp" +boost-test(RUN) "iterator/iterator_facade" : "libs/iterator/test/iterator_facade.cpp" +boost-test(RUN) "iterator/filter_iterator_test" : "libs/iterator/test/filter_iterator_test.cpp" +boost-test(COMPILE) "iterator/indirect_iter_member_types" : "libs/iterator/test/indirect_iter_member_types.cpp" +boost-test(RUN) "iterator/indirect_iterator_test" : "libs/iterator/test/indirect_iterator_test.cpp" +boost-test(RUN) "iterator/transform_iterator_test" : "libs/iterator/test/transform_iterator_test.cpp" +boost-test(COMPILE_FAIL) "iterator/lvalue_concept_fail" : "libs/iterator/test/lvalue_concept_fail.cpp" +boost-test(COMPILE_FAIL) "iterator/iter_archetype_default_ctor" : "libs/iterator/test/iter_archetype_default_ctor.cpp" +boost-test(COMPILE) "iterator/iterator_archetype_cc" : "libs/iterator/test/iterator_archetype_cc.cpp" +boost-test(RUN) "iterator/iterator_adaptor_test" : "libs/iterator/test/iterator_adaptor_test.cpp" +boost-test(RUN) "iterator/iterator_adaptor_cc" : "libs/iterator/test/iterator_adaptor_cc.cpp" +boost-test(RUN) "iterator/concept_tests" : "libs/iterator/test/concept_tests.cpp" +boost-test(RUN) "iterator/unit_tests" : "libs/iterator/test/unit_tests.cpp" +boost-test(COMPILE) "iterator/pointee" : "libs/iterator/test/pointee.cpp" +boost-test(COMPILE) "iterator/is_readable_iterator" : "libs/iterator/test/is_readable_iterator.cpp" +boost-test(COMPILE) "iterator/is_lvalue_iterator" : "libs/iterator/test/is_lvalue_iterator.cpp" +boost-test(RUN) "iterator/zip_iterator_test" : "libs/iterator/test/zip_iterator_test.cpp" +boost-test(RUN) "iterator/is_convertible_fail" : "libs/iterator/test/is_convertible_fail.cpp" +boost-test(COMPILE_FAIL) "iterator/interoperable_fail" : "libs/iterator/test/interoperable_fail.cpp" +boost-test(RUN) "logic/tribool_io_test" : "libs/logic/test/tribool_io_test.cpp" +boost-test(RUN) "logic/tribool_rename_test" : "libs/logic/test/tribool_rename_test.cpp" +boost-test(RUN) "logic/tribool_test" : "libs/logic/test/tribool_test.cpp" +boost-test(RUN) "math/common_factor_test" : "libs/math/test/common_factor_test.cpp" +boost-test(RUN) "math/octonion_test" : "libs/math/octonion/octonion_test.cpp" +boost-test(RUN) "math/quaternion_test" : "libs/math/quaternion/quaternion_test.cpp" +boost-test(RUN) "math/special_functions_test" : "libs/math/special_functions/special_functions_test.cpp" +boost-test(RUN) "math/quaternion_mult_incl_test" : "libs/math/quaternion/quaternion_mult_incl_test.cpp" "libs/math/quaternion/quaternion_mi1.cpp" "libs/math/quaternion/quaternion_mi2.cpp" +boost-test(RUN) "math/complex_test" : "libs/math/test/complex_test.cpp" +boost-test(RUN) "math/hypot_test" : "libs/math/test/hypot_test.cpp" +boost-test(RUN) "math/log1p_expm1_test" : "libs/math/test/log1p_expm1_test.cpp" +boost-test(COMPILE) "mpl/largest_int" : "libs/mpl/test/aux_/largest_int.cpp" +boost-test(COMPILE) "mpl/msvc_is_class" : "libs/mpl/test/aux_/msvc_is_class.cpp" +boost-test(COMPILE) "mpl/template_arity" : "libs/mpl/test/aux_/template_arity.cpp" +boost-test(COMPILE) "mpl/advance" : "libs/mpl/test/advance.cpp" +boost-test(COMPILE) "mpl/always" : "libs/mpl/test/always.cpp" +boost-test(COMPILE) "mpl/apply" : "libs/mpl/test/apply.cpp" +boost-test(COMPILE) "mpl/apply_wrap" : "libs/mpl/test/apply_wrap.cpp" +boost-test(COMPILE) "mpl/arithmetic" : "libs/mpl/test/arithmetic.cpp" +boost-test(COMPILE) "mpl/as_sequence" : "libs/mpl/test/as_sequence.cpp" +boost-test(COMPILE) "mpl/assert" : "libs/mpl/test/assert.cpp" +boost-test(COMPILE) "mpl/at" : "libs/mpl/test/at.cpp" +boost-test(COMPILE) "mpl/back" : "libs/mpl/test/back.cpp" +boost-test(COMPILE) "mpl/bind" : "libs/mpl/test/bind.cpp" +boost-test(COMPILE) "mpl/bitwise" : "libs/mpl/test/bitwise.cpp" +boost-test(RUN) "mpl/bool" : "libs/mpl/test/bool.cpp" +boost-test(COMPILE) "mpl/comparison" : "libs/mpl/test/comparison.cpp" +boost-test(COMPILE) "mpl/contains" : "libs/mpl/test/contains.cpp" +boost-test(COMPILE) "mpl/copy" : "libs/mpl/test/copy.cpp" +boost-test(COMPILE) "mpl/copy_if" : "libs/mpl/test/copy_if.cpp" +boost-test(COMPILE) "mpl/count" : "libs/mpl/test/count.cpp" +boost-test(COMPILE) "mpl/count_if" : "libs/mpl/test/count_if.cpp" +boost-test(COMPILE) "mpl/deque" : "libs/mpl/test/deque.cpp" +boost-test(COMPILE) "mpl/distance" : "libs/mpl/test/distance.cpp" +boost-test(COMPILE) "mpl/empty" : "libs/mpl/test/empty.cpp" +boost-test(COMPILE) "mpl/equal" : "libs/mpl/test/equal.cpp" +boost-test(COMPILE) "mpl/erase" : "libs/mpl/test/erase.cpp" +boost-test(COMPILE) "mpl/erase_range" : "libs/mpl/test/erase_range.cpp" +boost-test(COMPILE) "mpl/eval_if" : "libs/mpl/test/eval_if.cpp" +boost-test(COMPILE) "mpl/filter_view" : "libs/mpl/test/filter_view.cpp" +boost-test(COMPILE) "mpl/find" : "libs/mpl/test/find.cpp" +boost-test(COMPILE) "mpl/find_if" : "libs/mpl/test/find_if.cpp" +boost-test(COMPILE) "mpl/fold" : "libs/mpl/test/fold.cpp" +boost-test(RUN) "mpl/for_each" : "libs/mpl/test/for_each.cpp" +boost-test(COMPILE) "mpl/front" : "libs/mpl/test/front.cpp" +boost-test(COMPILE) "mpl/has_xxx" : "libs/mpl/test/has_xxx.cpp" +boost-test(COMPILE) "mpl/identity" : "libs/mpl/test/identity.cpp" +boost-test(COMPILE) "mpl/if" : "libs/mpl/test/if.cpp" +boost-test(COMPILE) "mpl/index_of" : "libs/mpl/test/index_of.cpp" +boost-test(COMPILE) "mpl/inherit" : "libs/mpl/test/inherit.cpp" +boost-test(COMPILE) "mpl/insert" : "libs/mpl/test/insert.cpp" +boost-test(COMPILE) "mpl/insert_range" : "libs/mpl/test/insert_range.cpp" +boost-test(RUN) "mpl/int" : "libs/mpl/test/int.cpp" +boost-test(RUN) "mpl/integral_c" : "libs/mpl/test/integral_c.cpp" +boost-test(COMPILE) "mpl/is_placeholder" : "libs/mpl/test/is_placeholder.cpp" +boost-test(COMPILE) "mpl/is_sequence" : "libs/mpl/test/is_sequence.cpp" +boost-test(COMPILE) "mpl/iterator_tags" : "libs/mpl/test/iterator_tags.cpp" +boost-test(COMPILE) "mpl/joint_view" : "libs/mpl/test/joint_view.cpp" +boost-test(COMPILE) "mpl/lambda" : "libs/mpl/test/lambda.cpp" +boost-test(COMPILE) "mpl/lambda_args" : "libs/mpl/test/lambda_args.cpp" +boost-test(COMPILE) "mpl/list" : "libs/mpl/test/list.cpp" +boost-test(COMPILE) "mpl/list_c" : "libs/mpl/test/list_c.cpp" +boost-test(COMPILE) "mpl/logical" : "libs/mpl/test/logical.cpp" +boost-test(COMPILE) "mpl/lower_bound" : "libs/mpl/test/lower_bound.cpp" +boost-test(COMPILE) "mpl/map" : "libs/mpl/test/map.cpp" +boost-test(COMPILE) "mpl/max_element" : "libs/mpl/test/max_element.cpp" +boost-test(COMPILE) "mpl/min_max" : "libs/mpl/test/min_max.cpp" +boost-test(COMPILE) "mpl/multiset" : "libs/mpl/test/multiset.cpp" +boost-test(COMPILE) "mpl/next" : "libs/mpl/test/next.cpp" +boost-test(COMPILE) "mpl/no_has_xxx" : "libs/mpl/test/no_has_xxx.cpp" +boost-test(COMPILE) "mpl/numeric_ops" : "libs/mpl/test/numeric_ops.cpp" +boost-test(COMPILE) "mpl/pair_view" : "libs/mpl/test/pair_view.cpp" +boost-test(COMPILE) "mpl/partition" : "libs/mpl/test/partition.cpp" +boost-test(COMPILE) "mpl/pop_front" : "libs/mpl/test/pop_front.cpp" +boost-test(COMPILE) "mpl/push_front" : "libs/mpl/test/push_front.cpp" +boost-test(COMPILE) "mpl/quote" : "libs/mpl/test/quote.cpp" +boost-test(COMPILE) "mpl/range_c" : "libs/mpl/test/range_c.cpp" +boost-test(COMPILE) "mpl/remove" : "libs/mpl/test/remove.cpp" +boost-test(COMPILE) "mpl/remove_if" : "libs/mpl/test/remove_if.cpp" +boost-test(COMPILE) "mpl/replace" : "libs/mpl/test/replace.cpp" +boost-test(COMPILE) "mpl/replace_if" : "libs/mpl/test/replace_if.cpp" +boost-test(COMPILE) "mpl/reverse" : "libs/mpl/test/reverse.cpp" +boost-test(COMPILE) "mpl/same_as" : "libs/mpl/test/same_as.cpp" +boost-test(COMPILE) "mpl/set" : "libs/mpl/test/set.cpp" +boost-test(COMPILE) "mpl/set_c" : "libs/mpl/test/set_c.cpp" +boost-test(COMPILE) "mpl/single_view" : "libs/mpl/test/single_view.cpp" +boost-test(COMPILE) "mpl/size" : "libs/mpl/test/size.cpp" +boost-test(RUN) "mpl/size_t" : "libs/mpl/test/size_t.cpp" +boost-test(COMPILE) "mpl/sizeof" : "libs/mpl/test/sizeof.cpp" +boost-test(COMPILE) "mpl/sort" : "libs/mpl/test/sort.cpp" +boost-test(COMPILE) "mpl/stable_partition" : "libs/mpl/test/stable_partition.cpp" +boost-test(COMPILE) "mpl/transform" : "libs/mpl/test/transform.cpp" +boost-test(COMPILE) "mpl/transform_view" : "libs/mpl/test/transform_view.cpp" +boost-test(COMPILE) "mpl/unique" : "libs/mpl/test/unique.cpp" +boost-test(COMPILE) "mpl/unpack_args" : "libs/mpl/test/unpack_args.cpp" +boost-test(COMPILE) "mpl/upper_bound" : "libs/mpl/test/upper_bound.cpp" +boost-test(COMPILE) "mpl/vector" : "libs/mpl/test/vector.cpp" +boost-test(COMPILE) "mpl/vector_c" : "libs/mpl/test/vector_c.cpp" +boost-test(COMPILE) "mpl/zip_view" : "libs/mpl/test/zip_view.cpp" +boost-test(RUN) "numeric/conversion/udt_example_0" : "libs/numeric/conversion/test/udt_example_0.cpp" +boost-test(RUN) "numeric/conversion/numeric_cast_test" : "libs/numeric/conversion/test/numeric_cast_test.cpp" +boost-test(RUN) "numeric/conversion/udt_support_test" : "libs/numeric/conversion/test/udt_support_test.cpp" +boost-test(RUN) "numeric/conversion/converter_test" : "libs/numeric/conversion/test/converter_test.cpp" +boost-test(RUN) "numeric/conversion/traits_test" : "libs/numeric/conversion/test/traits_test.cpp" +boost-test(RUN) "numeric/conversion/bounds_test" : "libs/numeric/conversion/test/bounds_test.cpp" +boost-test(RUN) "numeric/interval/test_float" : "libs/numeric/interval/test/test_float.cpp" +boost-test(RUN) "numeric/interval/cmp_tribool" : "libs/numeric/interval/test/cmp_tribool.cpp" +boost-test(RUN) "numeric/interval/cmp_set" : "libs/numeric/interval/test/cmp_set.cpp" +boost-test(RUN) "numeric/interval/cmp_lex" : "libs/numeric/interval/test/cmp_lex.cpp" +boost-test(RUN) "numeric/interval/cmp_exp" : "libs/numeric/interval/test/cmp_exp.cpp" +boost-test(RUN) "numeric/interval/cmp_exn" : "libs/numeric/interval/test/cmp_exn.cpp" +boost-test(RUN) "numeric/interval/cmp" : "libs/numeric/interval/test/cmp.cpp" +boost-test(RUN) "numeric/interval/pow" : "libs/numeric/interval/test/pow.cpp" +boost-test(RUN) "numeric/interval/pi" : "libs/numeric/interval/test/pi.cpp" +boost-test(RUN) "numeric/interval/overflow" : "libs/numeric/interval/test/overflow.cpp" +boost-test(RUN) "numeric/interval/mul" : "libs/numeric/interval/test/mul.cpp" +boost-test(RUN) "numeric/interval/fmod" : "libs/numeric/interval/test/fmod.cpp" +boost-test(RUN) "numeric/interval/det" : "libs/numeric/interval/test/det.cpp" +boost-test(RUN) "numeric/interval/add" : "libs/numeric/interval/test/add.cpp" +boost-test(COMPILE) "numeric/interval/integer" : "libs/numeric/interval/test/integer.cpp" +boost-test(COMPILE) "numeric/ublas/concepts" : "libs/numeric/ublas/test/concepts.cpp" +boost-test(RUN) "numeric/ublas/placement_new" : "libs/numeric/ublas/test/placement_new.cpp" +boost-test(RUN) "numeric/ublas/test6" : "libs/numeric/ublas/test/test6.cpp" "libs/numeric/ublas/test/test62.cpp" "libs/numeric/ublas/test/test63.cpp" +boost-test(RUN) "numeric/ublas/test5" : "libs/numeric/ublas/test/test5.cpp" "libs/numeric/ublas/test/test52.cpp" "libs/numeric/ublas/test/test53.cpp" +boost-test(RUN) "numeric/ublas/test4" : "libs/numeric/ublas/test/test4.cpp" "libs/numeric/ublas/test/test42.cpp" "libs/numeric/ublas/test/test43.cpp" +boost-test(RUN) "numeric/ublas/test3" : "libs/numeric/ublas/test/test3.cpp" "libs/numeric/ublas/test/test31.cpp" "libs/numeric/ublas/test/test32.cpp" "libs/numeric/ublas/test/test33.cpp" +boost-test(RUN) "numeric/ublas/test2" : "libs/numeric/ublas/test/test2.cpp" "libs/numeric/ublas/test/test21.cpp" "libs/numeric/ublas/test/test22.cpp" "libs/numeric/ublas/test/test23.cpp" +boost-test(RUN) "numeric/ublas/test1" : "libs/numeric/ublas/test/test1.cpp" "libs/numeric/ublas/test/test11.cpp" "libs/numeric/ublas/test/test12.cpp" "libs/numeric/ublas/test/test13.cpp" +boost-test(COMPILE) "multi_array/concept_checks" : "libs/multi_array/test/concept_checks.cpp" +boost-test(RUN) "multi_array/resize" : "libs/multi_array/test/resize.cpp" +boost-test(RUN) "multi_array/stl_interaction" : "libs/multi_array/test/stl_interaction.cpp" +boost-test(RUN) "multi_array/idxgen1" : "libs/multi_array/test/idxgen1.cpp" +boost-test(RUN) "multi_array/range1" : "libs/multi_array/test/range1.cpp" +boost-test(RUN) "multi_array/reshape" : "libs/multi_array/test/reshape.cpp" +boost-test(RUN) "multi_array/storage_order" : "libs/multi_array/test/storage_order.cpp" +boost-test(RUN) "multi_array/index_bases" : "libs/multi_array/test/index_bases.cpp" +boost-test(RUN) "multi_array/assign_to_array" : "libs/multi_array/test/assign_to_array.cpp" +boost-test(RUN) "multi_array/assign" : "libs/multi_array/test/assign.cpp" +boost-test(RUN) "multi_array/slice" : "libs/multi_array/test/slice.cpp" +boost-test(RUN) "multi_array/iterators" : "libs/multi_array/test/iterators.cpp" +boost-test(RUN) "multi_array/compare" : "libs/multi_array/test/compare.cpp" +boost-test(RUN) "multi_array/access" : "libs/multi_array/test/access.cpp" +boost-test(RUN) "multi_array/constructors" : "libs/multi_array/test/constructors.cpp" +boost-test(COMPILE_FAIL) "multi_array/fail_ref_cview3" : "libs/multi_array/test/fail_ref_cview3.cpp" +boost-test(COMPILE_FAIL) "multi_array/fail_ref_cview2" : "libs/multi_array/test/fail_ref_cview2.cpp" +boost-test(COMPILE_FAIL) "multi_array/fail_ref_cview" : "libs/multi_array/test/fail_ref_cview.cpp" +boost-test(COMPILE_FAIL) "multi_array/fail_ref_csubarray3" : "libs/multi_array/test/fail_ref_csubarray3.cpp" +boost-test(COMPILE_FAIL) "multi_array/fail_ref_csubarray2" : "libs/multi_array/test/fail_ref_csubarray2.cpp" +boost-test(COMPILE_FAIL) "multi_array/fail_ref_csubarray" : "libs/multi_array/test/fail_ref_csubarray.cpp" +boost-test(COMPILE_FAIL) "multi_array/fail_ref_criterator" : "libs/multi_array/test/fail_ref_criterator.cpp" +boost-test(COMPILE_FAIL) "multi_array/fail_ref_cparen" : "libs/multi_array/test/fail_ref_cparen.cpp" +boost-test(COMPILE_FAIL) "multi_array/fail_ref_citerator" : "libs/multi_array/test/fail_ref_citerator.cpp" +boost-test(COMPILE_FAIL) "multi_array/fail_ref_cdata" : "libs/multi_array/test/fail_ref_cdata.cpp" +boost-test(COMPILE_FAIL) "multi_array/fail_ref_cbracket" : "libs/multi_array/test/fail_ref_cbracket.cpp" +boost-test(COMPILE_FAIL) "multi_array/fail_cview3" : "libs/multi_array/test/fail_cview3.cpp" +boost-test(COMPILE_FAIL) "multi_array/fail_cview2" : "libs/multi_array/test/fail_cview2.cpp" +boost-test(COMPILE_FAIL) "multi_array/fail_cview" : "libs/multi_array/test/fail_cview.cpp" +boost-test(COMPILE_FAIL) "multi_array/fail_csubarray3" : "libs/multi_array/test/fail_csubarray3.cpp" +boost-test(COMPILE_FAIL) "multi_array/fail_csubarray2" : "libs/multi_array/test/fail_csubarray2.cpp" +boost-test(COMPILE_FAIL) "multi_array/fail_csubarray" : "libs/multi_array/test/fail_csubarray.cpp" +boost-test(COMPILE_FAIL) "multi_array/fail_criterator" : "libs/multi_array/test/fail_criterator.cpp" +boost-test(COMPILE_FAIL) "multi_array/fail_cparen" : "libs/multi_array/test/fail_cparen.cpp" +boost-test(COMPILE_FAIL) "multi_array/fail_citerator" : "libs/multi_array/test/fail_citerator.cpp" +boost-test(COMPILE_FAIL) "multi_array/fail_cdata" : "libs/multi_array/test/fail_cdata.cpp" +boost-test(COMPILE_FAIL) "multi_array/fail_cbracket" : "libs/multi_array/test/fail_cbracket.cpp" +boost-test(RUN) "multi_index/test_update" : "libs/multi_index/test/test_update.cpp" "libs/multi_index/test/test_update_main.cpp" +boost-test(RUN) "multi_index/test_special_set_ops" : "libs/multi_index/test/test_special_set_ops.cpp" "libs/multi_index/test/test_special_set_ops_main.cpp" +boost-test(RUN) "multi_index/test_set_ops" : "libs/multi_index/test/test_set_ops.cpp" "libs/multi_index/test/test_set_ops_main.cpp" +boost-test(RUN) "multi_index/test_serialization" : "libs/multi_index/test/test_serialization.cpp" "libs/multi_index/test/test_serialization1.cpp" "libs/multi_index/test/test_serialization2.cpp" "libs/multi_index/test/test_serialization_main.cpp" +boost-test(RUN) "multi_index/test_safe_mode" : "libs/multi_index/test/test_safe_mode.cpp" "libs/multi_index/test/test_safe_mode_main.cpp" +boost-test(RUN) "multi_index/test_rearrange" : "libs/multi_index/test/test_rearrange.cpp" "libs/multi_index/test/test_rearrange_main.cpp" +boost-test(RUN) "multi_index/test_range" : "libs/multi_index/test/test_range.cpp" "libs/multi_index/test/test_range_main.cpp" +boost-test(RUN) "multi_index/test_projection" : "libs/multi_index/test/test_projection.cpp" "libs/multi_index/test/test_projection_main.cpp" +boost-test(RUN) "multi_index/test_observers" : "libs/multi_index/test/test_observers.cpp" "libs/multi_index/test/test_observers_main.cpp" +boost-test(RUN) "multi_index/test_mpl_ops" : "libs/multi_index/test/test_mpl_ops.cpp" "libs/multi_index/test/test_mpl_ops_main.cpp" +boost-test(RUN) "multi_index/test_modifiers" : "libs/multi_index/test/test_modifiers.cpp" "libs/multi_index/test/test_modifiers_main.cpp" +boost-test(RUN) "multi_index/test_list_ops" : "libs/multi_index/test/test_list_ops.cpp" "libs/multi_index/test/test_list_ops_main.cpp" +boost-test(RUN) "multi_index/test_key_extractors" : "libs/multi_index/test/test_key_extractors.cpp" "libs/multi_index/test/test_key_extractors_main.cpp" +boost-test(RUN) "multi_index/test_iterators" : "libs/multi_index/test/test_iterators.cpp" "libs/multi_index/test/test_iterators_main.cpp" +boost-test(RUN) "multi_index/test_hash_ops" : "libs/multi_index/test/test_hash_ops.cpp" "libs/multi_index/test/test_hash_ops_main.cpp" +boost-test(RUN) "multi_index/test_copy_assignment" : "libs/multi_index/test/test_copy_assignment.cpp" "libs/multi_index/test/test_copy_assignment_main.cpp" +boost-test(RUN) "multi_index/test_conv_iterators" : "libs/multi_index/test/test_conv_iterators.cpp" "libs/multi_index/test/test_conv_iterators_main.cpp" +boost-test(RUN) "multi_index/test_composite_key" : "libs/multi_index/test/test_composite_key.cpp" "libs/multi_index/test/test_composite_key_main.cpp" +boost-test(RUN) "multi_index/test_comparison" : "libs/multi_index/test/test_comparison.cpp" "libs/multi_index/test/test_comparison_main.cpp" +boost-test(RUN) "multi_index/test_capacity" : "libs/multi_index/test/test_capacity.cpp" "libs/multi_index/test/test_capacity_main.cpp" +boost-test(RUN) "multi_index/test_basic" : "libs/multi_index/test/test_basic.cpp" "libs/multi_index/test/test_basic_main.cpp" +boost-test(COMPILE_FAIL) "optional/optional_test_inplace_fail2" : "libs/optional/test/optional_test_inplace_fail2.cpp" +boost-test(COMPILE_FAIL) "optional/optional_test_inplace_fail" : "libs/optional/test/optional_test_inplace_fail.cpp" +boost-test(COMPILE_FAIL) "optional/optional_test_ref_fail4" : "libs/optional/test/optional_test_ref_fail4.cpp" +boost-test(COMPILE_FAIL) "optional/optional_test_ref_fail3" : "libs/optional/test/optional_test_ref_fail3.cpp" +boost-test(COMPILE_FAIL) "optional/optional_test_ref_fail2" : "libs/optional/test/optional_test_ref_fail2.cpp" +boost-test(COMPILE_FAIL) "optional/optional_test_ref_fail1" : "libs/optional/test/optional_test_ref_fail1.cpp" +boost-test(COMPILE_FAIL) "optional/optional_test_fail3b" : "libs/optional/test/optional_test_fail3b.cpp" +boost-test(COMPILE_FAIL) "optional/optional_test_fail3a" : "libs/optional/test/optional_test_fail3a.cpp" +boost-test(COMPILE_FAIL) "optional/optional_test_fail2" : "libs/optional/test/optional_test_fail2.cpp" +boost-test(COMPILE_FAIL) "optional/optional_test_fail1" : "libs/optional/test/optional_test_fail1.cpp" +boost-test(RUN) "optional/optional_test_io" : "libs/optional/test/optional_test_io.cpp" +boost-test(RUN) "optional/optional_test_inplace" : "libs/optional/test/optional_test_inplace.cpp" +boost-test(RUN) "optional/optional_test_ref" : "libs/optional/test/optional_test_ref.cpp" +boost-test(RUN) "optional/optional_test_tie" : "libs/optional/test/optional_test_tie.cpp" +boost-test(RUN) "optional/optional_test" : "libs/optional/test/optional_test.cpp" +boost-test(RUN_PYD) "parameter/python_test" : "libs/parameter/test/python_test.py" "libs/parameter/test/python_test.cpp" +boost-test(COMPILE) "parameter/compose" : "libs/parameter/test/compose.cpp" +boost-test(COMPILE_FAIL) "parameter/deduced_unmatched_arg" : "libs/parameter/test/deduced_unmatched_arg.cpp" +boost-test(COMPILE_FAIL) "parameter/duplicates" : "libs/parameter/test/duplicates.cpp" +boost-test(COMPILE) "parameter/unwrap_cv_reference" : "libs/parameter/test/unwrap_cv_reference.cpp" +boost-test(COMPILE) "parameter/ntp" : "libs/parameter/test/ntp.cpp" +boost-test(RUN) "parameter/normalized_argument_types" : "libs/parameter/test/normalized_argument_types.cpp" +boost-test(RUN) "parameter/deduced_dependent_predicate" : "libs/parameter/test/deduced_dependent_predicate.cpp" +boost-test(RUN) "parameter/optional_deduced_sfinae" : "libs/parameter/test/optional_deduced_sfinae.cpp" +boost-test(RUN) "parameter/deduced" : "libs/parameter/test/deduced.cpp" +boost-test(RUN) "parameter/maybe" : "libs/parameter/test/maybe.cpp" +boost-test(RUN) "parameter/efficiency" : "libs/parameter/test/efficiency.cpp" +boost-test(RUN) "parameter/preprocessor_deduced" : "libs/parameter/test/preprocessor_deduced.cpp" +boost-test(RUN) "parameter/preprocessor" : "libs/parameter/test/preprocessor.cpp" +boost-test(RUN) "parameter/mpl" : "libs/parameter/test/mpl.cpp" +boost-test(RUN) "parameter/singular" : "libs/parameter/test/singular.cpp" +boost-test(RUN) "parameter/tutorial" : "libs/parameter/test/tutorial.cpp" +boost-test(RUN) "parameter/earwicker" : "libs/parameter/test/earwicker.cpp" +boost-test(RUN) "parameter/macros" : "libs/parameter/test/macros.cpp" +boost-test(RUN) "parameter/sfinae" : "libs/parameter/test/sfinae.cpp" +boost-test(RUN) "parameter/basics" : "libs/parameter/test/basics.cpp" +boost-test(RUN) "program_options/winmain_dll" : "libs/program_options/test/winmain.cpp" +boost-test(RUN) "program_options/winmain" : "libs/program_options/test/winmain.cpp" +boost-test(RUN) "program_options/unicode_test_dll" : "libs/program_options/test/unicode_test.cpp" +boost-test(RUN) "program_options/unicode_test" : "libs/program_options/test/unicode_test.cpp" +boost-test(RUN) "program_options/positional_options_test_dll" : "libs/program_options/test/positional_options_test.cpp" +boost-test(RUN) "program_options/positional_options_test" : "libs/program_options/test/positional_options_test.cpp" +boost-test(RUN) "program_options/cmdline_test_dll" : "libs/program_options/test/cmdline_test.cpp" +boost-test(RUN) "program_options/cmdline_test" : "libs/program_options/test/cmdline_test.cpp" +boost-test(RUN) "program_options/variable_map_test_dll" : "libs/program_options/test/variable_map_test.cpp" +boost-test(RUN) "program_options/variable_map_test" : "libs/program_options/test/variable_map_test.cpp" +boost-test(RUN) "program_options/parsers_test_dll" : "libs/program_options/test/parsers_test.cpp" +boost-test(RUN) "program_options/parsers_test" : "libs/program_options/test/parsers_test.cpp" +boost-test(RUN) "program_options/options_description_test_dll" : "libs/program_options/test/options_description_test.cpp" +boost-test(RUN) "program_options/options_description_test" : "libs/program_options/test/options_description_test.cpp" +boost-test(RUN) "property_map/dynamic_properties_test" : "libs/property_map/test/dynamic_properties_test.cpp" +boost-test(COMPILE) "property_map/property_map_cc" : "libs/property_map/test/property_map_cc.cpp" +boost-test(RUN) "ptr_container/no_exceptions" : "libs/ptr_container/test/no_exceptions.cpp" +boost-test(RUN) "ptr_container/serialization" : "libs/ptr_container/test/serialization.cpp" +boost-test(RUN) "ptr_container/indirect_fun" : "libs/ptr_container/test/indirect_fun.cpp" +boost-test(RUN) "ptr_container/tut1" : "libs/ptr_container/test/tut1.cpp" +boost-test(RUN) "ptr_container/iterator_test" : "libs/ptr_container/test/iterator_test.cpp" +boost-test(RUN) "ptr_container/view_example" : "libs/ptr_container/test/view_example.cpp" +boost-test(RUN) "ptr_container/incomplete_type_test" : "libs/ptr_container/test/incomplete_type_test.cpp" +boost-test(RUN) "ptr_container/tree_test" : "libs/ptr_container/test/tree_test.cpp" +boost-test(RUN) "ptr_container/ptr_array" : "libs/ptr_container/test/ptr_array.cpp" +boost-test(RUN) "ptr_container/ptr_map" : "libs/ptr_container/test/ptr_map.cpp" +boost-test(RUN) "ptr_container/ptr_set" : "libs/ptr_container/test/ptr_set.cpp" +boost-test(RUN) "ptr_container/ptr_deque" : "libs/ptr_container/test/ptr_deque.cpp" +boost-test(RUN) "ptr_container/ptr_list" : "libs/ptr_container/test/ptr_list.cpp" +boost-test(RUN) "ptr_container/ptr_vector" : "libs/ptr_container/test/ptr_vector.cpp" +boost-test(COMPILE_FAIL) "python/object_fail1" : "libs/python/test/object_fail1.cpp" +boost-test(COMPILE_FAIL) "python/as_to_python_function" : "libs/python/test/as_to_python_function.cpp" +boost-test(COMPILE_FAIL) "python/raw_pyobject_fail2" : "libs/python/test/raw_pyobject_fail2.cpp" +boost-test(COMPILE_FAIL) "python/raw_pyobject_fail1" : "libs/python/test/raw_pyobject_fail1.cpp" +boost-test(COMPILE) "python/select_arg_to_python_test" : "libs/python/test/select_arg_to_python_test.cpp" +boost-test(RUN) "python/select_from_python_test" : "libs/python/test/select_from_python_test.cpp" "libs/python/src/converter/type_id.cpp" +boost-test(COMPILE) "python/select_holder" : "libs/python/test/select_holder.cpp" +boost-test(RUN) "python/upcast" : "libs/python/test/upcast.cpp" +boost-test(COMPILE) "python/copy_ctor_mutates_rhs" : "libs/python/test/copy_ctor_mutates_rhs.cpp" +boost-test(COMPILE) "python/object_manager" : "libs/python/test/object_manager.cpp" +boost-test(COMPILE) "python/borrowed" : "libs/python/test/borrowed.cpp" +boost-test(COMPILE) "python/string_literal" : "libs/python/test/string_literal.cpp" +boost-test(RUN) "python/result" : "libs/python/test/result.cpp" +boost-test(RUN) "python/pointee" : "libs/python/test/pointee.cpp" +boost-test(RUN) "python/if_else" : "libs/python/test/if_else.cpp" +boost-test(RUN) "python/bases" : "libs/python/test/bases.cpp" +boost-test(RUN) "python/pointer_type_id_test" : "libs/python/test/pointer_type_id_test.cpp" +boost-test(RUN) "python/destroy_test" : "libs/python/test/destroy_test.cpp" +boost-test(COMPILE) "python/indirect_traits_test" : "libs/python/test/indirect_traits_test.cpp" +boost-test(RUN_PYD) "python/map_indexing_suite" : "libs/python/test/map_indexing_suite.py" +boost-test(RUN_PYD) "python/pointer_vector" : "libs/python/test/pointer_vector.py" "libs/python/test/pointer_vector.cpp" +boost-test(RUN_PYD) "python/vector_indexing_suite" : "libs/python/test/vector_indexing_suite.py" "libs/python/test/vector_indexing_suite.cpp" +boost-test(RUN_PYD) "python/docstring" : "libs/python/test/docstring.py" "libs/python/test/docstring.cpp" +boost-test(RUN_PYD) "python/nested" : "libs/python/test/nested.py" "libs/python/test/nested.cpp" +boost-test(RUN_PYD) "python/pickle4" : "libs/python/test/pickle4.py" "libs/python/test/pickle4.cpp" +boost-test(RUN_PYD) "python/pickle3" : "libs/python/test/pickle3.py" "libs/python/test/pickle3.cpp" +boost-test(RUN_PYD) "python/pickle2" : "libs/python/test/pickle2.py" "libs/python/test/pickle2.cpp" +boost-test(RUN_PYD) "python/pickle1" : "libs/python/test/pickle1.py" "libs/python/test/pickle1.cpp" +boost-test(RUN_PYD) "python/voidptr" : "libs/python/test/voidptr.py" "libs/python/test/voidptr.cpp" +boost-test(RUN_PYD) "python/opaque" : "libs/python/test/opaque.py" "libs/python/test/opaque.cpp" +boost-test(RUN_PYD) "python/crossmod_opaque" : "libs/python/test/crossmod_opaque.py" "libs/python/test/crossmod_opaque_a.cpp" "libs/python/test/crossmod_opaque_b.cpp" +boost-test(RUN_PYD) "python/extract" : "libs/python/test/extract.py" "libs/python/test/extract.cpp" +boost-test(RUN_PYD) "python/stl_iterator" : "libs/python/test/stl_iterator.py" "libs/python/test/stl_iterator.cpp" +boost-test(RUN_PYD) "python/iterator" : "libs/python/test/iterator.py" "libs/python/test/iterator.cpp" "libs/python/test/input_iterator.cpp" +boost-test(RUN_PYD) "python/multi_arg_constructor" : "libs/python/test/multi_arg_constructor.py" "libs/python/test/multi_arg_constructor.cpp" +boost-test(RUN_PYD) "python/bienstman3" : "libs/python/test/bienstman3.py" "libs/python/test/bienstman3.cpp" +boost-test(RUN_PYD) "python/bienstman2" : "libs/python/test/bienstman2.py" "libs/python/test/bienstman2.cpp" +boost-test(RUN_PYD) "python/bienstman1" : "libs/python/test/bienstman1.py" "libs/python/test/bienstman1.cpp" +boost-test(RUN_PYD) "python/ben_scott1" : "libs/python/test/ben_scott1.py" "libs/python/test/ben_scott1.cpp" +boost-test(RUN_PYD) "python/data_members" : "libs/python/test/data_members.py" "libs/python/test/data_members.cpp" +boost-test(RUN_PYD) "python/implicit" : "libs/python/test/implicit.py" "libs/python/test/implicit.cpp" +boost-test(RUN_PYD) "python/back_reference" : "libs/python/test/back_reference.py" "libs/python/test/back_reference.cpp" +boost-test(RUN_PYD) "python/virtual_functions" : "libs/python/test/virtual_functions.py" "libs/python/test/virtual_functions.cpp" +boost-test(RUN_PYD) "python/slice" : "libs/python/test/slice.py" "libs/python/test/slice.cpp" +boost-test(RUN_PYD) "python/str" : "libs/python/test/str.py" "libs/python/test/str.cpp" +boost-test(RUN_PYD) "python/tuple" : "libs/python/test/tuple.py" "libs/python/test/tuple.cpp" +boost-test(RUN_PYD) "python/dict" : "libs/python/test/dict.py" "libs/python/test/dict.cpp" +boost-test(RUN_PYD) "python/long" : "libs/python/test/long.py" "libs/python/test/long.cpp" +boost-test(RUN_PYD) "python/list" : "libs/python/test/list.py" "libs/python/test/list.cpp" +boost-test(RUN_PYD) "python/object" : "libs/python/test/object.py" "libs/python/test/object.cpp" +boost-test(RUN_PYD) "python/defaults" : "libs/python/test/defaults.py" "libs/python/test/defaults.cpp" +boost-test(RUN_PYD) "python/callbacks" : "libs/python/test/callbacks.py" "libs/python/test/callbacks.cpp" +boost-test(RUN_PYD) "python/operators" : "libs/python/test/operators.py" "libs/python/test/operators.cpp" +boost-test(RUN_PYD) "python/test_pointer_adoption" : "libs/python/test/test_pointer_adoption.py" "libs/python/test/test_pointer_adoption.cpp" +boost-test(RUN_PYD) "python/builtin_converters" : "libs/python/test/test_builtin_converters.py" +boost-test(RUN_PYD) "python/keywords" : "libs/python/test/keywords.cpp" "libs/python/test/keywords_test.py" +boost-test(RUN_PYD) "python/const_argument" : "libs/python/test/const_argument.py" "libs/python/test/const_argument.cpp" +boost-test(RUN_PYD) "python/try" : "libs/python/test/newtest.py" "libs/python/test/m1.cpp" "libs/python/test/m2.cpp" +boost-test(RUN_PYD) "python/pearu1" : "libs/python/test/test_cltree.py" "libs/python/test/cltree.cpp" +boost-test(RUN_PYD) "python/exception_translator" : "libs/python/test/exception_translator.py" "libs/python/test/exception_translator.cpp" +boost-test(RUN_PYD) "python/enum" : "libs/python/test/enum.py" "libs/python/test/enum.cpp" +boost-test(RUN_PYD) "python/numpy" : "libs/python/test/numpy.py" "libs/python/test/printer.py" "libs/python/test/numeric_tests.py" "libs/python/test/numarray_tests.py" "libs/python/test/numpy.cpp" +boost-test(RUN_PYD) "python/raw_ctor" : "libs/python/test/raw_ctor.py" "libs/python/test/raw_ctor.cpp" +boost-test(RUN_PYD) "python/args" : "libs/python/test/args.py" "libs/python/test/args.cpp" +boost-test(RUN_PYD) "python/minimal" : "libs/python/test/minimal.py" "libs/python/test/minimal.cpp" +boost-test(RUN_PYD) "python/auto_ptr" : "libs/python/test/auto_ptr.py" "libs/python/test/auto_ptr.cpp" +boost-test(RUN_PYD) "python/polymorphism2_auto_ptr" : "libs/python/test/polymorphism2_auto_ptr.py" "libs/python/test/polymorphism2_auto_ptr.cpp" +boost-test(RUN_PYD) "python/wrapper_held_type" : "libs/python/test/wrapper_held_type.py" "libs/python/test/wrapper_held_type.cpp" +boost-test(RUN_PYD) "python/polymorphism2" : "libs/python/test/polymorphism2.py" "libs/python/test/polymorphism2.cpp" +boost-test(RUN_PYD) "python/polymorphism" : "libs/python/test/polymorphism.py" "libs/python/test/polymorphism.cpp" +boost-test(RUN_PYD) "python/andreas_beyer" : "libs/python/test/andreas_beyer.py" "libs/python/test/andreas_beyer.cpp" +boost-test(RUN_PYD) "python/shared_ptr" : "libs/python/test/shared_ptr.py" "libs/python/test/shared_ptr.cpp" +boost-test(RUN_PYD) "python/staticmethod" : "libs/python/test/staticmethod.py" "libs/python/test/staticmethod.cpp" +boost-test(RUN_PYD) "python/return_arg" : "libs/python/test/return_arg.py" "libs/python/test/return_arg.cpp" +boost-test(RUN_PYD) "python/properties" : "libs/python/test/properties.py" "libs/python/test/properties.cpp" +boost-test(RUN_PYD) "python/injected" : "libs/python/test/injected.py" "libs/python/test/injected.cpp" +boost-test(RUN_PYD) "python/crossmod_exception" : "libs/python/test/crossmod_exception.py" "libs/python/test/crossmod_exception_a.cpp" "libs/python/test/crossmod_exception_b.cpp" +boost-test(RUN) "python/exec" : "libs/python/test/exec.cpp" +boost-test(RUN) "random/random_demo" : "libs/random/random_demo.cpp" +boost-test(RUN) "random/random_test" : "libs/random/random_test.cpp" +boost-test(RUN) "range/extension_mechanism" : "libs/range/test/extension_mechanism.cpp" +boost-test(RUN) "range/const_ranges" : "libs/range/test/const_ranges.cpp" +boost-test(RUN) "range/reversible_range" : "libs/range/test/reversible_range.cpp" +boost-test(RUN) "range/algorithm_example" : "libs/range/test/algorithm_example.cpp" +boost-test(RUN) "range/partial_workaround" : "libs/range/test/partial_workaround.cpp" +boost-test(RUN) "range/sub_range" : "libs/range/test/sub_range.cpp" +boost-test(RUN) "range/iterator_range" : "libs/range/test/iterator_range.cpp" +boost-test(RUN) "range/string" : "libs/range/test/string.cpp" +boost-test(RUN) "range/std_container" : "libs/range/test/std_container.cpp" +boost-test(RUN) "range/iterator_pair" : "libs/range/test/iterator_pair.cpp" +boost-test(RUN) "range/array" : "libs/range/test/array.cpp" +boost-test(RUN) "regex/captures_test" : "libs/regex/test/captures/captures_test.cpp" +boost-test(COMPILE) "regex/icu_concept_check" : "libs/regex/test/concepts/icu_concept_check.cpp" +boost-test(COMPILE) "regex/concept_check" : "libs/regex/test/concepts/concept_check.cpp" +boost-test(RUN) "regex/test_collate_info" ["always_show_run_output"] : "libs/regex/test/collate_info/collate_info.cpp" +boost-test(RUN) "regex/regex_dll_config_info" ["always_show_run_output"] : "libs/regex/test/config_info/regex_config_info.cpp" +boost-test(RUN) "regex/regex_config_info" ["always_show_run_output"] : "libs/regex/test/config_info/regex_config_info.cpp" +boost-test(RUN) "regex/object_cache_test" : "libs/regex/test/object_cache/object_cache_test.cpp" +boost-test(RUN) "regex/static_mutex_test" : "libs/regex/test/static_mutex/static_mutex_test.cpp" +boost-test(RUN) "regex/unicode_iterator_test" : "libs/regex/test/unicode/unicode_iterator_test.cpp" +boost-test(RUN) "regex/recursion_test" : "libs/regex/test/pathology/recursion_test.cpp" +boost-test(RUN) "regex/bad_expression_test" : "libs/regex/test/pathology/bad_expression_test.cpp" +boost-test(RUN) "regex/wide_posix_api_check_cpp" : "libs/regex/test/c_compiler_checks/wide_posix_api_check.cpp" +boost-test(RUN) "regex/posix_api_check_cpp" : "libs/regex/test/c_compiler_checks/posix_api_check.cpp" +boost-test(COMPILE) "regex/wide_posix_api_check_c" : "libs/regex/test/c_compiler_checks/wide_posix_api_check.c" +boost-test(RUN) "regex/posix_api_check" : "libs/regex/test/c_compiler_checks/posix_api_check.c" +boost-test(RUN) "regex/regex_regress_threaded" : "libs/regex/test/regress/basic_tests.cpp" "libs/regex/test/regress/main.cpp" "libs/regex/test/regress/test_alt.cpp" "libs/regex/test/regress/test_anchors.cpp" "libs/regex/test/regress/test_asserts.cpp" "libs/regex/test/regress/test_backrefs.cpp" "libs/regex/test/regress/test_deprecated.cpp" "libs/regex/test/regress/test_emacs.cpp" "libs/regex/test/regress/test_escapes.cpp" "libs/regex/test/regress/test_grep.cpp" "libs/regex/test/regress/test_locale.cpp" "libs/regex/test/regress/test_mfc.cpp" "libs/regex/test/regress/test_non_greedy_repeats.cpp" "libs/regex/test/regress/test_perl_ex.cpp" "libs/regex/test/regress/test_replace.cpp" "libs/regex/test/regress/test_sets.cpp" "libs/regex/test/regress/test_simple_repeats.cpp" "libs/regex/test/regress/test_tricky_cases.cpp" "libs/regex/test/regress/test_icu.cpp" "libs/regex/test/regress/test_unicode.cpp" "libs/regex/test/regress/test_overloads.cpp" "libs/regex/test/regress/test_operators.cpp" +boost-test(RUN) "regex/regex_regress_dll" : "libs/regex/test/regress/basic_tests.cpp" "libs/regex/test/regress/main.cpp" "libs/regex/test/regress/test_alt.cpp" "libs/regex/test/regress/test_anchors.cpp" "libs/regex/test/regress/test_asserts.cpp" "libs/regex/test/regress/test_backrefs.cpp" "libs/regex/test/regress/test_deprecated.cpp" "libs/regex/test/regress/test_emacs.cpp" "libs/regex/test/regress/test_escapes.cpp" "libs/regex/test/regress/test_grep.cpp" "libs/regex/test/regress/test_locale.cpp" "libs/regex/test/regress/test_mfc.cpp" "libs/regex/test/regress/test_non_greedy_repeats.cpp" "libs/regex/test/regress/test_perl_ex.cpp" "libs/regex/test/regress/test_replace.cpp" "libs/regex/test/regress/test_sets.cpp" "libs/regex/test/regress/test_simple_repeats.cpp" "libs/regex/test/regress/test_tricky_cases.cpp" "libs/regex/test/regress/test_icu.cpp" "libs/regex/test/regress/test_unicode.cpp" "libs/regex/test/regress/test_overloads.cpp" "libs/regex/test/regress/test_operators.cpp" +boost-test(RUN) "regex/regex_regress" : "libs/regex/test/regress/basic_tests.cpp" "libs/regex/test/regress/main.cpp" "libs/regex/test/regress/test_alt.cpp" "libs/regex/test/regress/test_anchors.cpp" "libs/regex/test/regress/test_asserts.cpp" "libs/regex/test/regress/test_backrefs.cpp" "libs/regex/test/regress/test_deprecated.cpp" "libs/regex/test/regress/test_emacs.cpp" "libs/regex/test/regress/test_escapes.cpp" "libs/regex/test/regress/test_grep.cpp" "libs/regex/test/regress/test_locale.cpp" "libs/regex/test/regress/test_mfc.cpp" "libs/regex/test/regress/test_non_greedy_repeats.cpp" "libs/regex/test/regress/test_perl_ex.cpp" "libs/regex/test/regress/test_replace.cpp" "libs/regex/test/regress/test_sets.cpp" "libs/regex/test/regress/test_simple_repeats.cpp" "libs/regex/test/regress/test_tricky_cases.cpp" "libs/regex/test/regress/test_icu.cpp" "libs/regex/test/regress/test_unicode.cpp" "libs/regex/test/regress/test_overloads.cpp" "libs/regex/test/regress/test_operators.cpp" +boost-test(RUN) "regex/captures_example" : "libs/regex/example/snippets/captures_example.cpp" +boost-test(RUN) "regex/regex_iterator_example" : "libs/regex/example/snippets/regex_iterator_example.cpp" +boost-test(RUN) "regex/regex_token_iterator_eg_2" : "libs/regex/example/snippets/regex_token_iterator_eg_2.cpp" +boost-test(RUN) "regex/regex_token_iterator_eg_1" : "libs/regex/example/snippets/regex_token_iterator_eg_1.cpp" +boost-test(RUN) "regex/regex_split_example_2" : "libs/regex/example/snippets/regex_split_example_2.cpp" +boost-test(RUN) "regex/regex_split_example_1" : "libs/regex/example/snippets/regex_split_example_1.cpp" +boost-test(RUN) "regex/regex_search_example" : "libs/regex/example/snippets/regex_search_example.cpp" +boost-test(RUN) "regex/regex_replace_example" : "libs/regex/example/snippets/regex_replace_example.cpp" +boost-test(RUN) "regex/regex_merge_example" : "libs/regex/example/snippets/regex_merge_example.cpp" +boost-test(RUN) "regex/regex_match_example" : "libs/regex/example/snippets/regex_match_example.cpp" +boost-test(RUN) "regex/regex_grep_example_4" : "libs/regex/example/snippets/regex_grep_example_4.cpp" +boost-test(RUN) "regex/regex_grep_example_3" : "libs/regex/example/snippets/regex_grep_example_3.cpp" +boost-test(RUN) "regex/regex_grep_example_2" : "libs/regex/example/snippets/regex_grep_example_2.cpp" +boost-test(RUN) "regex/regex_grep_example_1" : "libs/regex/example/snippets/regex_grep_example_1.cpp" +boost-test(RUN) "regex/partial_regex_match" : "libs/regex/example/snippets/partial_regex_match.cpp" +boost-test(RUN) "regex/partial_regex_grep" : "libs/regex/example/snippets/partial_regex_grep.cpp" +boost-test(RUN) "regex/icu_example" : "libs/regex/example/snippets/icu_example.cpp" +boost-test(RUN) "regex/mfc_example" : "libs/regex/example/snippets/mfc_example.cpp" +boost-test(RUN) "regex/credit_card_example" : "libs/regex/example/snippets/credit_card_example.cpp" +boost-test(RUN) "regex/test_grep" : "libs/regex/example/grep/grep.cpp" +boost-test(RUN) "regex/regex_timer" : "libs/regex/example/timer/regex_timer.cpp" +boost-test(RUN) "serialization/test_polymorphic_text_archive" : "libs/serialization/test/test_polymorphic.cpp" "libs/serialization/test/test_polymorphic_A.cpp" +boost-test(RUN) "serialization/test_polymorphic_text_archive_dll" : "libs/serialization/test/test_polymorphic.cpp" "libs/serialization/test/test_polymorphic_A.cpp" +boost-test(RUN) "serialization/test_polymorphic_text_warchive" : "libs/serialization/test/test_polymorphic.cpp" "libs/serialization/test/test_polymorphic_A.cpp" +boost-test(RUN) "serialization/test_polymorphic_text_warchive_dll" : "libs/serialization/test/test_polymorphic.cpp" "libs/serialization/test/test_polymorphic_A.cpp" +boost-test(RUN) "serialization/test_polymorphic_binary_archive" : "libs/serialization/test/test_polymorphic.cpp" "libs/serialization/test/test_polymorphic_A.cpp" +boost-test(RUN) "serialization/test_polymorphic_binary_archive_dll" : "libs/serialization/test/test_polymorphic.cpp" "libs/serialization/test/test_polymorphic_A.cpp" +boost-test(RUN) "serialization/test_polymorphic_xml_archive" : "libs/serialization/test/test_polymorphic.cpp" "libs/serialization/test/test_polymorphic_A.cpp" +boost-test(RUN) "serialization/test_polymorphic_xml_archive_dll" : "libs/serialization/test/test_polymorphic.cpp" "libs/serialization/test/test_polymorphic_A.cpp" +boost-test(RUN) "serialization/test_polymorphic_xml_warchive" : "libs/serialization/test/test_polymorphic.cpp" "libs/serialization/test/test_polymorphic_A.cpp" +boost-test(RUN) "serialization/test_polymorphic_xml_warchive_dll" : "libs/serialization/test/test_polymorphic.cpp" "libs/serialization/test/test_polymorphic_A.cpp" +boost-test(RUN) "serialization/test_shared_ptr_132_text_archive" : "libs/serialization/test/test_shared_ptr_132.cpp" +boost-test(RUN) "serialization/test_shared_ptr_132_text_archive_dll" : "libs/serialization/test/test_shared_ptr_132.cpp" +boost-test(RUN) "serialization/test_shared_ptr_132_text_warchive" : "libs/serialization/test/test_shared_ptr_132.cpp" +boost-test(RUN) "serialization/test_shared_ptr_132_text_warchive_dll" : "libs/serialization/test/test_shared_ptr_132.cpp" +boost-test(RUN) "serialization/test_shared_ptr_132_binary_archive" : "libs/serialization/test/test_shared_ptr_132.cpp" +boost-test(RUN) "serialization/test_shared_ptr_132_binary_archive_dll" : "libs/serialization/test/test_shared_ptr_132.cpp" +boost-test(RUN) "serialization/test_shared_ptr_132_xml_archive" : "libs/serialization/test/test_shared_ptr_132.cpp" +boost-test(RUN) "serialization/test_shared_ptr_132_xml_archive_dll" : "libs/serialization/test/test_shared_ptr_132.cpp" +boost-test(RUN) "serialization/test_shared_ptr_132_xml_warchive" : "libs/serialization/test/test_shared_ptr_132.cpp" +boost-test(RUN) "serialization/test_shared_ptr_132_xml_warchive_dll" : "libs/serialization/test/test_shared_ptr_132.cpp" +boost-test(RUN) "serialization/test_shared_ptr_text_archive" : "libs/serialization/test/test_shared_ptr.cpp" +boost-test(RUN) "serialization/test_shared_ptr_text_archive_dll" : "libs/serialization/test/test_shared_ptr.cpp" +boost-test(RUN) "serialization/test_shared_ptr_text_warchive" : "libs/serialization/test/test_shared_ptr.cpp" +boost-test(RUN) "serialization/test_shared_ptr_text_warchive_dll" : "libs/serialization/test/test_shared_ptr.cpp" +boost-test(RUN) "serialization/test_shared_ptr_binary_archive" : "libs/serialization/test/test_shared_ptr.cpp" +boost-test(RUN) "serialization/test_shared_ptr_binary_archive_dll" : "libs/serialization/test/test_shared_ptr.cpp" +boost-test(RUN) "serialization/test_shared_ptr_xml_archive" : "libs/serialization/test/test_shared_ptr.cpp" +boost-test(RUN) "serialization/test_shared_ptr_xml_archive_dll" : "libs/serialization/test/test_shared_ptr.cpp" +boost-test(RUN) "serialization/test_shared_ptr_xml_warchive" : "libs/serialization/test/test_shared_ptr.cpp" +boost-test(RUN) "serialization/test_shared_ptr_xml_warchive_dll" : "libs/serialization/test/test_shared_ptr.cpp" +boost-test(RUN) "serialization/test_optional_text_archive" : "libs/serialization/test/test_optional.cpp" +boost-test(RUN) "serialization/test_optional_text_archive_dll" : "libs/serialization/test/test_optional.cpp" +boost-test(RUN) "serialization/test_optional_text_warchive" : "libs/serialization/test/test_optional.cpp" +boost-test(RUN) "serialization/test_optional_text_warchive_dll" : "libs/serialization/test/test_optional.cpp" +boost-test(RUN) "serialization/test_optional_binary_archive" : "libs/serialization/test/test_optional.cpp" +boost-test(RUN) "serialization/test_optional_binary_archive_dll" : "libs/serialization/test/test_optional.cpp" +boost-test(RUN) "serialization/test_optional_xml_archive" : "libs/serialization/test/test_optional.cpp" +boost-test(RUN) "serialization/test_optional_xml_archive_dll" : "libs/serialization/test/test_optional.cpp" +boost-test(RUN) "serialization/test_optional_xml_warchive" : "libs/serialization/test/test_optional.cpp" +boost-test(RUN) "serialization/test_optional_xml_warchive_dll" : "libs/serialization/test/test_optional.cpp" +boost-test(RUN) "serialization/test_vector_text_archive" : "libs/serialization/test/test_vector.cpp" +boost-test(RUN) "serialization/test_vector_text_archive_dll" : "libs/serialization/test/test_vector.cpp" +boost-test(RUN) "serialization/test_vector_text_warchive" : "libs/serialization/test/test_vector.cpp" +boost-test(RUN) "serialization/test_vector_text_warchive_dll" : "libs/serialization/test/test_vector.cpp" +boost-test(RUN) "serialization/test_vector_binary_archive" : "libs/serialization/test/test_vector.cpp" +boost-test(RUN) "serialization/test_vector_binary_archive_dll" : "libs/serialization/test/test_vector.cpp" +boost-test(RUN) "serialization/test_vector_xml_archive" : "libs/serialization/test/test_vector.cpp" +boost-test(RUN) "serialization/test_vector_xml_archive_dll" : "libs/serialization/test/test_vector.cpp" +boost-test(RUN) "serialization/test_vector_xml_warchive" : "libs/serialization/test/test_vector.cpp" +boost-test(RUN) "serialization/test_vector_xml_warchive_dll" : "libs/serialization/test/test_vector.cpp" +boost-test(RUN) "serialization/test_variant_text_archive" : "libs/serialization/test/test_variant.cpp" +boost-test(RUN) "serialization/test_variant_text_archive_dll" : "libs/serialization/test/test_variant.cpp" +boost-test(RUN) "serialization/test_variant_text_warchive" : "libs/serialization/test/test_variant.cpp" +boost-test(RUN) "serialization/test_variant_text_warchive_dll" : "libs/serialization/test/test_variant.cpp" +boost-test(RUN) "serialization/test_variant_binary_archive" : "libs/serialization/test/test_variant.cpp" +boost-test(RUN) "serialization/test_variant_binary_archive_dll" : "libs/serialization/test/test_variant.cpp" +boost-test(RUN) "serialization/test_variant_xml_archive" : "libs/serialization/test/test_variant.cpp" +boost-test(RUN) "serialization/test_variant_xml_archive_dll" : "libs/serialization/test/test_variant.cpp" +boost-test(RUN) "serialization/test_variant_xml_warchive" : "libs/serialization/test/test_variant.cpp" +boost-test(RUN) "serialization/test_variant_xml_warchive_dll" : "libs/serialization/test/test_variant.cpp" +boost-test(RUN) "serialization/test_unregistered_text_archive" : "libs/serialization/test/test_unregistered.cpp" +boost-test(RUN) "serialization/test_unregistered_text_archive_dll" : "libs/serialization/test/test_unregistered.cpp" +boost-test(RUN) "serialization/test_unregistered_text_warchive" : "libs/serialization/test/test_unregistered.cpp" +boost-test(RUN) "serialization/test_unregistered_text_warchive_dll" : "libs/serialization/test/test_unregistered.cpp" +boost-test(RUN) "serialization/test_unregistered_binary_archive" : "libs/serialization/test/test_unregistered.cpp" +boost-test(RUN) "serialization/test_unregistered_binary_archive_dll" : "libs/serialization/test/test_unregistered.cpp" +boost-test(RUN) "serialization/test_unregistered_xml_archive" : "libs/serialization/test/test_unregistered.cpp" +boost-test(RUN) "serialization/test_unregistered_xml_archive_dll" : "libs/serialization/test/test_unregistered.cpp" +boost-test(RUN) "serialization/test_unregistered_xml_warchive" : "libs/serialization/test/test_unregistered.cpp" +boost-test(RUN) "serialization/test_unregistered_xml_warchive_dll" : "libs/serialization/test/test_unregistered.cpp" +boost-test(RUN) "serialization/test_tracking_text_archive" : "libs/serialization/test/test_tracking.cpp" +boost-test(RUN) "serialization/test_tracking_text_archive_dll" : "libs/serialization/test/test_tracking.cpp" +boost-test(RUN) "serialization/test_tracking_text_warchive" : "libs/serialization/test/test_tracking.cpp" +boost-test(RUN) "serialization/test_tracking_text_warchive_dll" : "libs/serialization/test/test_tracking.cpp" +boost-test(RUN) "serialization/test_tracking_binary_archive" : "libs/serialization/test/test_tracking.cpp" +boost-test(RUN) "serialization/test_tracking_binary_archive_dll" : "libs/serialization/test/test_tracking.cpp" +boost-test(RUN) "serialization/test_tracking_xml_archive" : "libs/serialization/test/test_tracking.cpp" +boost-test(RUN) "serialization/test_tracking_xml_archive_dll" : "libs/serialization/test/test_tracking.cpp" +boost-test(RUN) "serialization/test_tracking_xml_warchive" : "libs/serialization/test/test_tracking.cpp" +boost-test(RUN) "serialization/test_tracking_xml_warchive_dll" : "libs/serialization/test/test_tracking.cpp" +boost-test(RUN) "serialization/test_split_text_archive" : "libs/serialization/test/test_split.cpp" +boost-test(RUN) "serialization/test_split_text_archive_dll" : "libs/serialization/test/test_split.cpp" +boost-test(RUN) "serialization/test_split_text_warchive" : "libs/serialization/test/test_split.cpp" +boost-test(RUN) "serialization/test_split_text_warchive_dll" : "libs/serialization/test/test_split.cpp" +boost-test(RUN) "serialization/test_split_binary_archive" : "libs/serialization/test/test_split.cpp" +boost-test(RUN) "serialization/test_split_binary_archive_dll" : "libs/serialization/test/test_split.cpp" +boost-test(RUN) "serialization/test_split_xml_archive" : "libs/serialization/test/test_split.cpp" +boost-test(RUN) "serialization/test_split_xml_archive_dll" : "libs/serialization/test/test_split.cpp" +boost-test(RUN) "serialization/test_split_xml_warchive" : "libs/serialization/test/test_split.cpp" +boost-test(RUN) "serialization/test_split_xml_warchive_dll" : "libs/serialization/test/test_split.cpp" +boost-test(RUN) "serialization/test_simple_class_ptr_text_archive" : "libs/serialization/test/test_simple_class_ptr.cpp" +boost-test(RUN) "serialization/test_simple_class_ptr_text_archive_dll" : "libs/serialization/test/test_simple_class_ptr.cpp" +boost-test(RUN) "serialization/test_simple_class_ptr_text_warchive" : "libs/serialization/test/test_simple_class_ptr.cpp" +boost-test(RUN) "serialization/test_simple_class_ptr_text_warchive_dll" : "libs/serialization/test/test_simple_class_ptr.cpp" +boost-test(RUN) "serialization/test_simple_class_ptr_binary_archive" : "libs/serialization/test/test_simple_class_ptr.cpp" +boost-test(RUN) "serialization/test_simple_class_ptr_binary_archive_dll" : "libs/serialization/test/test_simple_class_ptr.cpp" +boost-test(RUN) "serialization/test_simple_class_ptr_xml_archive" : "libs/serialization/test/test_simple_class_ptr.cpp" +boost-test(RUN) "serialization/test_simple_class_ptr_xml_archive_dll" : "libs/serialization/test/test_simple_class_ptr.cpp" +boost-test(RUN) "serialization/test_simple_class_ptr_xml_warchive" : "libs/serialization/test/test_simple_class_ptr.cpp" +boost-test(RUN) "serialization/test_simple_class_ptr_xml_warchive_dll" : "libs/serialization/test/test_simple_class_ptr.cpp" +boost-test(RUN) "serialization/test_simple_class_text_archive" : "libs/serialization/test/test_simple_class.cpp" +boost-test(RUN) "serialization/test_simple_class_text_archive_dll" : "libs/serialization/test/test_simple_class.cpp" +boost-test(RUN) "serialization/test_simple_class_text_warchive" : "libs/serialization/test/test_simple_class.cpp" +boost-test(RUN) "serialization/test_simple_class_text_warchive_dll" : "libs/serialization/test/test_simple_class.cpp" +boost-test(RUN) "serialization/test_simple_class_binary_archive" : "libs/serialization/test/test_simple_class.cpp" +boost-test(RUN) "serialization/test_simple_class_binary_archive_dll" : "libs/serialization/test/test_simple_class.cpp" +boost-test(RUN) "serialization/test_simple_class_xml_archive" : "libs/serialization/test/test_simple_class.cpp" +boost-test(RUN) "serialization/test_simple_class_xml_archive_dll" : "libs/serialization/test/test_simple_class.cpp" +boost-test(RUN) "serialization/test_simple_class_xml_warchive" : "libs/serialization/test/test_simple_class.cpp" +boost-test(RUN) "serialization/test_simple_class_xml_warchive_dll" : "libs/serialization/test/test_simple_class.cpp" +boost-test(RUN) "serialization/test_set_text_archive" : "libs/serialization/test/test_set.cpp" +boost-test(RUN) "serialization/test_set_text_archive_dll" : "libs/serialization/test/test_set.cpp" +boost-test(RUN) "serialization/test_set_text_warchive" : "libs/serialization/test/test_set.cpp" +boost-test(RUN) "serialization/test_set_text_warchive_dll" : "libs/serialization/test/test_set.cpp" +boost-test(RUN) "serialization/test_set_binary_archive" : "libs/serialization/test/test_set.cpp" +boost-test(RUN) "serialization/test_set_binary_archive_dll" : "libs/serialization/test/test_set.cpp" +boost-test(RUN) "serialization/test_set_xml_archive" : "libs/serialization/test/test_set.cpp" +boost-test(RUN) "serialization/test_set_xml_archive_dll" : "libs/serialization/test/test_set.cpp" +boost-test(RUN) "serialization/test_set_xml_warchive" : "libs/serialization/test/test_set.cpp" +boost-test(RUN) "serialization/test_set_xml_warchive_dll" : "libs/serialization/test/test_set.cpp" +boost-test(RUN) "serialization/test_registered_text_archive" : "libs/serialization/test/test_registered.cpp" +boost-test(RUN) "serialization/test_registered_text_archive_dll" : "libs/serialization/test/test_registered.cpp" +boost-test(RUN) "serialization/test_registered_text_warchive" : "libs/serialization/test/test_registered.cpp" +boost-test(RUN) "serialization/test_registered_text_warchive_dll" : "libs/serialization/test/test_registered.cpp" +boost-test(RUN) "serialization/test_registered_binary_archive" : "libs/serialization/test/test_registered.cpp" +boost-test(RUN) "serialization/test_registered_binary_archive_dll" : "libs/serialization/test/test_registered.cpp" +boost-test(RUN) "serialization/test_registered_xml_archive" : "libs/serialization/test/test_registered.cpp" +boost-test(RUN) "serialization/test_registered_xml_archive_dll" : "libs/serialization/test/test_registered.cpp" +boost-test(RUN) "serialization/test_registered_xml_warchive" : "libs/serialization/test/test_registered.cpp" +boost-test(RUN) "serialization/test_registered_xml_warchive_dll" : "libs/serialization/test/test_registered.cpp" +boost-test(RUN) "serialization/test_recursion_text_archive" : "libs/serialization/test/test_recursion.cpp" +boost-test(RUN) "serialization/test_recursion_text_archive_dll" : "libs/serialization/test/test_recursion.cpp" +boost-test(RUN) "serialization/test_recursion_text_warchive" : "libs/serialization/test/test_recursion.cpp" +boost-test(RUN) "serialization/test_recursion_text_warchive_dll" : "libs/serialization/test/test_recursion.cpp" +boost-test(RUN) "serialization/test_recursion_binary_archive" : "libs/serialization/test/test_recursion.cpp" +boost-test(RUN) "serialization/test_recursion_binary_archive_dll" : "libs/serialization/test/test_recursion.cpp" +boost-test(RUN) "serialization/test_recursion_xml_archive" : "libs/serialization/test/test_recursion.cpp" +boost-test(RUN) "serialization/test_recursion_xml_archive_dll" : "libs/serialization/test/test_recursion.cpp" +boost-test(RUN) "serialization/test_recursion_xml_warchive" : "libs/serialization/test/test_recursion.cpp" +boost-test(RUN) "serialization/test_recursion_xml_warchive_dll" : "libs/serialization/test/test_recursion.cpp" +boost-test(RUN) "serialization/test_nvp_text_archive" : "libs/serialization/test/test_nvp.cpp" +boost-test(RUN) "serialization/test_nvp_text_archive_dll" : "libs/serialization/test/test_nvp.cpp" +boost-test(RUN) "serialization/test_nvp_text_warchive" : "libs/serialization/test/test_nvp.cpp" +boost-test(RUN) "serialization/test_nvp_text_warchive_dll" : "libs/serialization/test/test_nvp.cpp" +boost-test(RUN) "serialization/test_nvp_binary_archive" : "libs/serialization/test/test_nvp.cpp" +boost-test(RUN) "serialization/test_nvp_binary_archive_dll" : "libs/serialization/test/test_nvp.cpp" +boost-test(RUN) "serialization/test_nvp_xml_archive" : "libs/serialization/test/test_nvp.cpp" +boost-test(RUN) "serialization/test_nvp_xml_archive_dll" : "libs/serialization/test/test_nvp.cpp" +boost-test(RUN) "serialization/test_nvp_xml_warchive" : "libs/serialization/test/test_nvp.cpp" +boost-test(RUN) "serialization/test_nvp_xml_warchive_dll" : "libs/serialization/test/test_nvp.cpp" +boost-test(RUN) "serialization/test_null_ptr_text_archive" : "libs/serialization/test/test_null_ptr.cpp" +boost-test(RUN) "serialization/test_null_ptr_text_archive_dll" : "libs/serialization/test/test_null_ptr.cpp" +boost-test(RUN) "serialization/test_null_ptr_text_warchive" : "libs/serialization/test/test_null_ptr.cpp" +boost-test(RUN) "serialization/test_null_ptr_text_warchive_dll" : "libs/serialization/test/test_null_ptr.cpp" +boost-test(RUN) "serialization/test_null_ptr_binary_archive" : "libs/serialization/test/test_null_ptr.cpp" +boost-test(RUN) "serialization/test_null_ptr_binary_archive_dll" : "libs/serialization/test/test_null_ptr.cpp" +boost-test(RUN) "serialization/test_null_ptr_xml_archive" : "libs/serialization/test/test_null_ptr.cpp" +boost-test(RUN) "serialization/test_null_ptr_xml_archive_dll" : "libs/serialization/test/test_null_ptr.cpp" +boost-test(RUN) "serialization/test_null_ptr_xml_warchive" : "libs/serialization/test/test_null_ptr.cpp" +boost-test(RUN) "serialization/test_null_ptr_xml_warchive_dll" : "libs/serialization/test/test_null_ptr.cpp" +boost-test(RUN) "serialization/test_non_default_ctor2_text_archive" : "libs/serialization/test/test_non_default_ctor2.cpp" +boost-test(RUN) "serialization/test_non_default_ctor2_text_archive_dll" : "libs/serialization/test/test_non_default_ctor2.cpp" +boost-test(RUN) "serialization/test_non_default_ctor2_text_warchive" : "libs/serialization/test/test_non_default_ctor2.cpp" +boost-test(RUN) "serialization/test_non_default_ctor2_text_warchive_dll" : "libs/serialization/test/test_non_default_ctor2.cpp" +boost-test(RUN) "serialization/test_non_default_ctor2_binary_archive" : "libs/serialization/test/test_non_default_ctor2.cpp" +boost-test(RUN) "serialization/test_non_default_ctor2_binary_archive_dll" : "libs/serialization/test/test_non_default_ctor2.cpp" +boost-test(RUN) "serialization/test_non_default_ctor2_xml_archive" : "libs/serialization/test/test_non_default_ctor2.cpp" +boost-test(RUN) "serialization/test_non_default_ctor2_xml_archive_dll" : "libs/serialization/test/test_non_default_ctor2.cpp" +boost-test(RUN) "serialization/test_non_default_ctor2_xml_warchive" : "libs/serialization/test/test_non_default_ctor2.cpp" +boost-test(RUN) "serialization/test_non_default_ctor2_xml_warchive_dll" : "libs/serialization/test/test_non_default_ctor2.cpp" +boost-test(RUN) "serialization/test_non_default_ctor_text_archive" : "libs/serialization/test/test_non_default_ctor.cpp" +boost-test(RUN) "serialization/test_non_default_ctor_text_archive_dll" : "libs/serialization/test/test_non_default_ctor.cpp" +boost-test(RUN) "serialization/test_non_default_ctor_text_warchive" : "libs/serialization/test/test_non_default_ctor.cpp" +boost-test(RUN) "serialization/test_non_default_ctor_text_warchive_dll" : "libs/serialization/test/test_non_default_ctor.cpp" +boost-test(RUN) "serialization/test_non_default_ctor_binary_archive" : "libs/serialization/test/test_non_default_ctor.cpp" +boost-test(RUN) "serialization/test_non_default_ctor_binary_archive_dll" : "libs/serialization/test/test_non_default_ctor.cpp" +boost-test(RUN) "serialization/test_non_default_ctor_xml_archive" : "libs/serialization/test/test_non_default_ctor.cpp" +boost-test(RUN) "serialization/test_non_default_ctor_xml_archive_dll" : "libs/serialization/test/test_non_default_ctor.cpp" +boost-test(RUN) "serialization/test_non_default_ctor_xml_warchive" : "libs/serialization/test/test_non_default_ctor.cpp" +boost-test(RUN) "serialization/test_non_default_ctor_xml_warchive_dll" : "libs/serialization/test/test_non_default_ctor.cpp" +boost-test(RUN) "serialization/test_non_intrusive_text_archive" : "libs/serialization/test/test_non_intrusive.cpp" +boost-test(RUN) "serialization/test_non_intrusive_text_archive_dll" : "libs/serialization/test/test_non_intrusive.cpp" +boost-test(RUN) "serialization/test_non_intrusive_text_warchive" : "libs/serialization/test/test_non_intrusive.cpp" +boost-test(RUN) "serialization/test_non_intrusive_text_warchive_dll" : "libs/serialization/test/test_non_intrusive.cpp" +boost-test(RUN) "serialization/test_non_intrusive_binary_archive" : "libs/serialization/test/test_non_intrusive.cpp" +boost-test(RUN) "serialization/test_non_intrusive_binary_archive_dll" : "libs/serialization/test/test_non_intrusive.cpp" +boost-test(RUN) "serialization/test_non_intrusive_xml_archive" : "libs/serialization/test/test_non_intrusive.cpp" +boost-test(RUN) "serialization/test_non_intrusive_xml_archive_dll" : "libs/serialization/test/test_non_intrusive.cpp" +boost-test(RUN) "serialization/test_non_intrusive_xml_warchive" : "libs/serialization/test/test_non_intrusive.cpp" +boost-test(RUN) "serialization/test_non_intrusive_xml_warchive_dll" : "libs/serialization/test/test_non_intrusive.cpp" +boost-test(RUN) "serialization/test_no_rtti_text_archive" : "libs/serialization/test/test_no_rtti.cpp" +boost-test(RUN) "serialization/test_no_rtti_text_archive_dll" : "libs/serialization/test/test_no_rtti.cpp" +boost-test(RUN) "serialization/test_no_rtti_text_warchive" : "libs/serialization/test/test_no_rtti.cpp" +boost-test(RUN) "serialization/test_no_rtti_text_warchive_dll" : "libs/serialization/test/test_no_rtti.cpp" +boost-test(RUN) "serialization/test_no_rtti_binary_archive" : "libs/serialization/test/test_no_rtti.cpp" +boost-test(RUN) "serialization/test_no_rtti_binary_archive_dll" : "libs/serialization/test/test_no_rtti.cpp" +boost-test(RUN) "serialization/test_no_rtti_xml_archive" : "libs/serialization/test/test_no_rtti.cpp" +boost-test(RUN) "serialization/test_no_rtti_xml_archive_dll" : "libs/serialization/test/test_no_rtti.cpp" +boost-test(RUN) "serialization/test_no_rtti_xml_warchive" : "libs/serialization/test/test_no_rtti.cpp" +boost-test(RUN) "serialization/test_no_rtti_xml_warchive_dll" : "libs/serialization/test/test_no_rtti.cpp" +boost-test(RUN) "serialization/test_multiple_ptrs_text_archive" : "libs/serialization/test/test_multiple_ptrs.cpp" +boost-test(RUN) "serialization/test_multiple_ptrs_text_archive_dll" : "libs/serialization/test/test_multiple_ptrs.cpp" +boost-test(RUN) "serialization/test_multiple_ptrs_text_warchive" : "libs/serialization/test/test_multiple_ptrs.cpp" +boost-test(RUN) "serialization/test_multiple_ptrs_text_warchive_dll" : "libs/serialization/test/test_multiple_ptrs.cpp" +boost-test(RUN) "serialization/test_multiple_ptrs_binary_archive" : "libs/serialization/test/test_multiple_ptrs.cpp" +boost-test(RUN) "serialization/test_multiple_ptrs_binary_archive_dll" : "libs/serialization/test/test_multiple_ptrs.cpp" +boost-test(RUN) "serialization/test_multiple_ptrs_xml_archive" : "libs/serialization/test/test_multiple_ptrs.cpp" +boost-test(RUN) "serialization/test_multiple_ptrs_xml_archive_dll" : "libs/serialization/test/test_multiple_ptrs.cpp" +boost-test(RUN) "serialization/test_multiple_ptrs_xml_warchive" : "libs/serialization/test/test_multiple_ptrs.cpp" +boost-test(RUN) "serialization/test_multiple_ptrs_xml_warchive_dll" : "libs/serialization/test/test_multiple_ptrs.cpp" +boost-test(RUN) "serialization/test_mi_text_archive" : "libs/serialization/test/test_mi.cpp" +boost-test(RUN) "serialization/test_mi_text_archive_dll" : "libs/serialization/test/test_mi.cpp" +boost-test(RUN) "serialization/test_mi_text_warchive" : "libs/serialization/test/test_mi.cpp" +boost-test(RUN) "serialization/test_mi_text_warchive_dll" : "libs/serialization/test/test_mi.cpp" +boost-test(RUN) "serialization/test_mi_binary_archive" : "libs/serialization/test/test_mi.cpp" +boost-test(RUN) "serialization/test_mi_binary_archive_dll" : "libs/serialization/test/test_mi.cpp" +boost-test(RUN) "serialization/test_mi_xml_archive" : "libs/serialization/test/test_mi.cpp" +boost-test(RUN) "serialization/test_mi_xml_archive_dll" : "libs/serialization/test/test_mi.cpp" +boost-test(RUN) "serialization/test_mi_xml_warchive" : "libs/serialization/test/test_mi.cpp" +boost-test(RUN) "serialization/test_mi_xml_warchive_dll" : "libs/serialization/test/test_mi.cpp" +boost-test(RUN) "serialization/test_map_text_archive" : "libs/serialization/test/test_map.cpp" +boost-test(RUN) "serialization/test_map_text_archive_dll" : "libs/serialization/test/test_map.cpp" +boost-test(RUN) "serialization/test_map_text_warchive" : "libs/serialization/test/test_map.cpp" +boost-test(RUN) "serialization/test_map_text_warchive_dll" : "libs/serialization/test/test_map.cpp" +boost-test(RUN) "serialization/test_map_binary_archive" : "libs/serialization/test/test_map.cpp" +boost-test(RUN) "serialization/test_map_binary_archive_dll" : "libs/serialization/test/test_map.cpp" +boost-test(RUN) "serialization/test_map_xml_archive" : "libs/serialization/test/test_map.cpp" +boost-test(RUN) "serialization/test_map_xml_archive_dll" : "libs/serialization/test/test_map.cpp" +boost-test(RUN) "serialization/test_map_xml_warchive" : "libs/serialization/test/test_map.cpp" +boost-test(RUN) "serialization/test_map_xml_warchive_dll" : "libs/serialization/test/test_map.cpp" +boost-test(RUN) "serialization/test_list_ptrs_text_archive" : "libs/serialization/test/test_list_ptrs.cpp" +boost-test(RUN) "serialization/test_list_ptrs_text_archive_dll" : "libs/serialization/test/test_list_ptrs.cpp" +boost-test(RUN) "serialization/test_list_ptrs_text_warchive" : "libs/serialization/test/test_list_ptrs.cpp" +boost-test(RUN) "serialization/test_list_ptrs_text_warchive_dll" : "libs/serialization/test/test_list_ptrs.cpp" +boost-test(RUN) "serialization/test_list_ptrs_binary_archive" : "libs/serialization/test/test_list_ptrs.cpp" +boost-test(RUN) "serialization/test_list_ptrs_binary_archive_dll" : "libs/serialization/test/test_list_ptrs.cpp" +boost-test(RUN) "serialization/test_list_ptrs_xml_archive" : "libs/serialization/test/test_list_ptrs.cpp" +boost-test(RUN) "serialization/test_list_ptrs_xml_archive_dll" : "libs/serialization/test/test_list_ptrs.cpp" +boost-test(RUN) "serialization/test_list_ptrs_xml_warchive" : "libs/serialization/test/test_list_ptrs.cpp" +boost-test(RUN) "serialization/test_list_ptrs_xml_warchive_dll" : "libs/serialization/test/test_list_ptrs.cpp" +boost-test(RUN) "serialization/test_list_text_archive" : "libs/serialization/test/test_list.cpp" +boost-test(RUN) "serialization/test_list_text_archive_dll" : "libs/serialization/test/test_list.cpp" +boost-test(RUN) "serialization/test_list_text_warchive" : "libs/serialization/test/test_list.cpp" +boost-test(RUN) "serialization/test_list_text_warchive_dll" : "libs/serialization/test/test_list.cpp" +boost-test(RUN) "serialization/test_list_binary_archive" : "libs/serialization/test/test_list.cpp" +boost-test(RUN) "serialization/test_list_binary_archive_dll" : "libs/serialization/test/test_list.cpp" +boost-test(RUN) "serialization/test_list_xml_archive" : "libs/serialization/test/test_list.cpp" +boost-test(RUN) "serialization/test_list_xml_archive_dll" : "libs/serialization/test/test_list.cpp" +boost-test(RUN) "serialization/test_list_xml_warchive" : "libs/serialization/test/test_list.cpp" +boost-test(RUN) "serialization/test_list_xml_warchive_dll" : "libs/serialization/test/test_list.cpp" +boost-test(RUN) "serialization/test_primitive_text_archive" : "libs/serialization/test/test_primitive.cpp" +boost-test(RUN) "serialization/test_primitive_text_archive_dll" : "libs/serialization/test/test_primitive.cpp" +boost-test(RUN) "serialization/test_primitive_text_warchive" : "libs/serialization/test/test_primitive.cpp" +boost-test(RUN) "serialization/test_primitive_text_warchive_dll" : "libs/serialization/test/test_primitive.cpp" +boost-test(RUN) "serialization/test_primitive_binary_archive" : "libs/serialization/test/test_primitive.cpp" +boost-test(RUN) "serialization/test_primitive_binary_archive_dll" : "libs/serialization/test/test_primitive.cpp" +boost-test(RUN) "serialization/test_primitive_xml_archive" : "libs/serialization/test/test_primitive.cpp" +boost-test(RUN) "serialization/test_primitive_xml_archive_dll" : "libs/serialization/test/test_primitive.cpp" +boost-test(RUN) "serialization/test_primitive_xml_warchive" : "libs/serialization/test/test_primitive.cpp" +boost-test(RUN) "serialization/test_primitive_xml_warchive_dll" : "libs/serialization/test/test_primitive.cpp" +boost-test(RUN) "serialization/test_object_text_archive" : "libs/serialization/test/test_object.cpp" +boost-test(RUN) "serialization/test_object_text_archive_dll" : "libs/serialization/test/test_object.cpp" +boost-test(RUN) "serialization/test_object_text_warchive" : "libs/serialization/test/test_object.cpp" +boost-test(RUN) "serialization/test_object_text_warchive_dll" : "libs/serialization/test/test_object.cpp" +boost-test(RUN) "serialization/test_object_binary_archive" : "libs/serialization/test/test_object.cpp" +boost-test(RUN) "serialization/test_object_binary_archive_dll" : "libs/serialization/test/test_object.cpp" +boost-test(RUN) "serialization/test_object_xml_archive" : "libs/serialization/test/test_object.cpp" +boost-test(RUN) "serialization/test_object_xml_archive_dll" : "libs/serialization/test/test_object.cpp" +boost-test(RUN) "serialization/test_object_xml_warchive" : "libs/serialization/test/test_object.cpp" +boost-test(RUN) "serialization/test_object_xml_warchive_dll" : "libs/serialization/test/test_object.cpp" +boost-test(RUN) "serialization/test_class_info_save_text_archive" : "libs/serialization/test/test_class_info_save.cpp" +boost-test(RUN) "serialization/test_class_info_save_text_archive_dll" : "libs/serialization/test/test_class_info_save.cpp" +boost-test(RUN) "serialization/test_class_info_save_text_warchive" : "libs/serialization/test/test_class_info_save.cpp" +boost-test(RUN) "serialization/test_class_info_save_text_warchive_dll" : "libs/serialization/test/test_class_info_save.cpp" +boost-test(RUN) "serialization/test_class_info_save_binary_archive" : "libs/serialization/test/test_class_info_save.cpp" +boost-test(RUN) "serialization/test_class_info_save_binary_archive_dll" : "libs/serialization/test/test_class_info_save.cpp" +boost-test(RUN) "serialization/test_class_info_save_xml_archive" : "libs/serialization/test/test_class_info_save.cpp" +boost-test(RUN) "serialization/test_class_info_save_xml_archive_dll" : "libs/serialization/test/test_class_info_save.cpp" +boost-test(RUN) "serialization/test_class_info_save_xml_warchive" : "libs/serialization/test/test_class_info_save.cpp" +boost-test(RUN) "serialization/test_class_info_save_xml_warchive_dll" : "libs/serialization/test/test_class_info_save.cpp" +boost-test(RUN) "serialization/test_class_info_load_text_archive" : "libs/serialization/test/test_class_info_load.cpp" +boost-test(RUN) "serialization/test_class_info_load_text_archive_dll" : "libs/serialization/test/test_class_info_load.cpp" +boost-test(RUN) "serialization/test_class_info_load_text_warchive" : "libs/serialization/test/test_class_info_load.cpp" +boost-test(RUN) "serialization/test_class_info_load_text_warchive_dll" : "libs/serialization/test/test_class_info_load.cpp" +boost-test(RUN) "serialization/test_class_info_load_binary_archive" : "libs/serialization/test/test_class_info_load.cpp" +boost-test(RUN) "serialization/test_class_info_load_binary_archive_dll" : "libs/serialization/test/test_class_info_load.cpp" +boost-test(RUN) "serialization/test_class_info_load_xml_archive" : "libs/serialization/test/test_class_info_load.cpp" +boost-test(RUN) "serialization/test_class_info_load_xml_archive_dll" : "libs/serialization/test/test_class_info_load.cpp" +boost-test(RUN) "serialization/test_class_info_load_xml_warchive" : "libs/serialization/test/test_class_info_load.cpp" +boost-test(RUN) "serialization/test_class_info_load_xml_warchive_dll" : "libs/serialization/test/test_class_info_load.cpp" +boost-test(RUN) "serialization/test_exported_text_archive" : "libs/serialization/test/test_exported.cpp" +boost-test(RUN) "serialization/test_exported_text_archive_dll" : "libs/serialization/test/test_exported.cpp" +boost-test(RUN) "serialization/test_exported_text_warchive" : "libs/serialization/test/test_exported.cpp" +boost-test(RUN) "serialization/test_exported_text_warchive_dll" : "libs/serialization/test/test_exported.cpp" +boost-test(RUN) "serialization/test_exported_binary_archive" : "libs/serialization/test/test_exported.cpp" +boost-test(RUN) "serialization/test_exported_binary_archive_dll" : "libs/serialization/test/test_exported.cpp" +boost-test(RUN) "serialization/test_exported_xml_archive" : "libs/serialization/test/test_exported.cpp" +boost-test(RUN) "serialization/test_exported_xml_archive_dll" : "libs/serialization/test/test_exported.cpp" +boost-test(RUN) "serialization/test_exported_xml_warchive" : "libs/serialization/test/test_exported.cpp" +boost-test(RUN) "serialization/test_exported_xml_warchive_dll" : "libs/serialization/test/test_exported.cpp" +boost-test(RUN) "serialization/test_diamond_text_archive" : "libs/serialization/test/test_diamond.cpp" +boost-test(RUN) "serialization/test_diamond_text_archive_dll" : "libs/serialization/test/test_diamond.cpp" +boost-test(RUN) "serialization/test_diamond_text_warchive" : "libs/serialization/test/test_diamond.cpp" +boost-test(RUN) "serialization/test_diamond_text_warchive_dll" : "libs/serialization/test/test_diamond.cpp" +boost-test(RUN) "serialization/test_diamond_binary_archive" : "libs/serialization/test/test_diamond.cpp" +boost-test(RUN) "serialization/test_diamond_binary_archive_dll" : "libs/serialization/test/test_diamond.cpp" +boost-test(RUN) "serialization/test_diamond_xml_archive" : "libs/serialization/test/test_diamond.cpp" +boost-test(RUN) "serialization/test_diamond_xml_archive_dll" : "libs/serialization/test/test_diamond.cpp" +boost-test(RUN) "serialization/test_diamond_xml_warchive" : "libs/serialization/test/test_diamond.cpp" +boost-test(RUN) "serialization/test_diamond_xml_warchive_dll" : "libs/serialization/test/test_diamond.cpp" +boost-test(RUN) "serialization/test_derived_class_ptr_text_archive" : "libs/serialization/test/test_derived_class_ptr.cpp" +boost-test(RUN) "serialization/test_derived_class_ptr_text_archive_dll" : "libs/serialization/test/test_derived_class_ptr.cpp" +boost-test(RUN) "serialization/test_derived_class_ptr_text_warchive" : "libs/serialization/test/test_derived_class_ptr.cpp" +boost-test(RUN) "serialization/test_derived_class_ptr_text_warchive_dll" : "libs/serialization/test/test_derived_class_ptr.cpp" +boost-test(RUN) "serialization/test_derived_class_ptr_binary_archive" : "libs/serialization/test/test_derived_class_ptr.cpp" +boost-test(RUN) "serialization/test_derived_class_ptr_binary_archive_dll" : "libs/serialization/test/test_derived_class_ptr.cpp" +boost-test(RUN) "serialization/test_derived_class_ptr_xml_archive" : "libs/serialization/test/test_derived_class_ptr.cpp" +boost-test(RUN) "serialization/test_derived_class_ptr_xml_archive_dll" : "libs/serialization/test/test_derived_class_ptr.cpp" +boost-test(RUN) "serialization/test_derived_class_ptr_xml_warchive" : "libs/serialization/test/test_derived_class_ptr.cpp" +boost-test(RUN) "serialization/test_derived_class_ptr_xml_warchive_dll" : "libs/serialization/test/test_derived_class_ptr.cpp" +boost-test(RUN) "serialization/test_derived_class_text_archive" : "libs/serialization/test/test_derived_class.cpp" +boost-test(RUN) "serialization/test_derived_class_text_archive_dll" : "libs/serialization/test/test_derived_class.cpp" +boost-test(RUN) "serialization/test_derived_class_text_warchive" : "libs/serialization/test/test_derived_class.cpp" +boost-test(RUN) "serialization/test_derived_class_text_warchive_dll" : "libs/serialization/test/test_derived_class.cpp" +boost-test(RUN) "serialization/test_derived_class_binary_archive" : "libs/serialization/test/test_derived_class.cpp" +boost-test(RUN) "serialization/test_derived_class_binary_archive_dll" : "libs/serialization/test/test_derived_class.cpp" +boost-test(RUN) "serialization/test_derived_class_xml_archive" : "libs/serialization/test/test_derived_class.cpp" +boost-test(RUN) "serialization/test_derived_class_xml_archive_dll" : "libs/serialization/test/test_derived_class.cpp" +boost-test(RUN) "serialization/test_derived_class_xml_warchive" : "libs/serialization/test/test_derived_class.cpp" +boost-test(RUN) "serialization/test_derived_class_xml_warchive_dll" : "libs/serialization/test/test_derived_class.cpp" +boost-test(RUN) "serialization/test_derived_text_archive" : "libs/serialization/test/test_derived.cpp" +boost-test(RUN) "serialization/test_derived_text_archive_dll" : "libs/serialization/test/test_derived.cpp" +boost-test(RUN) "serialization/test_derived_text_warchive" : "libs/serialization/test/test_derived.cpp" +boost-test(RUN) "serialization/test_derived_text_warchive_dll" : "libs/serialization/test/test_derived.cpp" +boost-test(RUN) "serialization/test_derived_binary_archive" : "libs/serialization/test/test_derived.cpp" +boost-test(RUN) "serialization/test_derived_binary_archive_dll" : "libs/serialization/test/test_derived.cpp" +boost-test(RUN) "serialization/test_derived_xml_archive" : "libs/serialization/test/test_derived.cpp" +boost-test(RUN) "serialization/test_derived_xml_archive_dll" : "libs/serialization/test/test_derived.cpp" +boost-test(RUN) "serialization/test_derived_xml_warchive" : "libs/serialization/test/test_derived.cpp" +boost-test(RUN) "serialization/test_derived_xml_warchive_dll" : "libs/serialization/test/test_derived.cpp" +boost-test(RUN) "serialization/test_deque_text_archive" : "libs/serialization/test/test_deque.cpp" +boost-test(RUN) "serialization/test_deque_text_archive_dll" : "libs/serialization/test/test_deque.cpp" +boost-test(RUN) "serialization/test_deque_text_warchive" : "libs/serialization/test/test_deque.cpp" +boost-test(RUN) "serialization/test_deque_text_warchive_dll" : "libs/serialization/test/test_deque.cpp" +boost-test(RUN) "serialization/test_deque_binary_archive" : "libs/serialization/test/test_deque.cpp" +boost-test(RUN) "serialization/test_deque_binary_archive_dll" : "libs/serialization/test/test_deque.cpp" +boost-test(RUN) "serialization/test_deque_xml_archive" : "libs/serialization/test/test_deque.cpp" +boost-test(RUN) "serialization/test_deque_xml_archive_dll" : "libs/serialization/test/test_deque.cpp" +boost-test(RUN) "serialization/test_deque_xml_warchive" : "libs/serialization/test/test_deque.cpp" +boost-test(RUN) "serialization/test_deque_xml_warchive_dll" : "libs/serialization/test/test_deque.cpp" +boost-test(RUN) "serialization/test_delete_pointer_text_archive" : "libs/serialization/test/test_delete_pointer.cpp" +boost-test(RUN) "serialization/test_delete_pointer_text_archive_dll" : "libs/serialization/test/test_delete_pointer.cpp" +boost-test(RUN) "serialization/test_delete_pointer_text_warchive" : "libs/serialization/test/test_delete_pointer.cpp" +boost-test(RUN) "serialization/test_delete_pointer_text_warchive_dll" : "libs/serialization/test/test_delete_pointer.cpp" +boost-test(RUN) "serialization/test_delete_pointer_binary_archive" : "libs/serialization/test/test_delete_pointer.cpp" +boost-test(RUN) "serialization/test_delete_pointer_binary_archive_dll" : "libs/serialization/test/test_delete_pointer.cpp" +boost-test(RUN) "serialization/test_delete_pointer_xml_archive" : "libs/serialization/test/test_delete_pointer.cpp" +boost-test(RUN) "serialization/test_delete_pointer_xml_archive_dll" : "libs/serialization/test/test_delete_pointer.cpp" +boost-test(RUN) "serialization/test_delete_pointer_xml_warchive" : "libs/serialization/test/test_delete_pointer.cpp" +boost-test(RUN) "serialization/test_delete_pointer_xml_warchive_dll" : "libs/serialization/test/test_delete_pointer.cpp" +boost-test(RUN) "serialization/test_cyclic_ptrs_text_archive" : "libs/serialization/test/test_cyclic_ptrs.cpp" +boost-test(RUN) "serialization/test_cyclic_ptrs_text_archive_dll" : "libs/serialization/test/test_cyclic_ptrs.cpp" +boost-test(RUN) "serialization/test_cyclic_ptrs_text_warchive" : "libs/serialization/test/test_cyclic_ptrs.cpp" +boost-test(RUN) "serialization/test_cyclic_ptrs_text_warchive_dll" : "libs/serialization/test/test_cyclic_ptrs.cpp" +boost-test(RUN) "serialization/test_cyclic_ptrs_binary_archive" : "libs/serialization/test/test_cyclic_ptrs.cpp" +boost-test(RUN) "serialization/test_cyclic_ptrs_binary_archive_dll" : "libs/serialization/test/test_cyclic_ptrs.cpp" +boost-test(RUN) "serialization/test_cyclic_ptrs_xml_archive" : "libs/serialization/test/test_cyclic_ptrs.cpp" +boost-test(RUN) "serialization/test_cyclic_ptrs_xml_archive_dll" : "libs/serialization/test/test_cyclic_ptrs.cpp" +boost-test(RUN) "serialization/test_cyclic_ptrs_xml_warchive" : "libs/serialization/test/test_cyclic_ptrs.cpp" +boost-test(RUN) "serialization/test_cyclic_ptrs_xml_warchive_dll" : "libs/serialization/test/test_cyclic_ptrs.cpp" +boost-test(RUN) "serialization/test_contained_class_text_archive" : "libs/serialization/test/test_contained_class.cpp" +boost-test(RUN) "serialization/test_contained_class_text_archive_dll" : "libs/serialization/test/test_contained_class.cpp" +boost-test(RUN) "serialization/test_contained_class_text_warchive" : "libs/serialization/test/test_contained_class.cpp" +boost-test(RUN) "serialization/test_contained_class_text_warchive_dll" : "libs/serialization/test/test_contained_class.cpp" +boost-test(RUN) "serialization/test_contained_class_binary_archive" : "libs/serialization/test/test_contained_class.cpp" +boost-test(RUN) "serialization/test_contained_class_binary_archive_dll" : "libs/serialization/test/test_contained_class.cpp" +boost-test(RUN) "serialization/test_contained_class_xml_archive" : "libs/serialization/test/test_contained_class.cpp" +boost-test(RUN) "serialization/test_contained_class_xml_archive_dll" : "libs/serialization/test/test_contained_class.cpp" +boost-test(RUN) "serialization/test_contained_class_xml_warchive" : "libs/serialization/test/test_contained_class.cpp" +boost-test(RUN) "serialization/test_contained_class_xml_warchive_dll" : "libs/serialization/test/test_contained_class.cpp" +boost-test(RUN) "serialization/test_binary_text_archive" : "libs/serialization/test/test_binary.cpp" +boost-test(RUN) "serialization/test_binary_text_archive_dll" : "libs/serialization/test/test_binary.cpp" +boost-test(RUN) "serialization/test_binary_text_warchive" : "libs/serialization/test/test_binary.cpp" +boost-test(RUN) "serialization/test_binary_text_warchive_dll" : "libs/serialization/test/test_binary.cpp" +boost-test(RUN) "serialization/test_binary_binary_archive" : "libs/serialization/test/test_binary.cpp" +boost-test(RUN) "serialization/test_binary_binary_archive_dll" : "libs/serialization/test/test_binary.cpp" +boost-test(RUN) "serialization/test_binary_xml_archive" : "libs/serialization/test/test_binary.cpp" +boost-test(RUN) "serialization/test_binary_xml_archive_dll" : "libs/serialization/test/test_binary.cpp" +boost-test(RUN) "serialization/test_binary_xml_warchive" : "libs/serialization/test/test_binary.cpp" +boost-test(RUN) "serialization/test_binary_xml_warchive_dll" : "libs/serialization/test/test_binary.cpp" +boost-test(RUN) "serialization/test_array_text_archive" : "libs/serialization/test/test_array.cpp" +boost-test(RUN) "serialization/test_array_text_archive_dll" : "libs/serialization/test/test_array.cpp" +boost-test(RUN) "serialization/test_array_text_warchive" : "libs/serialization/test/test_array.cpp" +boost-test(RUN) "serialization/test_array_text_warchive_dll" : "libs/serialization/test/test_array.cpp" +boost-test(RUN) "serialization/test_array_binary_archive" : "libs/serialization/test/test_array.cpp" +boost-test(RUN) "serialization/test_array_binary_archive_dll" : "libs/serialization/test/test_array.cpp" +boost-test(RUN) "serialization/test_array_xml_archive" : "libs/serialization/test/test_array.cpp" +boost-test(RUN) "serialization/test_array_xml_archive_dll" : "libs/serialization/test/test_array.cpp" +boost-test(RUN) "serialization/test_array_xml_warchive" : "libs/serialization/test/test_array.cpp" +boost-test(RUN) "serialization/test_array_xml_warchive_dll" : "libs/serialization/test/test_array.cpp" +boost-test(COMPILE) "serialization/test_const_pass" : "libs/serialization/test/test_const_pass.cpp" +boost-test(COMPILE) "serialization/test_traits_pass" : "libs/serialization/test/test_traits_pass.cpp" +boost-test(COMPILE_FAIL) "serialization/test_const_load_fail3_nvp" : "libs/serialization/test/test_const_load_fail3_nvp.cpp" +boost-test(COMPILE_FAIL) "serialization/test_const_load_fail2_nvp" : "libs/serialization/test/test_const_load_fail2_nvp.cpp" +boost-test(COMPILE_FAIL) "serialization/test_const_load_fail1_nvp" : "libs/serialization/test/test_const_load_fail1_nvp.cpp" +boost-test(COMPILE_FAIL) "serialization/test_const_load_fail3" : "libs/serialization/test/test_const_load_fail3.cpp" +boost-test(COMPILE_FAIL) "serialization/test_const_load_fail2" : "libs/serialization/test/test_const_load_fail2.cpp" +boost-test(COMPILE_FAIL) "serialization/test_const_load_fail1" : "libs/serialization/test/test_const_load_fail1.cpp" +boost-test(COMPILE_FAIL) "serialization/test_const_save_fail3" : "libs/serialization/test/test_const_save_fail3.cpp" +boost-test(COMPILE_FAIL) "serialization/test_const_save_fail2" : "libs/serialization/test/test_const_save_fail2.cpp" +boost-test(COMPILE_FAIL) "serialization/test_const_save_fail1" : "libs/serialization/test/test_const_save_fail1.cpp" +boost-test(COMPILE_FAIL) "serialization/test_traits_fail" : "libs/serialization/test/test_traits_fail.cpp" +boost-test(COMPILE_FAIL) "serialization/test_not_serializable" : "libs/serialization/test/test_not_serializable.cpp" +boost-test(RUN) "serialization/test_demo_xml_save" : "libs/serialization/test/test_demo_xml_save.cpp" +boost-test(RUN) "serialization/test_demo_xml_save_dll" : "libs/serialization/test/test_demo_xml_save.cpp" +boost-test(RUN) "serialization/test_demo_xml_load" : "libs/serialization/test/test_demo_xml_load.cpp" +boost-test(RUN) "serialization/test_demo_xml_load_dll" : "libs/serialization/test/test_demo_xml_load.cpp" +boost-test(RUN) "serialization/test_demo_xml" : "libs/serialization/test/test_demo_xml.cpp" +boost-test(RUN) "serialization/test_demo_xml_dll" : "libs/serialization/test/test_demo_xml.cpp" +boost-test(RUN) "serialization/test_demo_shared_ptr" : "libs/serialization/test/test_demo_shared_ptr.cpp" +boost-test(RUN) "serialization/test_demo_shared_ptr_dll" : "libs/serialization/test/test_demo_shared_ptr.cpp" +boost-test(RUN) "serialization/test_demo_portable_archive" : "libs/serialization/test/test_demo_portable_archive.cpp" +boost-test(RUN) "serialization/test_demo_portable_archive_dll" : "libs/serialization/test/test_demo_portable_archive.cpp" +boost-test(RUN) "serialization/test_demo_polymorphic" : "libs/serialization/test/test_demo_polymorphic.cpp" "libs/serialization/example/demo_polymorphic_A.cpp" +boost-test(RUN) "serialization/test_demo_polymorphic_dll" : "libs/serialization/test/test_demo_polymorphic.cpp" "libs/serialization/example/demo_polymorphic_A.cpp" +boost-test(RUN) "serialization/test_demo_pimpl" : "libs/serialization/test/test_demo_pimpl.cpp" "libs/serialization/example/demo_pimpl_A.cpp" +boost-test(RUN) "serialization/test_demo_pimpl_dll" : "libs/serialization/test/test_demo_pimpl.cpp" "libs/serialization/example/demo_pimpl_A.cpp" +boost-test(RUN) "serialization/test_demo_fast_archive" : "libs/serialization/test/test_demo_fast_archive.cpp" +boost-test(RUN) "serialization/test_demo_fast_archive_dll" : "libs/serialization/test/test_demo_fast_archive.cpp" +boost-test(RUN) "serialization/test_demo_exception" : "libs/serialization/test/test_demo_exception.cpp" +boost-test(RUN) "serialization/test_demo_exception_dll" : "libs/serialization/test/test_demo_exception.cpp" +boost-test(RUN) "serialization/test_demo_auto_ptr" : "libs/serialization/test/test_demo_auto_ptr.cpp" +boost-test(RUN) "serialization/test_demo_auto_ptr_dll" : "libs/serialization/test/test_demo_auto_ptr.cpp" +boost-test(RUN) "serialization/test_demo" : "libs/serialization/test/test_demo.cpp" +boost-test(RUN) "serialization/test_demo_dll" : "libs/serialization/test/test_demo.cpp" +boost-test(RUN) "serialization/test_codecvt_null" : "libs/serialization/test/test_codecvt_null.cpp" "libs/serialization/src/codecvt_null.cpp" +boost-test(RUN) "serialization/test_mult_archive_types" : "libs/serialization/test/test_mult_archive_types.cpp" +boost-test(RUN) "serialization/test_mult_archive_types_dll" : "libs/serialization/test/test_mult_archive_types.cpp" +boost-test(RUN) "serialization/test_void_cast" : "libs/serialization/test/test_void_cast.cpp" +boost-test(RUN) "serialization/test_void_cast_dll" : "libs/serialization/test/test_void_cast.cpp" +boost-test(RUN) "serialization/test_utf8_codecvt" : "libs/serialization/test/test_utf8_codecvt.cpp" "libs/serialization/src/utf8_codecvt_facet.cpp" +boost-test(RUN) "serialization/test_static_warning" : "libs/serialization/test/test_static_warning.cpp" +boost-test(RUN) "serialization/test_smart_cast" : "libs/serialization/test/test_smart_cast.cpp" +boost-test(RUN) "serialization/test_reset_object_address" : "libs/serialization/test/test_reset_object_address.cpp" +boost-test(RUN) "serialization/test_reset_object_address_dll" : "libs/serialization/test/test_reset_object_address.cpp" +boost-test(RUN) "serialization/test_private_ctor" : "libs/serialization/test/test_private_ctor.cpp" +boost-test(RUN) "serialization/test_private_ctor_dll" : "libs/serialization/test/test_private_ctor.cpp" +boost-test(RUN) "serialization/test_inclusion" : "libs/serialization/test/test_inclusion.cpp" +boost-test(RUN) "serialization/test_iterators_base64" : "libs/serialization/test/test_iterators_base64.cpp" +boost-test(RUN) "serialization/test_iterators" : "libs/serialization/test/test_iterators.cpp" +boost-test(RUN) "signals/trackable_test" : "libs/signals/test/trackable_test.cpp" +boost-test(RUN) "signals/signal_test" : "libs/signals/test/signal_test.cpp" +boost-test(RUN) "signals/signal_n_test" : "libs/signals/test/signal_n_test.cpp" +boost-test(RUN) "signals/ordering_test" : "libs/signals/test/ordering_test.cpp" +boost-test(RUN) "signals/deletion_test" : "libs/signals/test/deletion_test.cpp" +boost-test(RUN) "signals/dead_slot_test" : "libs/signals/test/dead_slot_test.cpp" +boost-test(RUN) "smart_ptr/auto_ptr_rv_test" : "libs/smart_ptr/test/auto_ptr_rv_test.cpp" +boost-test(COMPILE) "smart_ptr/pointer_to_other_test" : "libs/smart_ptr/test/pointer_to_other_test.cpp" +boost-test(RUN) "smart_ptr/pointer_cast_test" : "libs/smart_ptr/test/pointer_cast_test.cpp" +boost-test(RUN) "smart_ptr/shared_ptr_alloc2_test" : "libs/smart_ptr/test/shared_ptr_alloc2_test.cpp" +boost-test(COMPILE_FAIL) "smart_ptr/shared_ptr_delete_fail" : "libs/smart_ptr/test/shared_ptr_delete_fail.cpp" +boost-test(COMPILE_FAIL) "smart_ptr/shared_ptr_assign_fail" : "libs/smart_ptr/test/shared_ptr_assign_fail.cpp" +boost-test(RUN) "smart_ptr/lw_mutex_test" : "libs/smart_ptr/test/lw_mutex_test.cpp" +boost-test(RUN) "smart_ptr/atomic_count_test" : "libs/smart_ptr/test/atomic_count_test.cpp" +boost-test(RUN) "smart_ptr/intrusive_ptr_test" : "libs/smart_ptr/test/intrusive_ptr_test.cpp" +boost-test(RUN) "smart_ptr/get_deleter_test" : "libs/smart_ptr/test/get_deleter_test.cpp" +boost-test(RUN) "smart_ptr/shared_from_this_test" : "libs/smart_ptr/test/shared_from_this_test.cpp" +boost-test(RUN) "smart_ptr/weak_ptr_test" : "libs/smart_ptr/test/weak_ptr_test.cpp" +boost-test(RUN) "smart_ptr/shared_ptr_test" : "libs/smart_ptr/test/shared_ptr_test.cpp" +boost-test(RUN) "smart_ptr/shared_ptr_basic_test" : "libs/smart_ptr/test/shared_ptr_basic_test.cpp" +boost-test(RUN) "smart_ptr/smart_ptr_test" : "libs/smart_ptr/test/smart_ptr_test.cpp" +boost-test(RUN) "spirit/match_tests_debug" : "libs/spirit/test/match_tests.cpp" +boost-test(RUN) "spirit/match_tests" : "libs/spirit/test/match_tests.cpp" +boost-test(RUN) "spirit/scanner_value_type_tests_debug" : "libs/spirit/test/scanner_value_type_tests.cpp" +boost-test(RUN) "spirit/scanner_value_type_tests" : "libs/spirit/test/scanner_value_type_tests.cpp" +boost-test(RUN) "spirit/scanner_tests_debug" : "libs/spirit/test/scanner_tests.cpp" +boost-test(RUN) "spirit/scanner_tests" : "libs/spirit/test/scanner_tests.cpp" +boost-test(RUN) "spirit/numerics_tests_debug" : "libs/spirit/test/numerics_tests.cpp" +boost-test(RUN) "spirit/numerics_tests" : "libs/spirit/test/numerics_tests.cpp" +boost-test(COMPILE_FAIL) "spirit/char_strings_test_fail" : "libs/spirit/test/char_strings_test_fail.cpp" +boost-test(RUN) "spirit/char_strings_test_debug" : "libs/spirit/test/char_strings_test.cpp" +boost-test(RUN) "spirit/char_strings_test" : "libs/spirit/test/char_strings_test.cpp" +boost-test(RUN) "spirit/primitives_tests_debug" : "libs/spirit/test/primitives_tests.cpp" +boost-test(RUN) "spirit/primitives_tests" : "libs/spirit/test/primitives_tests.cpp" +boost-test(RUN) "spirit/shortest_alternative_tests_debug" : "libs/spirit/test/shortest_alternative_tests.cpp" +boost-test(RUN) "spirit/shortest_alternative_tests" : "libs/spirit/test/shortest_alternative_tests.cpp" +boost-test(RUN) "spirit/directives_tests_debug" : "libs/spirit/test/directives_tests.cpp" +boost-test(RUN) "spirit/directives_tests" : "libs/spirit/test/directives_tests.cpp" +boost-test(RUN) "spirit/operators_tests_debug" : "libs/spirit/test/operators_tests.cpp" +boost-test(RUN) "spirit/operators_tests" : "libs/spirit/test/operators_tests.cpp" +boost-test(RUN) "spirit/negated_eps_p_test_debug" : "libs/spirit/test/negated_eps_p_test.cpp" +boost-test(RUN) "spirit/negated_eps_p_test" : "libs/spirit/test/negated_eps_p_test.cpp" +boost-test(RUN) "spirit/epsilon_tests_debug" : "libs/spirit/test/epsilon_tests.cpp" +boost-test(RUN) "spirit/epsilon_tests" : "libs/spirit/test/epsilon_tests.cpp" +boost-test(RUN) "spirit/parser_context_test_debug" : "libs/spirit/test/parser_context_test.cpp" +boost-test(RUN) "spirit/parser_context_test" : "libs/spirit/test/parser_context_test.cpp" +boost-test(RUN) "spirit/grammar_mt_tests" : "libs/spirit/test/grammar_mt_tests.cpp" +boost-test(RUN) "spirit/owi_mt_tests" : "libs/spirit/test/owi_mt_tests.cpp" +boost-test(RUN) "spirit/subrule_tests_debug" : "libs/spirit/test/subrule_tests.cpp" +boost-test(RUN) "spirit/subrule_tests" : "libs/spirit/test/subrule_tests.cpp" +boost-test(RUN) "spirit/grammar_multi_instance_tst_debug" : "libs/spirit/test/grammar_multi_instance_tst.cpp" +boost-test(RUN) "spirit/grammar_multi_instance_tst" : "libs/spirit/test/grammar_multi_instance_tst.cpp" +boost-test(RUN) "spirit/grammar_tests_debug" : "libs/spirit/test/grammar_tests.cpp" +boost-test(RUN) "spirit/grammar_tests" : "libs/spirit/test/grammar_tests.cpp" +boost-test(RUN) "spirit/owi_st_tests_debug" : "libs/spirit/test/owi_st_tests.cpp" +boost-test(RUN) "spirit/owi_st_tests" : "libs/spirit/test/owi_st_tests.cpp" +boost-test(RUN) "spirit/rule_tests_debug" : "libs/spirit/test/rule_tests.cpp" +boost-test(RUN) "spirit/rule_tests" : "libs/spirit/test/rule_tests.cpp" +boost-test(RUN) "spirit/traverse_tests_debug" : "libs/spirit/test/traverse_tests.cpp" +boost-test(RUN) "spirit/traverse_tests" : "libs/spirit/test/traverse_tests.cpp" +boost-test(RUN) "spirit/parser_traits_tests_debug" : "libs/spirit/test/parser_traits_tests.cpp" +boost-test(RUN) "spirit/parser_traits_tests" : "libs/spirit/test/parser_traits_tests.cpp" +boost-test(RUN) "spirit/fundamental_tests_debug" : "libs/spirit/test/fundamental_tests.cpp" +boost-test(RUN) "spirit/fundamental_tests" : "libs/spirit/test/fundamental_tests.cpp" +boost-test(RUN) "spirit/parametric_tests_debug" : "libs/spirit/test/parametric_tests.cpp" +boost-test(RUN) "spirit/parametric_tests" : "libs/spirit/test/parametric_tests.cpp" +boost-test(RUN) "spirit/bug_000008" : "libs/spirit/test/bug_000008.cpp" +boost-test(RUN) "spirit/closure_tests_debug" : "libs/spirit/test/closure_tests.cpp" +boost-test(RUN) "spirit/closure_tests" : "libs/spirit/test/closure_tests.cpp" +boost-test(RUN) "spirit/exception_tests_debug" : "libs/spirit/test/exception_tests.cpp" +boost-test(RUN) "spirit/exception_tests" : "libs/spirit/test/exception_tests.cpp" +boost-test(COMPILE) "spirit/mix_and_match_trees" : "libs/spirit/test/mix_and_match_trees.cpp" +boost-test(RUN) "spirit/repeat_ast_tests_debug" : "libs/spirit/test/repeat_ast_tests.cpp" +boost-test(RUN) "spirit/repeat_ast_tests" : "libs/spirit/test/repeat_ast_tests.cpp" +boost-test(RUN) "spirit/group_match_bug_debug" : "libs/spirit/test/group_match_bug.cpp" +boost-test(RUN) "spirit/group_match_bug" : "libs/spirit/test/group_match_bug.cpp" +boost-test(RUN) "spirit/ast_calc_tests_debug" : "libs/spirit/test/ast_calc_tests.cpp" +boost-test(RUN) "spirit/ast_calc_tests" : "libs/spirit/test/ast_calc_tests.cpp" +boost-test(RUN) "spirit/select_p_with_rule_debug" : "libs/spirit/test/select_p_with_rule.cpp" +boost-test(RUN) "spirit/select_p_with_rule" : "libs/spirit/test/select_p_with_rule.cpp" +boost-test(RUN) "spirit/switch_problem_debug" : "libs/spirit/test/switch_problem.cpp" +boost-test(RUN) "spirit/switch_problem" : "libs/spirit/test/switch_problem.cpp" +boost-test(RUN) "spirit/switch_tests_single_debug" : "libs/spirit/test/switch_tests_single.cpp" +boost-test(RUN) "spirit/switch_tests_single" : "libs/spirit/test/switch_tests_single.cpp" +boost-test(RUN) "spirit/switch_tests_wo_default_debug" : "libs/spirit/test/switch_tests_wo_default.cpp" +boost-test(RUN) "spirit/switch_tests_wo_default" : "libs/spirit/test/switch_tests_wo_default.cpp" +boost-test(RUN) "spirit/switch_tests_general_def_debug" : "libs/spirit/test/switch_tests_general_def.cpp" +boost-test(RUN) "spirit/switch_tests_general_def" : "libs/spirit/test/switch_tests_general_def.cpp" +boost-test(RUN) "spirit/switch_tests_eps_default_debug" : "libs/spirit/test/switch_tests_eps_default.cpp" +boost-test(RUN) "spirit/switch_tests_eps_default" : "libs/spirit/test/switch_tests_eps_default.cpp" +boost-test(RUN) "spirit/lazy_tests_debug" : "libs/spirit/test/lazy_tests.cpp" +boost-test(RUN) "spirit/lazy_tests" : "libs/spirit/test/lazy_tests.cpp" +boost-test(RUN) "spirit/while_tests_debug" : "libs/spirit/test/while_tests.cpp" +boost-test(RUN) "spirit/while_tests" : "libs/spirit/test/while_tests.cpp" +boost-test(RUN) "spirit/for_tests_debug" : "libs/spirit/test/for_tests.cpp" +boost-test(RUN) "spirit/for_tests" : "libs/spirit/test/for_tests.cpp" +boost-test(RUN) "spirit/if_p_int_as_condition_test_debug" : "libs/spirit/test/if_p_int_as_condition_test.cpp" +boost-test(RUN) "spirit/if_p_int_as_condition_test" : "libs/spirit/test/if_p_int_as_condition_test.cpp" +boost-test(RUN) "spirit/if_tests_debug" : "libs/spirit/test/if_tests.cpp" +boost-test(RUN) "spirit/if_tests" : "libs/spirit/test/if_tests.cpp" +boost-test(COMPILE) "spirit/for_p_as_parser_tests" : "libs/spirit/test/for_p_as_parser_tests.cpp" +boost-test(COMPILE) "spirit/while_p_as_parser_tests" : "libs/spirit/test/while_p_as_parser_tests.cpp" +boost-test(COMPILE) "spirit/if_p_as_parser_tests" : "libs/spirit/test/if_p_as_parser_tests.cpp" +boost-test(RUN) "spirit/grammar_def_test_debug" : "libs/spirit/test/grammar_def_test.cpp" +boost-test(RUN) "spirit/grammar_def_test" : "libs/spirit/test/grammar_def_test.cpp" +boost-test(RUN) "spirit/distinct_tests_debug" : "libs/spirit/test/distinct_tests.cpp" +boost-test(RUN) "spirit/distinct_tests" : "libs/spirit/test/distinct_tests.cpp" +boost-test(RUN) "spirit/escape_char_parser_tests_debug" : "libs/spirit/test/escape_char_parser_tests.cpp" +boost-test(RUN) "spirit/escape_char_parser_tests" : "libs/spirit/test/escape_char_parser_tests.cpp" +boost-test(RUN) "spirit/symbols_find_null_debug" : "libs/spirit/test/symbols_find_null.cpp" +boost-test(RUN) "spirit/symbols_find_null" : "libs/spirit/test/symbols_find_null.cpp" +boost-test(RUN) "spirit/symbols_add_null_debug" : "libs/spirit/test/symbols_add_null.cpp" +boost-test(RUN) "spirit/symbols_add_null" : "libs/spirit/test/symbols_add_null.cpp" +boost-test(RUN) "spirit/symbols_tests_debug" : "libs/spirit/test/symbols_tests.cpp" +boost-test(RUN) "spirit/symbols_tests" : "libs/spirit/test/symbols_tests.cpp" +boost-test(RUN) "spirit/loops_tests_debug" : "libs/spirit/test/loops_tests.cpp" +boost-test(RUN) "spirit/loops_tests" : "libs/spirit/test/loops_tests.cpp" +boost-test(RUN) "spirit/confix_tests_debug" : "libs/spirit/test/confix_tests.cpp" +boost-test(RUN) "spirit/confix_tests" : "libs/spirit/test/confix_tests.cpp" +boost-test(RUN) "spirit/chset_tests_debug" : "libs/spirit/test/chset_tests.cpp" +boost-test(RUN) "spirit/chset_tests" : "libs/spirit/test/chset_tests.cpp" +boost-test(RUN) "spirit/scoped_lock_tests_debug" : "libs/spirit/test/scoped_lock_tests.cpp" +boost-test(RUN) "spirit/scoped_lock_tests" : "libs/spirit/test/scoped_lock_tests.cpp" +boost-test(COMPILE) "spirit/multi_pass_compile_tests" : "libs/spirit/test/multi_pass_compile_tests.cpp" +boost-test(RUN) "spirit/position_iterator_tests_debug" : "libs/spirit/test/position_iterator_tests.cpp" +boost-test(RUN) "spirit/position_iterator_tests" : "libs/spirit/test/position_iterator_tests.cpp" +boost-test(RUN) "spirit/sf_bug_720917_debug" : "libs/spirit/test/sf_bug_720917.cpp" +boost-test(RUN) "spirit/sf_bug_720917" : "libs/spirit/test/sf_bug_720917.cpp" +boost-test(RUN) "spirit/multi_pass_tests_debug" : "libs/spirit/test/multi_pass_tests.cpp" +boost-test(RUN) "spirit/multi_pass_tests" : "libs/spirit/test/multi_pass_tests.cpp" +boost-test(RUN) "spirit/file_iterator_tests_debug" : "libs/spirit/test/file_iterator_tests.cpp" +boost-test(RUN) "spirit/file_iterator_tests" : "libs/spirit/test/file_iterator_tests.cpp" +boost-test(COMPILE_FAIL) "spirit/fixed_size_queue_fail_tests" : "libs/spirit/test/fixed_size_queue_fail_tests.cpp" +boost-test(RUN) "spirit/fixed_size_queue_tests_debug" : "libs/spirit/test/fixed_size_queue_tests.cpp" +boost-test(RUN) "spirit/fixed_size_queue_tests" : "libs/spirit/test/fixed_size_queue_tests.cpp" +boost-test(RUN) "spirit/bug_fixes_debug" : "libs/spirit/test/bug_fixes.cpp" +boost-test(RUN) "spirit/bug_fixes" : "libs/spirit/test/bug_fixes.cpp" +boost-test(RUN) "spirit/action_tests_debug" : "libs/spirit/test/actor/action_tests.cpp" "libs/spirit/test/actor/assign_test.cpp" "libs/spirit/test/actor/assign_key_test.cpp" "libs/spirit/test/actor/clear_test.cpp" "libs/spirit/test/actor/decrement_test.cpp" "libs/spirit/test/actor/erase_at_test.cpp" "libs/spirit/test/actor/increment_test.cpp" "libs/spirit/test/actor/insert_key_test.cpp" "libs/spirit/test/actor/insert_at_test.cpp" "libs/spirit/test/actor/push_back_test.cpp" "libs/spirit/test/actor/push_front_test.cpp" "libs/spirit/test/actor/swap_test.cpp" +boost-test(RUN) "spirit/action_tests" : "libs/spirit/test/actor/action_tests.cpp" "libs/spirit/test/actor/assign_test.cpp" "libs/spirit/test/actor/assign_key_test.cpp" "libs/spirit/test/actor/clear_test.cpp" "libs/spirit/test/actor/decrement_test.cpp" "libs/spirit/test/actor/erase_at_test.cpp" "libs/spirit/test/actor/increment_test.cpp" "libs/spirit/test/actor/insert_key_test.cpp" "libs/spirit/test/actor/insert_at_test.cpp" "libs/spirit/test/actor/push_back_test.cpp" "libs/spirit/test/actor/push_front_test.cpp" "libs/spirit/test/actor/swap_test.cpp" +boost-test(COMPILE) "spirit/typeof_utility" : "libs/spirit/test/typeof_support/typeof_utility.cpp" +boost-test(COMPILE) "spirit/typeof_tree" : "libs/spirit/test/typeof_support/typeof_tree.cpp" +boost-test(COMPILE) "spirit/typeof_symbols" : "libs/spirit/test/typeof_support/typeof_symbols.cpp" +boost-test(COMPILE) "spirit/typeof_iterator" : "libs/spirit/test/typeof_support/typeof_iterator.cpp" +boost-test(COMPILE) "spirit/typeof_error_handling" : "libs/spirit/test/typeof_support/typeof_error_handling.cpp" +boost-test(COMPILE) "spirit/typeof_dynamic" : "libs/spirit/test/typeof_support/typeof_dynamic.cpp" +boost-test(COMPILE) "spirit/typeof_debug" : "libs/spirit/test/typeof_support/typeof_debug.cpp" +boost-test(COMPILE) "spirit/typeof_core" : "libs/spirit/test/typeof_support/typeof_core.cpp" +boost-test(COMPILE) "spirit/typeof_attribute" : "libs/spirit/test/typeof_support/typeof_attribute.cpp" +boost-test(COMPILE) "spirit/typeof_actor" : "libs/spirit/test/typeof_support/typeof_actor.cpp" +boost-test(LINK) "statechart/StopWatch2Example" : "libs/statechart/example/StopWatch/StopWatch2.cpp" +boost-test(LINK) "statechart/StopWatchExample" : "libs/statechart/example/StopWatch/StopWatch.cpp" +boost-test(LINK) "statechart/PingPongExample" : "libs/statechart/example/PingPong/PingPong.cpp" +boost-test(LINK) "statechart/PerformanceExample" : "libs/statechart/example/Performance/Performance.cpp" +boost-test(LINK) "statechart/KeyboardExample" : "libs/statechart/example/Keyboard/Keyboard.cpp" +boost-test(LINK) "statechart/HandcraftedExample" : "libs/statechart/example/Handcrafted/Handcrafted.cpp" +boost-test(LINK) "statechart/CameraExample" : "libs/statechart/example/Camera/Camera.cpp" "libs/statechart/example/Camera/Configuring.cpp" "libs/statechart/example/Camera/Main.cpp" "libs/statechart/example/Camera/Shooting.cpp" +boost-test(LINK) "statechart/BitMachineExample" : "libs/statechart/example/BitMachine/BitMachine.cpp" +boost-test(RUN) "statechart/DllTestNative" : "libs/statechart/test/TuTestMain.cpp" +boost-test(RUN) "statechart/DllTestNormal" : "libs/statechart/test/TuTestMain.cpp" +boost-test(RUN) "statechart/LibTestNative" : "libs/statechart/test/TuTestMain.cpp" +boost-test(RUN) "statechart/LibTestNormal" : "libs/statechart/test/TuTestMain.cpp" +boost-test(RUN) "statechart/FifoSchedulerTestNormal" : "libs/statechart/test/FifoSchedulerTest.cpp" +boost-test(RUN) "statechart/FifoSchedulerTestNative" : "libs/statechart/test/FifoSchedulerTest.cpp" +boost-test(RUN) "statechart/FifoSchedulerTestRelaxed" : "libs/statechart/test/FifoSchedulerTest.cpp" +boost-test(RUN) "statechart/FifoSchedulerTestBoth" : "libs/statechart/test/FifoSchedulerTest.cpp" +boost-test(RUN) "statechart/StateIterationTestNormal" : "libs/statechart/test/StateIterationTest.cpp" +boost-test(RUN) "statechart/StateIterationTestNative" : "libs/statechart/test/StateIterationTest.cpp" +boost-test(RUN) "statechart/StateIterationTestRelaxed" : "libs/statechart/test/StateIterationTest.cpp" +boost-test(RUN) "statechart/StateIterationTestBoth" : "libs/statechart/test/StateIterationTest.cpp" +boost-test(RUN) "statechart/TypeInfoTestNormal" : "libs/statechart/test/TypeInfoTest.cpp" +boost-test(RUN) "statechart/TypeInfoTestNative" : "libs/statechart/test/TypeInfoTest.cpp" +boost-test(RUN) "statechart/TypeInfoTestRelaxed" : "libs/statechart/test/TypeInfoTest.cpp" +boost-test(RUN) "statechart/TypeInfoTestBoth" : "libs/statechart/test/TypeInfoTest.cpp" +boost-test(RUN) "statechart/StateCastTestNormal" : "libs/statechart/test/StateCastTest.cpp" +boost-test(RUN) "statechart/StateCastTestNative" : "libs/statechart/test/StateCastTest.cpp" +boost-test(RUN) "statechart/StateCastTestRelaxed" : "libs/statechart/test/StateCastTest.cpp" +boost-test(RUN) "statechart/StateCastTestBoth" : "libs/statechart/test/StateCastTest.cpp" +boost-test(COMPILE_FAIL) "statechart/UnsuppDeepHistoryTestNormal" : "libs/statechart/test/UnsuppDeepHistoryTest.cpp" +boost-test(COMPILE_FAIL) "statechart/UnsuppDeepHistoryTestNative" : "libs/statechart/test/UnsuppDeepHistoryTest.cpp" +boost-test(COMPILE_FAIL) "statechart/UnsuppDeepHistoryTestRelaxed" : "libs/statechart/test/UnsuppDeepHistoryTest.cpp" +boost-test(COMPILE_FAIL) "statechart/UnsuppDeepHistoryTestBoth" : "libs/statechart/test/UnsuppDeepHistoryTest.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest8Normal" : "libs/statechart/test/InconsistentHistoryTest8.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest8Native" : "libs/statechart/test/InconsistentHistoryTest8.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest8Relaxed" : "libs/statechart/test/InconsistentHistoryTest8.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest8Both" : "libs/statechart/test/InconsistentHistoryTest8.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest7Normal" : "libs/statechart/test/InconsistentHistoryTest7.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest7Native" : "libs/statechart/test/InconsistentHistoryTest7.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest7Relaxed" : "libs/statechart/test/InconsistentHistoryTest7.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest7Both" : "libs/statechart/test/InconsistentHistoryTest7.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest6Normal" : "libs/statechart/test/InconsistentHistoryTest6.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest6Native" : "libs/statechart/test/InconsistentHistoryTest6.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest6Relaxed" : "libs/statechart/test/InconsistentHistoryTest6.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest6Both" : "libs/statechart/test/InconsistentHistoryTest6.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest5Normal" : "libs/statechart/test/InconsistentHistoryTest5.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest5Native" : "libs/statechart/test/InconsistentHistoryTest5.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest5Relaxed" : "libs/statechart/test/InconsistentHistoryTest5.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest5Both" : "libs/statechart/test/InconsistentHistoryTest5.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest4Normal" : "libs/statechart/test/InconsistentHistoryTest4.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest4Native" : "libs/statechart/test/InconsistentHistoryTest4.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest4Relaxed" : "libs/statechart/test/InconsistentHistoryTest4.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest4Both" : "libs/statechart/test/InconsistentHistoryTest4.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest3Normal" : "libs/statechart/test/InconsistentHistoryTest3.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest3Native" : "libs/statechart/test/InconsistentHistoryTest3.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest3Relaxed" : "libs/statechart/test/InconsistentHistoryTest3.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest3Both" : "libs/statechart/test/InconsistentHistoryTest3.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest2Normal" : "libs/statechart/test/InconsistentHistoryTest2.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest2Native" : "libs/statechart/test/InconsistentHistoryTest2.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest2Relaxed" : "libs/statechart/test/InconsistentHistoryTest2.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest2Both" : "libs/statechart/test/InconsistentHistoryTest2.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest1Normal" : "libs/statechart/test/InconsistentHistoryTest1.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest1Native" : "libs/statechart/test/InconsistentHistoryTest1.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest1Relaxed" : "libs/statechart/test/InconsistentHistoryTest1.cpp" +boost-test(COMPILE_FAIL) "statechart/InconsistentHistoryTest1Both" : "libs/statechart/test/InconsistentHistoryTest1.cpp" +boost-test(RUN) "statechart/HistoryTestNormal" : "libs/statechart/test/HistoryTest.cpp" +boost-test(RUN) "statechart/HistoryTestNative" : "libs/statechart/test/HistoryTest.cpp" +boost-test(RUN) "statechart/HistoryTestRelaxed" : "libs/statechart/test/HistoryTest.cpp" +boost-test(RUN) "statechart/HistoryTestBoth" : "libs/statechart/test/HistoryTest.cpp" +boost-test(RUN) "statechart/UnconsumedResultTestNormal" : "libs/statechart/test/UnconsumedResultTest.cpp" +boost-test(RUN) "statechart/UnconsumedResultTestNative" : "libs/statechart/test/UnconsumedResultTest.cpp" +boost-test(RUN) "statechart/UnconsumedResultTestRelaxed" : "libs/statechart/test/UnconsumedResultTest.cpp" +boost-test(RUN) "statechart/UnconsumedResultTestBoth" : "libs/statechart/test/UnconsumedResultTest.cpp" +boost-test(RUN) "statechart/InvalidResultCopyTestNormal" : "libs/statechart/test/InvalidResultCopyTest.cpp" +boost-test(RUN) "statechart/InvalidResultCopyTestNative" : "libs/statechart/test/InvalidResultCopyTest.cpp" +boost-test(RUN) "statechart/InvalidResultCopyTestRelaxed" : "libs/statechart/test/InvalidResultCopyTest.cpp" +boost-test(RUN) "statechart/InvalidResultCopyTestBoth" : "libs/statechart/test/InvalidResultCopyTest.cpp" +boost-test(COMPILE_FAIL) "statechart/InvalidResultDefCtorTestNormal" : "libs/statechart/test/InvalidResultDefCtorTest.cpp" +boost-test(COMPILE_FAIL) "statechart/InvalidResultDefCtorTestNative" : "libs/statechart/test/InvalidResultDefCtorTest.cpp" +boost-test(COMPILE_FAIL) "statechart/InvalidResultDefCtorTestRelaxed" : "libs/statechart/test/InvalidResultDefCtorTest.cpp" +boost-test(COMPILE_FAIL) "statechart/InvalidResultDefCtorTestBoth" : "libs/statechart/test/InvalidResultDefCtorTest.cpp" +boost-test(COMPILE_FAIL) "statechart/InvalidResultAssignTestNormal" : "libs/statechart/test/InvalidResultAssignTest.cpp" +boost-test(COMPILE_FAIL) "statechart/InvalidResultAssignTestNative" : "libs/statechart/test/InvalidResultAssignTest.cpp" +boost-test(COMPILE_FAIL) "statechart/InvalidResultAssignTestRelaxed" : "libs/statechart/test/InvalidResultAssignTest.cpp" +boost-test(COMPILE_FAIL) "statechart/InvalidResultAssignTestBoth" : "libs/statechart/test/InvalidResultAssignTest.cpp" +boost-test(RUN) "statechart/CustomReactionTestNormal" : "libs/statechart/test/CustomReactionTest.cpp" +boost-test(RUN) "statechart/CustomReactionTestNative" : "libs/statechart/test/CustomReactionTest.cpp" +boost-test(RUN) "statechart/CustomReactionTestRelaxed" : "libs/statechart/test/CustomReactionTest.cpp" +boost-test(RUN) "statechart/CustomReactionTestBoth" : "libs/statechart/test/CustomReactionTest.cpp" +boost-test(RUN) "statechart/DeferralTestNormal" : "libs/statechart/test/DeferralTest.cpp" +boost-test(RUN) "statechart/DeferralTestNative" : "libs/statechart/test/DeferralTest.cpp" +boost-test(RUN) "statechart/DeferralTestRelaxed" : "libs/statechart/test/DeferralTest.cpp" +boost-test(RUN) "statechart/DeferralTestBoth" : "libs/statechart/test/DeferralTest.cpp" +boost-test(RUN) "statechart/TerminationTestNormal" : "libs/statechart/test/TerminationTest.cpp" +boost-test(RUN) "statechart/TerminationTestNative" : "libs/statechart/test/TerminationTest.cpp" +boost-test(RUN) "statechart/TerminationTestRelaxed" : "libs/statechart/test/TerminationTest.cpp" +boost-test(RUN) "statechart/TerminationTestBoth" : "libs/statechart/test/TerminationTest.cpp" +boost-test(RUN) "statechart/InStateReactionTestNormal" : "libs/statechart/test/InStateReactionTest.cpp" +boost-test(RUN) "statechart/InStateReactionTestNative" : "libs/statechart/test/InStateReactionTest.cpp" +boost-test(RUN) "statechart/InStateReactionTestRelaxed" : "libs/statechart/test/InStateReactionTest.cpp" +boost-test(RUN) "statechart/InStateReactionTestBoth" : "libs/statechart/test/InStateReactionTest.cpp" +boost-test(COMPILE_FAIL) "statechart/InvalidTransitionTest2Normal" : "libs/statechart/test/InvalidTransitionTest2.cpp" +boost-test(COMPILE_FAIL) "statechart/InvalidTransitionTest2Native" : "libs/statechart/test/InvalidTransitionTest2.cpp" +boost-test(COMPILE_FAIL) "statechart/InvalidTransitionTest2Relaxed" : "libs/statechart/test/InvalidTransitionTest2.cpp" +boost-test(COMPILE_FAIL) "statechart/InvalidTransitionTest2Both" : "libs/statechart/test/InvalidTransitionTest2.cpp" +boost-test(COMPILE_FAIL) "statechart/InvalidTransitionTest1Normal" : "libs/statechart/test/InvalidTransitionTest1.cpp" +boost-test(COMPILE_FAIL) "statechart/InvalidTransitionTest1Native" : "libs/statechart/test/InvalidTransitionTest1.cpp" +boost-test(COMPILE_FAIL) "statechart/InvalidTransitionTest1Relaxed" : "libs/statechart/test/InvalidTransitionTest1.cpp" +boost-test(COMPILE_FAIL) "statechart/InvalidTransitionTest1Both" : "libs/statechart/test/InvalidTransitionTest1.cpp" +boost-test(RUN) "statechart/TransitionTestNormal" : "libs/statechart/test/TransitionTest.cpp" +boost-test(RUN) "statechart/TransitionTestNative" : "libs/statechart/test/TransitionTest.cpp" +boost-test(RUN) "statechart/TransitionTestRelaxed" : "libs/statechart/test/TransitionTest.cpp" +boost-test(RUN) "statechart/TransitionTestBoth" : "libs/statechart/test/TransitionTest.cpp" +boost-test(COMPILE_FAIL) "statechart/InvalidChartTest3Normal" : "libs/statechart/test/InvalidChartTest3.cpp" +boost-test(COMPILE_FAIL) "statechart/InvalidChartTest3Native" : "libs/statechart/test/InvalidChartTest3.cpp" +boost-test(COMPILE_FAIL) "statechart/InvalidChartTest3Relaxed" : "libs/statechart/test/InvalidChartTest3.cpp" +boost-test(COMPILE_FAIL) "statechart/InvalidChartTest3Both" : "libs/statechart/test/InvalidChartTest3.cpp" +boost-test(COMPILE_FAIL) "statechart/InvalidChartTest2Normal" : "libs/statechart/test/InvalidChartTest2.cpp" +boost-test(COMPILE_FAIL) "statechart/InvalidChartTest2Native" : "libs/statechart/test/InvalidChartTest2.cpp" +boost-test(COMPILE_FAIL) "statechart/InvalidChartTest2Relaxed" : "libs/statechart/test/InvalidChartTest2.cpp" +boost-test(COMPILE_FAIL) "statechart/InvalidChartTest2Both" : "libs/statechart/test/InvalidChartTest2.cpp" +boost-test(COMPILE_FAIL) "statechart/InvalidChartTest1Normal" : "libs/statechart/test/InvalidChartTest1.cpp" +boost-test(COMPILE_FAIL) "statechart/InvalidChartTest1Native" : "libs/statechart/test/InvalidChartTest1.cpp" +boost-test(COMPILE_FAIL) "statechart/InvalidChartTest1Relaxed" : "libs/statechart/test/InvalidChartTest1.cpp" +boost-test(COMPILE_FAIL) "statechart/InvalidChartTest1Both" : "libs/statechart/test/InvalidChartTest1.cpp" +boost-test(COMPILE_FAIL) "static_assert/static_assert_test_fail_10" : "libs/static_assert/static_assert_test_fail_10.cpp" +boost-test(COMPILE_FAIL) "static_assert/static_assert_test_fail_9" : "libs/static_assert/static_assert_test_fail_9.cpp" +boost-test(COMPILE_FAIL) "static_assert/static_assert_test_fail_8" : "libs/static_assert/static_assert_test_fail_8.cpp" +boost-test(COMPILE_FAIL) "static_assert/static_assert_test_fail_7" : "libs/static_assert/static_assert_test_fail_7.cpp" +boost-test(COMPILE_FAIL) "static_assert/static_assert_test_fail_6" : "libs/static_assert/static_assert_test_fail_6.cpp" +boost-test(COMPILE_FAIL) "static_assert/static_assert_test_fail_5" : "libs/static_assert/static_assert_test_fail_5.cpp" +boost-test(COMPILE_FAIL) "static_assert/static_assert_test_fail_4" : "libs/static_assert/static_assert_test_fail_4.cpp" +boost-test(COMPILE_FAIL) "static_assert/static_assert_test_fail_3" : "libs/static_assert/static_assert_test_fail_3.cpp" +boost-test(COMPILE_FAIL) "static_assert/static_assert_test_fail_2" : "libs/static_assert/static_assert_test_fail_2.cpp" +boost-test(COMPILE_FAIL) "static_assert/static_assert_test_fail_1" : "libs/static_assert/static_assert_test_fail_1.cpp" +boost-test(RUN) "static_assert/static_assert_example_3" : "libs/static_assert/static_assert_example_3.cpp" +boost-test(RUN) "static_assert/static_assert_example_2" : "libs/static_assert/static_assert_example_2.cpp" +boost-test(RUN) "static_assert/static_assert_test" : "libs/static_assert/static_assert_test.cpp" +boost-test(RUN) "test/basic_cstring_test" : "libs/test/test/basic_cstring_test.cpp" +boost-test(RUN) "test/class_properties_test" : "libs/test/test/class_properties_test.cpp" +boost-test(RUN_FAIL) "test/prg_exec_fail4" : "libs/test/test/prg_exec_fail4.cpp" +boost-test(RUN_FAIL) "test/prg_exec_fail3" : "libs/test/test/prg_exec_fail3.cpp" +boost-test(RUN_FAIL) "test/prg_exec_fail2" : "libs/test/test/prg_exec_fail2.cpp" +boost-test(RUN_FAIL) "test/prg_exec_fail1" : "libs/test/test/prg_exec_fail1.cpp" +boost-test(RUN) "test/boost_check_equal_str" : "libs/test/test/boost_check_equal_str.cpp" +boost-test(RUN) "test/token_iterator_test" : "libs/test/test/token_iterator_test.cpp" +boost-test(RUN) "test/algorithms_test" : "libs/test/test/algorithms_test.cpp" +boost-test(RUN) "test/ifstream_line_iterator_test" : "libs/test/test/ifstream_line_iterator_test.cpp" +boost-test(RUN) "test/fixed_mapping_test" : "libs/test/test/fixed_mapping_test.cpp" +boost-test(RUN) "test/custom_exception_test" : "libs/test/test/custom_exception_test.cpp" +boost-test(RUN) "test/test_case_template_test" : "libs/test/test/test_case_template_test.cpp" +boost-test(RUN) "test/test_tools_test" : "libs/test/test/test_tools_test.cpp" +boost-test(RUN) "test/test_fp_comparisons" : "libs/test/test/test_fp_comparisons.cpp" +boost-test(RUN) "test/parameterized_test_test" : "libs/test/test/parameterized_test_test.cpp" +boost-test(RUN) "test/result_report_test" : "libs/test/test/result_report_test.cpp" +boost-test(RUN) "test/output_test_stream_test" : "libs/test/test/output_test_stream_test.cpp" +boost-test(RUN) "test/foreach_test" : "libs/test/test/foreach_test.cpp" +boost-test(RUN_FAIL) "test/minimal_test" : "libs/test/test/minimal_test.cpp" +boost-test(RUN) "test/online_test" : "libs/test/test/online_test.cpp" +boost-test(RUN) "test/errors_handling_test" : "libs/test/test/errors_handling_test.cpp" +boost-test(RUN) "thread/test_barrier_lib" : "libs/thread/test/test_barrier.cpp" "libs/thread/src/tss_null.cpp" +boost-test(RUN) "thread/test_barrier" : "libs/thread/test/test_barrier.cpp" +boost-test(RUN) "thread/test_xtime_lib" : "libs/thread/test/test_xtime.cpp" "libs/thread/src/tss_null.cpp" +boost-test(RUN) "thread/test_xtime" : "libs/thread/test/test_xtime.cpp" +boost-test(RUN) "thread/test_once_lib" : "libs/thread/test/test_once.cpp" "libs/thread/src/tss_null.cpp" +boost-test(RUN) "thread/test_once" : "libs/thread/test/test_once.cpp" +boost-test(RUN) "thread/test_tss_lib" : "libs/thread/test/test_tss.cpp" "libs/thread/src/tss_null.cpp" +boost-test(RUN) "thread/test_tss" : "libs/thread/test/test_tss.cpp" +boost-test(RUN) "thread/test_condition_lib" : "libs/thread/test/test_condition.cpp" "libs/thread/src/tss_null.cpp" +boost-test(RUN) "thread/test_condition" : "libs/thread/test/test_condition.cpp" +boost-test(RUN) "thread/test_mutex_lib" : "libs/thread/test/test_mutex.cpp" "libs/thread/src/tss_null.cpp" +boost-test(RUN) "thread/test_mutex" : "libs/thread/test/test_mutex.cpp" +boost-test(RUN) "thread/test_thread_lib" : "libs/thread/test/test_thread.cpp" "libs/thread/src/tss_null.cpp" +boost-test(RUN) "thread/test_thread" : "libs/thread/test/test_thread.cpp" +boost-test(COMPILE) "tr1/test_ref_wrapper_tricky" : "libs/tr1/test/test_ref_wrapper_tricky.cpp" +boost-test(COMPILE) "tr1/std_test_ref_wrapper_tricky" : "libs/tr1/test/test_ref_wrapper_tricky.cpp" +boost-test(COMPILE) "tr1/test_result_of" : "libs/tr1/test/test_result_of.cpp" +boost-test(COMPILE) "tr1/std_test_result_of" : "libs/tr1/test/test_result_of.cpp" +boost-test(COMPILE) "tr1/test_random" : "libs/tr1/test/test_random.cpp" +boost-test(COMPILE) "tr1/std_test_random" : "libs/tr1/test/test_random.cpp" +boost-test(COMPILE) "tr1/test_mpl_header" : "libs/tr1/test/test_mpl_header.cpp" +boost-test(COMPILE) "tr1/std_test_mpl_header" : "libs/tr1/test/test_mpl_header.cpp" +boost-test(COMPILE) "tr1/test_weak_ptr_header" : "libs/tr1/test/test_weak_ptr_header.cpp" +boost-test(COMPILE) "tr1/std_test_weak_ptr_header" : "libs/tr1/test/test_weak_ptr_header.cpp" +boost-test(COMPILE) "tr1/test_bind_tricky" : "libs/tr1/test/test_bind_tricky.cpp" +boost-test(COMPILE) "tr1/std_test_bind_tricky" : "libs/tr1/test/test_bind_tricky.cpp" +boost-test(COMPILE) "tr1/test_type_traits" : "libs/tr1/test/test_type_traits.cpp" +boost-test(COMPILE) "tr1/std_test_type_traits" : "libs/tr1/test/test_type_traits.cpp" +boost-test(COMPILE) "tr1/test_reference_wrapper" : "libs/tr1/test/test_reference_wrapper.cpp" +boost-test(COMPILE) "tr1/std_test_reference_wrapper" : "libs/tr1/test/test_reference_wrapper.cpp" +boost-test(COMPILE) "tr1/test_function_header" : "libs/tr1/test/test_function_header.cpp" +boost-test(COMPILE) "tr1/std_test_function_header" : "libs/tr1/test/test_function_header.cpp" +boost-test(COMPILE) "tr1/test_shared_ptr" : "libs/tr1/test/test_shared_ptr.cpp" +boost-test(COMPILE) "tr1/std_test_shared_ptr" : "libs/tr1/test/test_shared_ptr.cpp" +boost-test(COMPILE) "tr1/test_ref_header" : "libs/tr1/test/test_ref_header.cpp" +boost-test(COMPILE) "tr1/std_test_ref_header" : "libs/tr1/test/test_ref_header.cpp" +boost-test(COMPILE) "tr1/test_shared_ptr_header" : "libs/tr1/test/test_shared_ptr_header.cpp" +boost-test(COMPILE) "tr1/std_test_shared_ptr_header" : "libs/tr1/test/test_shared_ptr_header.cpp" +boost-test(COMPILE) "tr1/test_array" : "libs/tr1/test/test_array.cpp" +boost-test(COMPILE) "tr1/std_test_array" : "libs/tr1/test/test_array.cpp" +boost-test(COMPILE) "tr1/test_complex" : "libs/tr1/test/test_complex.cpp" +boost-test(COMPILE) "tr1/std_test_complex" : "libs/tr1/test/test_complex.cpp" +boost-test(COMPILE) "tr1/test_hash" : "libs/tr1/test/test_hash.cpp" +boost-test(COMPILE) "tr1/std_test_hash" : "libs/tr1/test/test_hash.cpp" +boost-test(COMPILE) "tr1/test_tuple_tricky" : "libs/tr1/test/test_tuple_tricky.cpp" +boost-test(COMPILE) "tr1/std_test_tuple_tricky" : "libs/tr1/test/test_tuple_tricky.cpp" +boost-test(COMPILE) "tr1/test_function_tricky" : "libs/tr1/test/test_function_tricky.cpp" +boost-test(COMPILE) "tr1/std_test_function_tricky" : "libs/tr1/test/test_function_tricky.cpp" +boost-test(COMPILE) "tr1/test_mem_fn_header" : "libs/tr1/test/test_mem_fn_header.cpp" +boost-test(COMPILE) "tr1/std_test_mem_fn_header" : "libs/tr1/test/test_mem_fn_header.cpp" +boost-test(COMPILE) "tr1/test_hash_header" : "libs/tr1/test/test_hash_header.cpp" +boost-test(COMPILE) "tr1/std_test_hash_header" : "libs/tr1/test/test_hash_header.cpp" +boost-test(COMPILE) "tr1/test_function" : "libs/tr1/test/test_function.cpp" +boost-test(COMPILE) "tr1/std_test_function" : "libs/tr1/test/test_function.cpp" +boost-test(COMPILE) "tr1/test_shd_this_header" : "libs/tr1/test/test_shd_this_header.cpp" +boost-test(COMPILE) "tr1/std_test_shd_this_header" : "libs/tr1/test/test_shd_this_header.cpp" +boost-test(COMPILE) "tr1/test_mem_fn" : "libs/tr1/test/test_mem_fn.cpp" +boost-test(COMPILE) "tr1/std_test_mem_fn" : "libs/tr1/test/test_mem_fn.cpp" +boost-test(COMPILE) "tr1/test_shared_array_header" : "libs/tr1/test/test_shared_array_header.cpp" +boost-test(COMPILE) "tr1/std_test_shared_array_header" : "libs/tr1/test/test_shared_array_header.cpp" +boost-test(COMPILE) "tr1/test_type_traits_header" : "libs/tr1/test/test_type_traits_header.cpp" +boost-test(COMPILE) "tr1/std_test_type_traits_header" : "libs/tr1/test/test_type_traits_header.cpp" +boost-test(COMPILE) "tr1/test_result_of_header" : "libs/tr1/test/test_result_of_header.cpp" +boost-test(COMPILE) "tr1/std_test_result_of_header" : "libs/tr1/test/test_result_of_header.cpp" +boost-test(COMPILE) "tr1/test_regex" : "libs/tr1/test/test_regex.cpp" +boost-test(COMPILE) "tr1/std_test_regex" : "libs/tr1/test/test_regex.cpp" +boost-test(COMPILE) "tr1/test_array_tricky" : "libs/tr1/test/test_array_tricky.cpp" +boost-test(COMPILE) "tr1/std_test_array_tricky" : "libs/tr1/test/test_array_tricky.cpp" +boost-test(COMPILE) "tr1/test_tr1_include" : "libs/tr1/test/test_tr1_include.cpp" +boost-test(COMPILE) "tr1/std_test_tr1_include" : "libs/tr1/test/test_tr1_include.cpp" +boost-test(COMPILE) "tr1/test_mem_fn_tricky" : "libs/tr1/test/test_mem_fn_tricky.cpp" +boost-test(COMPILE) "tr1/std_test_mem_fn_tricky" : "libs/tr1/test/test_mem_fn_tricky.cpp" +boost-test(COMPILE) "tr1/test_complex_header" : "libs/tr1/test/test_complex_header.cpp" +boost-test(COMPILE) "tr1/std_test_complex_header" : "libs/tr1/test/test_complex_header.cpp" +boost-test(COMPILE) "tr1/test_tuple" : "libs/tr1/test/test_tuple.cpp" +boost-test(COMPILE) "tr1/std_test_tuple" : "libs/tr1/test/test_tuple.cpp" +boost-test(COMPILE) "tr1/test_integral_const_header" : "libs/tr1/test/test_integral_const_header.cpp" +boost-test(COMPILE) "tr1/std_test_integral_const_header" : "libs/tr1/test/test_integral_const_header.cpp" +boost-test(COMPILE) "tr1/test_bind_header" : "libs/tr1/test/test_bind_header.cpp" +boost-test(COMPILE) "tr1/std_test_bind_header" : "libs/tr1/test/test_bind_header.cpp" +boost-test(COMPILE) "tr1/test_bind" : "libs/tr1/test/test_bind.cpp" +boost-test(COMPILE) "tr1/std_test_bind" : "libs/tr1/test/test_bind.cpp" +boost-test(RUN) "tr1/run_random" : "libs/tr1/test/run_random.cpp" +boost-test(RUN) "tr1/std_run_random" : "libs/tr1/test/run_random.cpp" +boost-test(RUN) "tr1/run_complex_overloads" : "libs/tr1/test/run_complex_overloads.cpp" +boost-test(RUN) "tr1/std_run_complex_overloads" : "libs/tr1/test/run_complex_overloads.cpp" +boost-test(COMPILE_FAIL) "tr1/tr1_has_tr1_mem_fn_fail" : "libs/tr1/test/config/tr1_has_tr1_mem_fn_fail.cpp" +boost-test(COMPILE_FAIL) "tr1/tr1_has_tr1_cx_over_fail" : "libs/tr1/test/config/tr1_has_tr1_cx_over_fail.cpp" +boost-test(COMPILE_FAIL) "tr1/tr1_has_tr1_function_fail" : "libs/tr1/test/config/tr1_has_tr1_function_fail.cpp" +boost-test(COMPILE_FAIL) "tr1/tr1_has_tr1_random_fail" : "libs/tr1/test/config/tr1_has_tr1_random_fail.cpp" +boost-test(COMPILE_FAIL) "tr1/tr1_has_tr1_un_map_fail" : "libs/tr1/test/config/tr1_has_tr1_un_map_fail.cpp" +boost-test(COMPILE_FAIL) "tr1/tr1_has_tr1_result_of_fail" : "libs/tr1/test/config/tr1_has_tr1_result_of_fail.cpp" +boost-test(COMPILE_FAIL) "tr1/tr1_has_tr1_un_set_fail" : "libs/tr1/test/config/tr1_has_tr1_un_set_fail.cpp" +boost-test(COMPILE_FAIL) "tr1/tr1_has_tr1_array_fail" : "libs/tr1/test/config/tr1_has_tr1_array_fail.cpp" +boost-test(COMPILE_FAIL) "tr1/tr1_has_tr1_shared_ptr_fail" : "libs/tr1/test/config/tr1_has_tr1_shared_ptr_fail.cpp" +boost-test(COMPILE_FAIL) "tr1/tr1_has_tr1_utility_fail" : "libs/tr1/test/config/tr1_has_tr1_utility_fail.cpp" +boost-test(COMPILE_FAIL) "tr1/tr1_has_tr1_regex_fail" : "libs/tr1/test/config/tr1_has_tr1_regex_fail.cpp" +boost-test(COMPILE_FAIL) "tr1/tr1_has_tr1_bind_fail" : "libs/tr1/test/config/tr1_has_tr1_bind_fail.cpp" +boost-test(COMPILE_FAIL) "tr1/tr1_has_tr1_tt_fail" : "libs/tr1/test/config/tr1_has_tr1_tt_fail.cpp" +boost-test(COMPILE_FAIL) "tr1/tr1_has_tr1_ref_wrap_fail" : "libs/tr1/test/config/tr1_has_tr1_ref_wrap_fail.cpp" +boost-test(COMPILE_FAIL) "tr1/tr1_has_tr1_hash_fail" : "libs/tr1/test/config/tr1_has_tr1_hash_fail.cpp" +boost-test(COMPILE_FAIL) "tr1/tr1_has_tr1_tuple_fail" : "libs/tr1/test/config/tr1_has_tr1_tuple_fail.cpp" +boost-test(COMPILE_FAIL) "tr1/tr1_has_tr1_cx_trig_fail" : "libs/tr1/test/config/tr1_has_tr1_cx_trig_fail.cpp" +boost-test(COMPILE) "tr1/tr1_has_tr1_tt_pass" : "libs/tr1/test/config/tr1_has_tr1_tt_pass.cpp" +boost-test(COMPILE) "tr1/tr1_has_tr1_ref_wrap_pass" : "libs/tr1/test/config/tr1_has_tr1_ref_wrap_pass.cpp" +boost-test(COMPILE) "tr1/tr1_has_tr1_hash_pass" : "libs/tr1/test/config/tr1_has_tr1_hash_pass.cpp" +boost-test(COMPILE) "tr1/tr1_has_tr1_tuple_pass" : "libs/tr1/test/config/tr1_has_tr1_tuple_pass.cpp" +boost-test(COMPILE) "tr1/tr1_has_tr1_cx_trig_pass" : "libs/tr1/test/config/tr1_has_tr1_cx_trig_pass.cpp" +boost-test(COMPILE) "tr1/tr1_has_tr1_mem_fn_pass" : "libs/tr1/test/config/tr1_has_tr1_mem_fn_pass.cpp" +boost-test(COMPILE) "tr1/tr1_has_tr1_cx_over_pass" : "libs/tr1/test/config/tr1_has_tr1_cx_over_pass.cpp" +boost-test(COMPILE) "tr1/tr1_has_tr1_function_pass" : "libs/tr1/test/config/tr1_has_tr1_function_pass.cpp" +boost-test(COMPILE) "tr1/tr1_has_tr1_random_pass" : "libs/tr1/test/config/tr1_has_tr1_random_pass.cpp" +boost-test(COMPILE) "tr1/tr1_has_tr1_un_map_pass" : "libs/tr1/test/config/tr1_has_tr1_un_map_pass.cpp" +boost-test(COMPILE) "tr1/tr1_has_tr1_result_of_pass" : "libs/tr1/test/config/tr1_has_tr1_result_of_pass.cpp" +boost-test(COMPILE) "tr1/tr1_has_tr1_un_set_pass" : "libs/tr1/test/config/tr1_has_tr1_un_set_pass.cpp" +boost-test(COMPILE) "tr1/tr1_has_tr1_array_pass" : "libs/tr1/test/config/tr1_has_tr1_array_pass.cpp" +boost-test(COMPILE) "tr1/tr1_has_tr1_shared_ptr_pass" : "libs/tr1/test/config/tr1_has_tr1_shared_ptr_pass.cpp" +boost-test(COMPILE) "tr1/tr1_has_tr1_utility_pass" : "libs/tr1/test/config/tr1_has_tr1_utility_pass.cpp" +boost-test(COMPILE) "tr1/tr1_has_tr1_regex_pass" : "libs/tr1/test/config/tr1_has_tr1_regex_pass.cpp" +boost-test(COMPILE) "tr1/tr1_has_tr1_bind_pass" : "libs/tr1/test/config/tr1_has_tr1_bind_pass.cpp" +boost-test(RUN) "tr1/tr1_has_nothrow_assign_test" : "libs/tr1/test/type_traits/tr1_has_nothrow_assign_test.cpp" +boost-test(RUN) "tr1/tr1_is_class_test" : "libs/tr1/test/type_traits/tr1_is_class_test.cpp" +boost-test(RUN) "tr1/tr1_remove_extent_test" : "libs/tr1/test/type_traits/tr1_remove_extent_test.cpp" +boost-test(RUN) "tr1/tr1_is_enum_test" : "libs/tr1/test/type_traits/tr1_is_enum_test.cpp" +boost-test(RUN) "tr1/tr1_remove_pointer_test" : "libs/tr1/test/type_traits/tr1_remove_pointer_test.cpp" +boost-test(RUN) "tr1/tr1_is_empty_test" : "libs/tr1/test/type_traits/tr1_is_empty_test.cpp" +boost-test(RUN) "tr1/tr1_add_pointer_test" : "libs/tr1/test/type_traits/tr1_add_pointer_test.cpp" +boost-test(RUN) "tr1/tr1_remove_cv_test" : "libs/tr1/test/type_traits/tr1_remove_cv_test.cpp" +boost-test(RUN) "tr1/tr1_is_convertible_test" : "libs/tr1/test/type_traits/tr1_is_convertible_test.cpp" +boost-test(RUN) "tr1/tr1_is_same_test" : "libs/tr1/test/type_traits/tr1_is_same_test.cpp" +boost-test(RUN) "tr1/tr1_tky_partial_spec_test" : "libs/tr1/test/type_traits/tr1_tky_partial_spec_test.cpp" +boost-test(RUN) "tr1/tr1_add_volatile_test" : "libs/tr1/test/type_traits/tr1_add_volatile_test.cpp" +boost-test(RUN) "tr1/tr1_add_const_test" : "libs/tr1/test/type_traits/tr1_add_const_test.cpp" +boost-test(RUN) "tr1/tr1_is_member_obj_test" : "libs/tr1/test/type_traits/tr1_is_member_obj_test.cpp" +boost-test(RUN) "tr1/tr1_has_trivial_destr_test" : "libs/tr1/test/type_traits/tr1_has_trivial_destr_test.cpp" +boost-test(RUN) "tr1/tr1_extent_test" : "libs/tr1/test/type_traits/tr1_extent_test.cpp" +boost-test(RUN) "tr1/tr1_is_unsigned_test" : "libs/tr1/test/type_traits/tr1_is_unsigned_test.cpp" +boost-test(RUN) "tr1/tr1_is_base_of_test" : "libs/tr1/test/type_traits/tr1_is_base_of_test.cpp" +boost-test(RUN) "tr1/tr1_is_scalar_test" : "libs/tr1/test/type_traits/tr1_is_scalar_test.cpp" +boost-test(RUN) "tr1/tr1_is_void_test" : "libs/tr1/test/type_traits/tr1_is_void_test.cpp" +boost-test(RUN) "tr1/tr1_rank_test" : "libs/tr1/test/type_traits/tr1_rank_test.cpp" +boost-test(RUN) "tr1/tr1_tky_incomp_type_test" : "libs/tr1/test/type_traits/tr1_tky_incomp_type_test.cpp" +boost-test(RUN) "tr1/tr1_remove_all_extents_test" : "libs/tr1/test/type_traits/tr1_remove_all_extents_test.cpp" +boost-test(RUN) "tr1/tr1_add_cv_test" : "libs/tr1/test/type_traits/tr1_add_cv_test.cpp" +boost-test(RUN) "tr1/tr1_tricky_add_pointer_test" : "libs/tr1/test/type_traits/tr1_tricky_add_pointer_test.cpp" +boost-test(RUN) "tr1/tr1_has_trivial_assign_test" : "libs/tr1/test/type_traits/tr1_has_trivial_assign_test.cpp" +boost-test(RUN) "tr1/tr1_is_union_test" : "libs/tr1/test/type_traits/tr1_is_union_test.cpp" +boost-test(RUN) "tr1/tr1_is_pointer_test" : "libs/tr1/test/type_traits/tr1_is_pointer_test.cpp" +boost-test(RUN) "tr1/tr1_is_member_pointer_test" : "libs/tr1/test/type_traits/tr1_is_member_pointer_test.cpp" +boost-test(RUN) "tr1/tr1_is_const_test" : "libs/tr1/test/type_traits/tr1_is_const_test.cpp" +boost-test(RUN) "tr1/tr1_is_fundamental_test" : "libs/tr1/test/type_traits/tr1_is_fundamental_test.cpp" +boost-test(RUN) "tr1/tr1_is_volatile_test" : "libs/tr1/test/type_traits/tr1_is_volatile_test.cpp" +boost-test(RUN) "tr1/tr1_remove_const_test" : "libs/tr1/test/type_traits/tr1_remove_const_test.cpp" +boost-test(RUN) "tr1/tr1_has_nothrow_constr_test" : "libs/tr1/test/type_traits/tr1_has_nothrow_constr_test.cpp" +boost-test(RUN) "tr1/tr1_is_pod_test" : "libs/tr1/test/type_traits/tr1_is_pod_test.cpp" +boost-test(RUN) "tr1/tr1_is_polymorphic_test" : "libs/tr1/test/type_traits/tr1_is_polymorphic_test.cpp" +boost-test(RUN) "tr1/tr1_has_virtual_destr_test" : "libs/tr1/test/type_traits/tr1_has_virtual_destr_test.cpp" +boost-test(RUN) "tr1/tr1_is_object_test" : "libs/tr1/test/type_traits/tr1_is_object_test.cpp" +boost-test(RUN) "tr1/tr1_has_trivial_copy_test" : "libs/tr1/test/type_traits/tr1_has_trivial_copy_test.cpp" +boost-test(RUN) "tr1/tr1_is_array_test" : "libs/tr1/test/type_traits/tr1_is_array_test.cpp" +boost-test(RUN) "tr1/tr1_is_compound_test" : "libs/tr1/test/type_traits/tr1_is_compound_test.cpp" +boost-test(RUN) "tr1/tr1_aligned_storage_test" : "libs/tr1/test/type_traits/tr1_aligned_storage_test.cpp" +boost-test(RUN) "tr1/tr1_add_reference_test" : "libs/tr1/test/type_traits/tr1_add_reference_test.cpp" +boost-test(RUN) "tr1/tr1_tky_abstract_type_test" : "libs/tr1/test/type_traits/tr1_tky_abstract_type_test.cpp" +boost-test(RUN) "tr1/tr1_is_floating_point_test" : "libs/tr1/test/type_traits/tr1_is_floating_point_test.cpp" +boost-test(RUN) "tr1/tr1_is_integral_test" : "libs/tr1/test/type_traits/tr1_is_integral_test.cpp" +boost-test(RUN) "tr1/tr1_is_function_test" : "libs/tr1/test/type_traits/tr1_is_function_test.cpp" +boost-test(RUN) "tr1/tr1_is_abstract_test" : "libs/tr1/test/type_traits/tr1_is_abstract_test.cpp" +boost-test(RUN) "tr1/tr1_tricky_is_enum_test" : "libs/tr1/test/type_traits/tr1_tricky_is_enum_test.cpp" +boost-test(RUN) "tr1/tr1_remove_reference_test" : "libs/tr1/test/type_traits/tr1_remove_reference_test.cpp" +boost-test(RUN) "tr1/tr1_tky_function_type_test" : "libs/tr1/test/type_traits/tr1_tky_function_type_test.cpp" +boost-test(RUN) "tr1/tr1_is_signed_test" : "libs/tr1/test/type_traits/tr1_is_signed_test.cpp" +boost-test(RUN) "tr1/tr1_alignment_of_test" : "libs/tr1/test/type_traits/tr1_alignment_of_test.cpp" +boost-test(RUN) "tr1/tr1_has_nothrow_copy_test" : "libs/tr1/test/type_traits/tr1_has_nothrow_copy_test.cpp" +boost-test(RUN) "tr1/tr1_is_arithmetic_test" : "libs/tr1/test/type_traits/tr1_is_arithmetic_test.cpp" +boost-test(RUN) "tr1/tr1_is_reference_test" : "libs/tr1/test/type_traits/tr1_is_reference_test.cpp" +boost-test(RUN) "tr1/tr1_has_trivial_constr_test" : "libs/tr1/test/type_traits/tr1_has_trivial_constr_test.cpp" +boost-test(RUN) "tr1/tr1_remove_volatile_test" : "libs/tr1/test/type_traits/tr1_remove_volatile_test.cpp" +boost-test(RUN) "tr1/tr1_is_member_func_test" : "libs/tr1/test/type_traits/tr1_is_member_func_test.cpp" +boost-test(COMPILE) "tr1/test_list_std_header" : "libs/tr1/test/std_headers/test_list.cpp" +boost-test(COMPILE) "tr1/test_stdexcept_std_header" : "libs/tr1/test/std_headers/test_stdexcept.cpp" +boost-test(COMPILE) "tr1/test_istream_std_header" : "libs/tr1/test/std_headers/test_istream.cpp" +boost-test(COMPILE) "tr1/test_iomanip_std_header" : "libs/tr1/test/std_headers/test_iomanip.cpp" +boost-test(COMPILE) "tr1/test_set_std_header" : "libs/tr1/test/std_headers/test_set.cpp" +boost-test(COMPILE) "tr1/test_memory_std_header" : "libs/tr1/test/std_headers/test_memory.cpp" +boost-test(COMPILE) "tr1/test_vector_std_header" : "libs/tr1/test/std_headers/test_vector.cpp" +boost-test(COMPILE) "tr1/test_map_std_header" : "libs/tr1/test/std_headers/test_map.cpp" +boost-test(COMPILE) "tr1/test_typeinfo_std_header" : "libs/tr1/test/std_headers/test_typeinfo.cpp" +boost-test(COMPILE) "tr1/test_algorithm_std_header" : "libs/tr1/test/std_headers/test_algorithm.cpp" +boost-test(COMPILE) "tr1/test_limits_std_header" : "libs/tr1/test/std_headers/test_limits.cpp" +boost-test(COMPILE) "tr1/test_functional_std_header" : "libs/tr1/test/std_headers/test_functional.cpp" +boost-test(COMPILE) "tr1/test_sstream_std_header" : "libs/tr1/test/std_headers/test_sstream.cpp" +boost-test(COMPILE) "tr1/test_numeric_std_header" : "libs/tr1/test/std_headers/test_numeric.cpp" +boost-test(COMPILE) "tr1/test_deque_std_header" : "libs/tr1/test/std_headers/test_deque.cpp" +boost-test(COMPILE) "tr1/test_bitset_std_header" : "libs/tr1/test/std_headers/test_bitset.cpp" +boost-test(COMPILE) "tr1/test_strstream_std_header" : "libs/tr1/test/std_headers/test_strstream.cpp" +boost-test(COMPILE) "tr1/test_new_std_header" : "libs/tr1/test/std_headers/test_new.cpp" +boost-test(COMPILE) "tr1/test_complex_std_header" : "libs/tr1/test/std_headers/test_complex.cpp" +boost-test(COMPILE) "tr1/test_locale_std_header" : "libs/tr1/test/std_headers/test_locale.cpp" +boost-test(COMPILE) "tr1/test_stack_std_header" : "libs/tr1/test/std_headers/test_stack.cpp" +boost-test(COMPILE) "tr1/test_string_std_header" : "libs/tr1/test/std_headers/test_string.cpp" +boost-test(COMPILE) "tr1/test_ostream_std_header" : "libs/tr1/test/std_headers/test_ostream.cpp" +boost-test(COMPILE) "tr1/test_valarray_std_header" : "libs/tr1/test/std_headers/test_valarray.cpp" +boost-test(COMPILE) "tr1/test_exception_std_header" : "libs/tr1/test/std_headers/test_exception.cpp" +boost-test(COMPILE) "tr1/test_streambuf_std_header" : "libs/tr1/test/std_headers/test_streambuf.cpp" +boost-test(COMPILE) "tr1/test_iterator_std_header" : "libs/tr1/test/std_headers/test_iterator.cpp" +boost-test(COMPILE) "tr1/test_queue_std_header" : "libs/tr1/test/std_headers/test_queue.cpp" +boost-test(COMPILE) "tr1/test_iostream_std_header" : "libs/tr1/test/std_headers/test_iostream.cpp" +boost-test(COMPILE) "tr1/test_ios_std_header" : "libs/tr1/test/std_headers/test_ios.cpp" +boost-test(COMPILE) "tr1/test_utility_std_header" : "libs/tr1/test/std_headers/test_utility.cpp" +boost-test(COMPILE) "tr1/test_fstream_std_header" : "libs/tr1/test/std_headers/test_fstream.cpp" +boost-test(RUN) "type_traits/tricky_function_type_test" : "libs/type_traits/test/tricky_function_type_test.cpp" +boost-test(RUN) "type_traits/is_convertible_test" : "libs/type_traits/test/is_convertible_test.cpp" +boost-test(RUN) "type_traits/is_reference_test" : "libs/type_traits/test/is_reference_test.cpp" +boost-test(RUN) "type_traits/aligned_storage_test" : "libs/type_traits/test/aligned_storage_test.cpp" +boost-test(RUN) "type_traits/is_member_obj_test" : "libs/type_traits/test/is_member_obj_test.cpp" +boost-test(RUN) "type_traits/tricky_add_pointer_test" : "libs/type_traits/test/tricky_add_pointer_test.cpp" +boost-test(RUN) "type_traits/is_const_test" : "libs/type_traits/test/is_const_test.cpp" +boost-test(RUN) "type_traits/extent_test" : "libs/type_traits/test/extent_test.cpp" +boost-test(RUN) "type_traits/has_trivial_assign_test" : "libs/type_traits/test/has_trivial_assign_test.cpp" +boost-test(RUN) "type_traits/is_same_test" : "libs/type_traits/test/is_same_test.cpp" +boost-test(RUN) "type_traits/has_nothrow_constr_test" : "libs/type_traits/test/has_nothrow_constr_test.cpp" +boost-test(RUN) "type_traits/type_with_alignment_test" : "libs/type_traits/test/type_with_alignment_test.cpp" +boost-test(RUN) "type_traits/add_cv_test" : "libs/type_traits/test/add_cv_test.cpp" +boost-test(RUN) "type_traits/has_virtual_destructor_test" : "libs/type_traits/test/has_virtual_destructor_test.cpp" +boost-test(RUN) "type_traits/has_trivial_copy_test" : "libs/type_traits/test/has_trivial_copy_test.cpp" +boost-test(RUN) "type_traits/is_array_test" : "libs/type_traits/test/is_array_test.cpp" +boost-test(RUN) "type_traits/tricky_incomplete_type_test" : "libs/type_traits/test/tricky_incomplete_type_test.cpp" +boost-test(RUN) "type_traits/is_floating_point_test" : "libs/type_traits/test/is_floating_point_test.cpp" +boost-test(RUN) "type_traits/is_void_test" : "libs/type_traits/test/is_void_test.cpp" +boost-test(RUN) "type_traits/remove_cv_test" : "libs/type_traits/test/remove_cv_test.cpp" +boost-test(RUN) "type_traits/remove_volatile_test" : "libs/type_traits/test/remove_volatile_test.cpp" +boost-test(RUN) "type_traits/add_volatile_test" : "libs/type_traits/test/add_volatile_test.cpp" +boost-test(RUN) "type_traits/is_fundamental_test" : "libs/type_traits/test/is_fundamental_test.cpp" +boost-test(RUN) "type_traits/is_pod_test" : "libs/type_traits/test/is_pod_test.cpp" +boost-test(RUN) "type_traits/add_const_test" : "libs/type_traits/test/add_const_test.cpp" +boost-test(RUN) "type_traits/add_pointer_test" : "libs/type_traits/test/add_pointer_test.cpp" +boost-test(RUN) "type_traits/remove_reference_test" : "libs/type_traits/test/remove_reference_test.cpp" +boost-test(RUN) "type_traits/is_polymorphic_test" : "libs/type_traits/test/is_polymorphic_test.cpp" +boost-test(RUN) "type_traits/is_scalar_test" : "libs/type_traits/test/is_scalar_test.cpp" +boost-test(RUN) "type_traits/is_unsigned_test" : "libs/type_traits/test/is_unsigned_test.cpp" +boost-test(RUN) "type_traits/tricky_partial_spec_test" : "libs/type_traits/test/tricky_partial_spec_test.cpp" +boost-test(RUN) "type_traits/is_float_test" : "libs/type_traits/test/is_float_test.cpp" +boost-test(RUN) "type_traits/add_reference_test" : "libs/type_traits/test/add_reference_test.cpp" +boost-test(RUN) "type_traits/remove_bounds_test" : "libs/type_traits/test/remove_bounds_test.cpp" +boost-test(RUN) "type_traits/rank_test" : "libs/type_traits/test/rank_test.cpp" +boost-test(RUN) "type_traits/has_nothrow_copy_test" : "libs/type_traits/test/has_nothrow_copy_test.cpp" +boost-test(RUN) "type_traits/function_traits_test" : "libs/type_traits/test/function_traits_test.cpp" +boost-test(RUN) "type_traits/decay_test" : "libs/type_traits/test/decay_test.cpp" +boost-test(RUN) "type_traits/is_class_test" : "libs/type_traits/test/is_class_test.cpp" +boost-test(RUN) "type_traits/has_trivial_constr_test" : "libs/type_traits/test/has_trivial_constr_test.cpp" +boost-test(RUN) "type_traits/is_base_of_test" : "libs/type_traits/test/is_base_of_test.cpp" +boost-test(RUN) "type_traits/remove_const_test" : "libs/type_traits/test/remove_const_test.cpp" +boost-test(RUN) "type_traits/is_base_and_derived_test" : "libs/type_traits/test/is_base_and_derived_test.cpp" +boost-test(RUN) "type_traits/has_nothrow_assign_test" : "libs/type_traits/test/has_nothrow_assign_test.cpp" +boost-test(RUN) "type_traits/tricky_is_enum_test" : "libs/type_traits/test/tricky_is_enum_test.cpp" +boost-test(RUN) "type_traits/is_empty_test" : "libs/type_traits/test/is_empty_test.cpp" +boost-test(RUN) "type_traits/is_object_test" : "libs/type_traits/test/is_object_test.cpp" +boost-test(RUN) "type_traits/is_volatile_test" : "libs/type_traits/test/is_volatile_test.cpp" +boost-test(RUN) "type_traits/is_pointer_test" : "libs/type_traits/test/is_pointer_test.cpp" +boost-test(RUN) "type_traits/is_arithmetic_test" : "libs/type_traits/test/is_arithmetic_test.cpp" +boost-test(RUN) "type_traits/is_member_func_test" : "libs/type_traits/test/is_member_func_test.cpp" +boost-test(RUN) "type_traits/remove_extent_test" : "libs/type_traits/test/remove_extent_test.cpp" +boost-test(RUN) "type_traits/has_trivial_destructor_test" : "libs/type_traits/test/has_trivial_destructor_test.cpp" +boost-test(RUN) "type_traits/is_compound_test" : "libs/type_traits/test/is_compound_test.cpp" +boost-test(RUN) "type_traits/remove_pointer_test" : "libs/type_traits/test/remove_pointer_test.cpp" +boost-test(RUN) "type_traits/is_stateless_test" : "libs/type_traits/test/is_stateless_test.cpp" +boost-test(RUN) "type_traits/tricky_abstract_type_test" : "libs/type_traits/test/tricky_abstract_type_test.cpp" +boost-test(RUN) "type_traits/is_integral_test" : "libs/type_traits/test/is_integral_test.cpp" +boost-test(RUN) "type_traits/is_function_test" : "libs/type_traits/test/is_function_test.cpp" +boost-test(RUN) "type_traits/alignment_of_test" : "libs/type_traits/test/alignment_of_test.cpp" +boost-test(RUN) "type_traits/remove_all_extents_test" : "libs/type_traits/test/remove_all_extents_test.cpp" +boost-test(RUN) "type_traits/is_abstract_test" : "libs/type_traits/test/is_abstract_test.cpp" +boost-test(RUN) "type_traits/is_member_pointer_test" : "libs/type_traits/test/is_member_pointer_test.cpp" +boost-test(RUN) "type_traits/is_signed_test" : "libs/type_traits/test/is_signed_test.cpp" +boost-test(RUN) "type_traits/is_enum_test" : "libs/type_traits/test/is_enum_test.cpp" +boost-test(RUN) "type_traits/is_union_test" : "libs/type_traits/test/is_union_test.cpp" +boost-test(RUN) "type_traits/udt_specialisations" : "libs/type_traits/test/udt_specialisations.cpp" +boost-test(COMPILE) "typeof/function_emulation" : "libs/typeof/test/function.cpp" +boost-test(COMPILE) "typeof/function_native" : "libs/typeof/test/function.cpp" +boost-test(COMPILE) "typeof/noncopyable_emulation" : "libs/typeof/test/noncopyable.cpp" +boost-test(COMPILE) "typeof/noncopyable_native" : "libs/typeof/test/noncopyable.cpp" +boost-test(COMPILE) "typeof/function_binding_emulation" : "libs/typeof/test/function_binding.cpp" +boost-test(COMPILE) "typeof/function_binding_native" : "libs/typeof/test/function_binding.cpp" +boost-test(COMPILE) "typeof/type_emulation" : "libs/typeof/test/type.cpp" +boost-test(COMPILE) "typeof/type_native" : "libs/typeof/test/type.cpp" +boost-test(COMPILE) "typeof/template_tpl_emulation" : "libs/typeof/test/template_tpl.cpp" +boost-test(COMPILE) "typeof/template_tpl_native" : "libs/typeof/test/template_tpl.cpp" +boost-test(COMPILE) "typeof/std_emulation" : "libs/typeof/test/std.cpp" +boost-test(COMPILE) "typeof/std_native" : "libs/typeof/test/std.cpp" +boost-test(COMPILE) "typeof/data_member_emulation" : "libs/typeof/test/data_member.cpp" +boost-test(COMPILE) "typeof/data_member_native" : "libs/typeof/test/data_member.cpp" +boost-test(COMPILE) "typeof/member_function_emulation" : "libs/typeof/test/member_function.cpp" +boost-test(COMPILE) "typeof/member_function_native" : "libs/typeof/test/member_function.cpp" +boost-test(COMPILE) "typeof/template_type_emulation" : "libs/typeof/test/template_type.cpp" +boost-test(COMPILE) "typeof/template_type_native" : "libs/typeof/test/template_type.cpp" +boost-test(COMPILE) "typeof/modifiers_emulation" : "libs/typeof/test/modifiers.cpp" +boost-test(COMPILE) "typeof/modifiers_native" : "libs/typeof/test/modifiers.cpp" +boost-test(COMPILE) "typeof/nested_typedef_emulation" : "libs/typeof/test/nested_typedef.cpp" +boost-test(COMPILE) "typeof/nested_typedef_native" : "libs/typeof/test/nested_typedef.cpp" +boost-test(COMPILE) "typeof/template_multiword_emulation" : "libs/typeof/test/template_multiword.cpp" +boost-test(COMPILE) "typeof/template_multiword_native" : "libs/typeof/test/template_multiword.cpp" +boost-test(COMPILE) "typeof/template_int_emulation" : "libs/typeof/test/template_int.cpp" +boost-test(COMPILE) "typeof/template_int_native" : "libs/typeof/test/template_int.cpp" +boost-test(COMPILE) "typeof/template_enum_emulation" : "libs/typeof/test/template_enum.cpp" +boost-test(COMPILE) "typeof/template_enum_native" : "libs/typeof/test/template_enum.cpp" +boost-test(COMPILE) "typeof/function_ptr_emulation" : "libs/typeof/test/function_ptr.cpp" +boost-test(COMPILE) "typeof/function_ptr_native" : "libs/typeof/test/function_ptr.cpp" +boost-test(COMPILE) "typeof/function_ref_emulation" : "libs/typeof/test/function_ref.cpp" +boost-test(COMPILE) "typeof/function_ref_native" : "libs/typeof/test/function_ref.cpp" +boost-test(COMPILE) "typeof/function_ptr_from_tpl_emulation" : "libs/typeof/test/function_ptr_from_tpl.cpp" +boost-test(COMPILE) "typeof/function_ptr_from_tpl_native" : "libs/typeof/test/function_ptr_from_tpl.cpp" +boost-test(COMPILE) "typeof/template_dependent_emulation" : "libs/typeof/test/template_dependent.cpp" +boost-test(COMPILE) "typeof/template_dependent_native" : "libs/typeof/test/template_dependent.cpp" +boost-test(RUN) "typeof/odr_native" : "libs/typeof/test/odr1.cpp" "libs/typeof/test/odr2.cpp" +boost-test(RUN) "typeof/odr_emulation" : "libs/typeof/test/odr1.cpp" "libs/typeof/test/odr2.cpp" +boost-test(RUN) "typeof/odr_no_uns" : "libs/typeof/test/odr_no_uns1.cpp" "libs/typeof/test/odr_no_uns2.cpp" +boost-test(RUN) "utility/enable_if/partial_specializations" : "libs/utility/enable_if/test/partial_specializations.cpp" +boost-test(RUN) "utility/enable_if/no_disambiguation" : "libs/utility/enable_if/test/no_disambiguation.cpp" +boost-test(RUN) "utility/enable_if/namespace_disambiguation" : "libs/utility/enable_if/test/namespace_disambiguation.cpp" +boost-test(RUN) "utility/enable_if/member_templates" : "libs/utility/enable_if/test/member_templates.cpp" +boost-test(RUN) "utility/enable_if/lazy_test" : "libs/utility/enable_if/test/lazy_test.cpp" +boost-test(RUN) "utility/enable_if/lazy" : "libs/utility/enable_if/test/lazy.cpp" +boost-test(RUN) "utility/enable_if/dummy_arg_disambiguation" : "libs/utility/enable_if/test/dummy_arg_disambiguation.cpp" +boost-test(RUN) "utility/enable_if/constructors" : "libs/utility/enable_if/test/constructors.cpp" +boost-test(COMPILE_FAIL) "utility/value_init_test_fail3" : "libs/utility/value_init_test_fail3.cpp" +boost-test(COMPILE_FAIL) "utility/value_init_test_fail2" : "libs/utility/value_init_test_fail2.cpp" +boost-test(COMPILE_FAIL) "utility/value_init_test_fail1" : "libs/utility/value_init_test_fail1.cpp" +boost-test(RUN) "utility/value_init_test" : "libs/utility/value_init_test.cpp" +boost-test(RUN) "utility/shared_iterator_test" : "libs/utility/shared_iterator_test.cpp" +boost-test(COMPILE) "utility/result_of_test" : "libs/utility/test/result_of_test.cpp" +boost-test(RUN) "utility/ref_test" : "libs/utility/ref_test.cpp" +boost-test(COMPILE) "utility/ref_ct_test" : "libs/utility/ref_ct_test.cpp" +boost-test(RUN) "utility/operators_test" : "libs/utility/operators_test.cpp" +boost-test(RUN) "utility/numeric_traits_test" : "libs/utility/numeric_traits_test.cpp" +boost-test(COMPILE_FAIL) "utility/noncopyable_test" : "libs/utility/noncopyable_test.cpp" +boost-test(RUN) "utility/next_prior_test" : "libs/utility/test/next_prior_test.cpp" +boost-test(RUN) "utility/iterators_test" : "libs/utility/iterators_test.cpp" +boost-test(RUN) "utility/current_function_test" ["always_show_run_output"] : "libs/utility/current_function_test.cpp" +boost-test(RUN) "utility/compressed_pair_test" : "libs/utility/compressed_pair_test.cpp" +boost-test(COMPILE_FAIL) "utility/checked_delete_test" : "libs/utility/checked_delete_test.cpp" +boost-test(RUN) "utility/call_traits_test" : "libs/utility/call_traits_test.cpp" +boost-test(RUN) "utility/binary_search_test" : "libs/utility/binary_search_test.cpp" +boost-test(RUN) "utility/base_from_member_test" : "libs/utility/base_from_member_test.cpp" +boost-test(RUN) "utility/assert_test" : "libs/utility/assert_test.cpp" +boost-test(RUN) "utility/addressof_test" : "libs/utility/addressof_test.cpp" +boost-test(RUN) "variant/variant_visit_test" : "libs/variant/test/variant_visit_test.cpp" +boost-test(RUN) "variant/variant_comparison_test" : "libs/variant/test/variant_comparison_test.cpp" +boost-test(RUN) "variant/variant_reference_test" : "libs/variant/test/variant_reference_test.cpp" +boost-test(RUN) "variant/recursive_variant_test" : "libs/variant/test/recursive_variant_test.cpp" +boost-test(RUN) "variant/variant_test8" : "libs/variant/test/test8.cpp" +boost-test(RUN) "variant/variant_test7" : "libs/variant/test/test7.cpp" +boost-test(RUN) "variant/variant_test6" : "libs/variant/test/test6.cpp" +boost-test(RUN) "variant/variant_test5" : "libs/variant/test/test5.cpp" +boost-test(RUN) "variant/variant_test4" : "libs/variant/test/test4.cpp" "libs/variant/test/class_a.cpp" +boost-test(RUN) "variant/variant_test3" : "libs/variant/test/test3.cpp" +boost-test(RUN) "variant/variant_test2" : "libs/variant/test/test2.cpp" +boost-test(RUN) "variant/variant_test1" : "libs/variant/test/test1.cpp" "libs/variant/test/class_a.cpp" +boost-test(RUN) "wave/test_re2c_lexer" : "libs/wave/test/testlexers/test_re2c_lexer.cpp" +boost-test(RUN) "wave/test_slex_lexer" : "libs/wave/test/testlexers/test_slex_lexer.cpp" +boost-test(RUN) "wave/testwave" : "libs/wave/test/testwave/testwave.cpp" "libs/wave/test/testwave/testwave_app.cpp" +boost-test(RUN) "wave/testwave_dll" : "libs/wave/test/testwave/testwave.cpp" "libs/wave/test/testwave/testwave_app.cpp" +boost-test(COMPILE) "xpressive/test_sub_match" : "libs/xpressive/test/test_sub_match.cpp" +boost-test(COMPILE) "xpressive/test_regex_traits" : "libs/xpressive/test/test_regex_traits.cpp" +boost-test(COMPILE) "xpressive/test_regex_token_iterator" : "libs/xpressive/test/test_regex_token_iterator.cpp" +boost-test(COMPILE) "xpressive/test_regex_primitives" : "libs/xpressive/test/test_regex_primitives.cpp" +boost-test(COMPILE) "xpressive/test_regex_iterator" : "libs/xpressive/test/test_regex_iterator.cpp" +boost-test(COMPILE) "xpressive/test_regex_error" : "libs/xpressive/test/test_regex_error.cpp" +boost-test(COMPILE) "xpressive/test_regex_constants" : "libs/xpressive/test/test_regex_constants.cpp" +boost-test(COMPILE) "xpressive/test_regex_compiler" : "libs/xpressive/test/test_regex_compiler.cpp" +boost-test(COMPILE) "xpressive/test_regex_algorithms" : "libs/xpressive/test/test_regex_algorithms.cpp" +boost-test(COMPILE) "xpressive/test_match_results" : "libs/xpressive/test/test_match_results.cpp" +boost-test(COMPILE) "xpressive/test_basic_regex" : "libs/xpressive/test/test_basic_regex.cpp" +boost-test(LINK) "xpressive/multiple_defs" : "libs/xpressive/test/multiple_defs1.cpp" "libs/xpressive/test/multiple_defs2.cpp" +boost-test(RUN) "xpressive/test_dynamic" : "libs/xpressive/test/test_dynamic.cpp" +boost-test(RUN) "xpressive/test_static" : "libs/xpressive/test/test_static.cpp" +boost-test(RUN) "xpressive/test_non_char" : "libs/xpressive/test/test_non_char.cpp" +boost-test(RUN) "xpressive/test_cycles" : "libs/xpressive/test/test_cycles.cpp" +boost-test(RUN) "xpressive/misc2" : "libs/xpressive/test/misc2.cpp" +boost-test(RUN) "xpressive/misc1" : "libs/xpressive/test/misc1.cpp" +boost-test(RUN) "xpressive/test11u" : "libs/xpressive/test/test11u.cpp" +boost-test(RUN) "xpressive/test10u" : "libs/xpressive/test/test10u.cpp" +boost-test(RUN) "xpressive/test9u" : "libs/xpressive/test/test9u.cpp" +boost-test(RUN) "xpressive/test8u" : "libs/xpressive/test/test8u.cpp" +boost-test(RUN) "xpressive/test7u" : "libs/xpressive/test/test7u.cpp" +boost-test(RUN) "xpressive/test6u" : "libs/xpressive/test/test6u.cpp" +boost-test(RUN) "xpressive/test5u" : "libs/xpressive/test/test5u.cpp" +boost-test(RUN) "xpressive/test4u" : "libs/xpressive/test/test4u.cpp" +boost-test(RUN) "xpressive/test3u" : "libs/xpressive/test/test3u.cpp" +boost-test(RUN) "xpressive/test2u" : "libs/xpressive/test/test2u.cpp" +boost-test(RUN) "xpressive/test1u" : "libs/xpressive/test/test1u.cpp" +boost-test(RUN) "xpressive/test11" : "libs/xpressive/test/test11.cpp" +boost-test(RUN) "xpressive/test10" : "libs/xpressive/test/test10.cpp" +boost-test(RUN) "xpressive/test9" : "libs/xpressive/test/test9.cpp" +boost-test(RUN) "xpressive/test8" : "libs/xpressive/test/test8.cpp" +boost-test(RUN) "xpressive/test7" : "libs/xpressive/test/test7.cpp" +boost-test(RUN) "xpressive/test6" : "libs/xpressive/test/test6.cpp" +boost-test(RUN) "xpressive/test5" : "libs/xpressive/test/test5.cpp" +boost-test(RUN) "xpressive/test4" : "libs/xpressive/test/test4.cpp" +boost-test(RUN) "xpressive/test3" : "libs/xpressive/test/test3.cpp" +boost-test(RUN) "xpressive/test2" : "libs/xpressive/test/test2.cpp" +boost-test(RUN) "xpressive/test1" : "libs/xpressive/test/test1.cpp" +boost-test(RUN) "xpressive/c_traits" : "libs/xpressive/test/c_traits.cpp" +boost-test(RUN) "xpressive/regress" : "libs/xpressive/test/regress.cpp" +boost-test(RUN) "config/config_info" : "libs/config/test/config_info.cpp" +boost-test(RUN) "config/math_info" : "libs/config/test/math_info.cpp" +boost-test(RUN) "config/config_test" : "libs/config/test/config_test.cpp" +boost-test(RUN) "config/limits_test" : "libs/config/test/limits_test.cpp" +boost-test(RUN) "config/abi_test" : "libs/config/test/abi/abi_test.cpp" "libs/config/test/abi/main.cpp" +boost-test(COMPILE_FAIL) "config/has_2arg_use_facet_fail" : "libs/config/test/has_2arg_use_facet_fail.cpp" +boost-test(RUN) "config/has_2arg_use_facet_pass" : "libs/config/test/has_2arg_use_facet_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_bethreads_fail" : "libs/config/test/has_bethreads_fail.cpp" +boost-test(RUN) "config/has_bethreads_pass" : "libs/config/test/has_bethreads_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_clock_gettime_fail" : "libs/config/test/has_clock_gettime_fail.cpp" +boost-test(RUN) "config/has_clock_gettime_pass" : "libs/config/test/has_clock_gettime_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_dirent_h_fail" : "libs/config/test/has_dirent_h_fail.cpp" +boost-test(RUN) "config/has_dirent_h_pass" : "libs/config/test/has_dirent_h_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_expm1_fail" : "libs/config/test/has_expm1_fail.cpp" +boost-test(RUN) "config/has_expm1_pass" : "libs/config/test/has_expm1_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_ftime_fail" : "libs/config/test/has_ftime_fail.cpp" +boost-test(RUN) "config/has_ftime_pass" : "libs/config/test/has_ftime_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_gettimeofday_fail" : "libs/config/test/has_gettimeofday_fail.cpp" +boost-test(RUN) "config/has_gettimeofday_pass" : "libs/config/test/has_gettimeofday_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_hash_fail" : "libs/config/test/has_hash_fail.cpp" +boost-test(RUN) "config/has_hash_pass" : "libs/config/test/has_hash_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_log1p_fail" : "libs/config/test/has_log1p_fail.cpp" +boost-test(RUN) "config/has_log1p_pass" : "libs/config/test/has_log1p_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_long_long_fail" : "libs/config/test/has_long_long_fail.cpp" +boost-test(RUN) "config/has_long_long_pass" : "libs/config/test/has_long_long_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_macro_use_facet_fail" : "libs/config/test/has_macro_use_facet_fail.cpp" +boost-test(RUN) "config/has_macro_use_facet_pass" : "libs/config/test/has_macro_use_facet_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_ms_int64_fail" : "libs/config/test/has_ms_int64_fail.cpp" +boost-test(RUN) "config/has_ms_int64_pass" : "libs/config/test/has_ms_int64_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_nanosleep_fail" : "libs/config/test/has_nanosleep_fail.cpp" +boost-test(RUN) "config/has_nanosleep_pass" : "libs/config/test/has_nanosleep_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_nl_types_h_fail" : "libs/config/test/has_nl_types_h_fail.cpp" +boost-test(RUN) "config/has_nl_types_h_pass" : "libs/config/test/has_nl_types_h_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_nrvo_fail" : "libs/config/test/has_nrvo_fail.cpp" +boost-test(RUN) "config/has_nrvo_pass" : "libs/config/test/has_nrvo_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_part_alloc_fail" : "libs/config/test/has_part_alloc_fail.cpp" +boost-test(RUN) "config/has_part_alloc_pass" : "libs/config/test/has_part_alloc_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_pthreads_fail" : "libs/config/test/has_pthreads_fail.cpp" +boost-test(RUN) "config/has_pthreads_pass" : "libs/config/test/has_pthreads_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_pthread_delay_np_fail" : "libs/config/test/has_pthread_delay_np_fail.cpp" +boost-test(RUN) "config/has_pthread_delay_np_pass" : "libs/config/test/has_pthread_delay_np_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_pthread_ma_st_fail" : "libs/config/test/has_pthread_ma_st_fail.cpp" +boost-test(RUN) "config/has_pthread_ma_st_pass" : "libs/config/test/has_pthread_ma_st_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_pthread_yield_fail" : "libs/config/test/has_pthread_yield_fail.cpp" +boost-test(RUN) "config/has_pthread_yield_pass" : "libs/config/test/has_pthread_yield_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_sched_yield_fail" : "libs/config/test/has_sched_yield_fail.cpp" +boost-test(RUN) "config/has_sched_yield_pass" : "libs/config/test/has_sched_yield_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_sgi_type_traits_fail" : "libs/config/test/has_sgi_type_traits_fail.cpp" +boost-test(RUN) "config/has_sgi_type_traits_pass" : "libs/config/test/has_sgi_type_traits_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_sigaction_fail" : "libs/config/test/has_sigaction_fail.cpp" +boost-test(RUN) "config/has_sigaction_pass" : "libs/config/test/has_sigaction_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_slist_fail" : "libs/config/test/has_slist_fail.cpp" +boost-test(RUN) "config/has_slist_pass" : "libs/config/test/has_slist_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_stdint_h_fail" : "libs/config/test/has_stdint_h_fail.cpp" +boost-test(RUN) "config/has_stdint_h_pass" : "libs/config/test/has_stdint_h_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_stlp_use_facet_fail" : "libs/config/test/has_stlp_use_facet_fail.cpp" +boost-test(RUN) "config/has_stlp_use_facet_pass" : "libs/config/test/has_stlp_use_facet_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_tr1_array_fail" : "libs/config/test/has_tr1_array_fail.cpp" +boost-test(RUN) "config/has_tr1_array_pass" : "libs/config/test/has_tr1_array_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_tr1_bind_fail" : "libs/config/test/has_tr1_bind_fail.cpp" +boost-test(RUN) "config/has_tr1_bind_pass" : "libs/config/test/has_tr1_bind_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_tr1_complex_over_fail" : "libs/config/test/has_tr1_complex_over_fail.cpp" +boost-test(RUN) "config/has_tr1_complex_over_pass" : "libs/config/test/has_tr1_complex_over_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_tr1_complex_trig_fail" : "libs/config/test/has_tr1_complex_trig_fail.cpp" +boost-test(RUN) "config/has_tr1_complex_trig_pass" : "libs/config/test/has_tr1_complex_trig_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_tr1_function_fail" : "libs/config/test/has_tr1_function_fail.cpp" +boost-test(RUN) "config/has_tr1_function_pass" : "libs/config/test/has_tr1_function_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_tr1_hash_fail" : "libs/config/test/has_tr1_hash_fail.cpp" +boost-test(RUN) "config/has_tr1_hash_pass" : "libs/config/test/has_tr1_hash_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_tr1_mem_fn_fail" : "libs/config/test/has_tr1_mem_fn_fail.cpp" +boost-test(RUN) "config/has_tr1_mem_fn_pass" : "libs/config/test/has_tr1_mem_fn_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_tr1_random_fail" : "libs/config/test/has_tr1_random_fail.cpp" +boost-test(RUN) "config/has_tr1_random_pass" : "libs/config/test/has_tr1_random_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_tr1_ref_wrap_fail" : "libs/config/test/has_tr1_ref_wrap_fail.cpp" +boost-test(RUN) "config/has_tr1_ref_wrap_pass" : "libs/config/test/has_tr1_ref_wrap_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_tr1_regex_fail" : "libs/config/test/has_tr1_regex_fail.cpp" +boost-test(RUN) "config/has_tr1_regex_pass" : "libs/config/test/has_tr1_regex_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_tr1_result_of_fail" : "libs/config/test/has_tr1_result_of_fail.cpp" +boost-test(RUN) "config/has_tr1_result_of_pass" : "libs/config/test/has_tr1_result_of_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_tr1_shared_ptr_fail" : "libs/config/test/has_tr1_shared_ptr_fail.cpp" +boost-test(RUN) "config/has_tr1_shared_ptr_pass" : "libs/config/test/has_tr1_shared_ptr_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_tr1_tuple_fail" : "libs/config/test/has_tr1_tuple_fail.cpp" +boost-test(RUN) "config/has_tr1_tuple_pass" : "libs/config/test/has_tr1_tuple_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_tr1_type_traits_fail" : "libs/config/test/has_tr1_type_traits_fail.cpp" +boost-test(RUN) "config/has_tr1_type_traits_pass" : "libs/config/test/has_tr1_type_traits_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_tr1_unordered_map_fail" : "libs/config/test/has_tr1_unordered_map_fail.cpp" +boost-test(RUN) "config/has_tr1_unordered_map_pass" : "libs/config/test/has_tr1_unordered_map_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_tr1_unordered_set_fail" : "libs/config/test/has_tr1_unordered_set_fail.cpp" +boost-test(RUN) "config/has_tr1_unordered_set_pass" : "libs/config/test/has_tr1_unordered_set_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_tr1_utility_fail" : "libs/config/test/has_tr1_utility_fail.cpp" +boost-test(RUN) "config/has_tr1_utility_pass" : "libs/config/test/has_tr1_utility_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_unistd_h_fail" : "libs/config/test/has_unistd_h_fail.cpp" +boost-test(RUN) "config/has_unistd_h_pass" : "libs/config/test/has_unistd_h_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_vc6_mem_templ_fail" : "libs/config/test/has_vc6_mem_templ_fail.cpp" +boost-test(RUN) "config/has_vc6_mem_templ_pass" : "libs/config/test/has_vc6_mem_templ_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_vc_iterator_fail" : "libs/config/test/has_vc_iterator_fail.cpp" +boost-test(RUN) "config/has_vc_iterator_pass" : "libs/config/test/has_vc_iterator_pass.cpp" +boost-test(COMPILE_FAIL) "config/has_winthreads_fail" : "libs/config/test/has_winthreads_fail.cpp" +boost-test(RUN) "config/has_winthreads_pass" : "libs/config/test/has_winthreads_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_arg_dep_lookup_fail" : "libs/config/test/no_arg_dep_lookup_fail.cpp" +boost-test(RUN) "config/no_arg_dep_lookup_pass" : "libs/config/test/no_arg_dep_lookup_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_array_type_spec_fail" : "libs/config/test/no_array_type_spec_fail.cpp" +boost-test(RUN) "config/no_array_type_spec_pass" : "libs/config/test/no_array_type_spec_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_auto_ptr_fail" : "libs/config/test/no_auto_ptr_fail.cpp" +boost-test(RUN) "config/no_auto_ptr_pass" : "libs/config/test/no_auto_ptr_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_bcb_partial_spec_fail" : "libs/config/test/no_bcb_partial_spec_fail.cpp" +boost-test(RUN) "config/no_bcb_partial_spec_pass" : "libs/config/test/no_bcb_partial_spec_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_ctype_functions_fail" : "libs/config/test/no_ctype_functions_fail.cpp" +boost-test(RUN) "config/no_ctype_functions_pass" : "libs/config/test/no_ctype_functions_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_cv_spec_fail" : "libs/config/test/no_cv_spec_fail.cpp" +boost-test(RUN) "config/no_cv_spec_pass" : "libs/config/test/no_cv_spec_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_cv_void_spec_fail" : "libs/config/test/no_cv_void_spec_fail.cpp" +boost-test(RUN) "config/no_cv_void_spec_pass" : "libs/config/test/no_cv_void_spec_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_cwchar_fail" : "libs/config/test/no_cwchar_fail.cpp" +boost-test(RUN) "config/no_cwchar_pass" : "libs/config/test/no_cwchar_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_cwctype_fail" : "libs/config/test/no_cwctype_fail.cpp" +boost-test(RUN) "config/no_cwctype_pass" : "libs/config/test/no_cwctype_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_ded_typename_fail" : "libs/config/test/no_ded_typename_fail.cpp" +boost-test(RUN) "config/no_ded_typename_pass" : "libs/config/test/no_ded_typename_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_dep_nested_class_fail" : "libs/config/test/no_dep_nested_class_fail.cpp" +boost-test(RUN) "config/no_dep_nested_class_pass" : "libs/config/test/no_dep_nested_class_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_dep_val_param_fail" : "libs/config/test/no_dep_val_param_fail.cpp" +boost-test(RUN) "config/no_dep_val_param_pass" : "libs/config/test/no_dep_val_param_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_exceptions_fail" : "libs/config/test/no_exceptions_fail.cpp" +boost-test(RUN) "config/no_exceptions_pass" : "libs/config/test/no_exceptions_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_excep_std_fail" : "libs/config/test/no_excep_std_fail.cpp" +boost-test(RUN) "config/no_excep_std_pass" : "libs/config/test/no_excep_std_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_exp_func_tem_arg_fail" : "libs/config/test/no_exp_func_tem_arg_fail.cpp" +boost-test(RUN) "config/no_exp_func_tem_arg_pass" : "libs/config/test/no_exp_func_tem_arg_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_func_tmp_order_fail" : "libs/config/test/no_func_tmp_order_fail.cpp" +boost-test(RUN) "config/no_func_tmp_order_pass" : "libs/config/test/no_func_tmp_order_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_i64_limits_fail" : "libs/config/test/no_i64_limits_fail.cpp" +boost-test(RUN) "config/no_i64_limits_pass" : "libs/config/test/no_i64_limits_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_inline_memb_init_fail" : "libs/config/test/no_inline_memb_init_fail.cpp" +boost-test(RUN) "config/no_inline_memb_init_pass" : "libs/config/test/no_inline_memb_init_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_integral_int64_t_fail" : "libs/config/test/no_integral_int64_t_fail.cpp" +boost-test(RUN) "config/no_integral_int64_t_pass" : "libs/config/test/no_integral_int64_t_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_is_abstract_fail" : "libs/config/test/no_is_abstract_fail.cpp" +boost-test(RUN) "config/no_is_abstract_pass" : "libs/config/test/no_is_abstract_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_iter_construct_fail" : "libs/config/test/no_iter_construct_fail.cpp" +boost-test(RUN) "config/no_iter_construct_pass" : "libs/config/test/no_iter_construct_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_limits_fail" : "libs/config/test/no_limits_fail.cpp" +boost-test(RUN) "config/no_limits_pass" : "libs/config/test/no_limits_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_limits_const_exp_fail" : "libs/config/test/no_limits_const_exp_fail.cpp" +boost-test(RUN) "config/no_limits_const_exp_pass" : "libs/config/test/no_limits_const_exp_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_ll_limits_fail" : "libs/config/test/no_ll_limits_fail.cpp" +boost-test(RUN) "config/no_ll_limits_pass" : "libs/config/test/no_ll_limits_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_mem_func_spec_fail" : "libs/config/test/no_mem_func_spec_fail.cpp" +boost-test(RUN) "config/no_mem_func_spec_pass" : "libs/config/test/no_mem_func_spec_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_mem_templates_fail" : "libs/config/test/no_mem_templates_fail.cpp" +boost-test(RUN) "config/no_mem_templates_pass" : "libs/config/test/no_mem_templates_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_mem_templ_frnds_fail" : "libs/config/test/no_mem_templ_frnds_fail.cpp" +boost-test(RUN) "config/no_mem_templ_frnds_pass" : "libs/config/test/no_mem_templ_frnds_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_mem_tem_keyword_fail" : "libs/config/test/no_mem_tem_keyword_fail.cpp" +boost-test(RUN) "config/no_mem_tem_keyword_pass" : "libs/config/test/no_mem_tem_keyword_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_mem_tem_pnts_fail" : "libs/config/test/no_mem_tem_pnts_fail.cpp" +boost-test(RUN) "config/no_mem_tem_pnts_pass" : "libs/config/test/no_mem_tem_pnts_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_ops_in_namespace_fail" : "libs/config/test/no_ops_in_namespace_fail.cpp" +boost-test(RUN) "config/no_ops_in_namespace_pass" : "libs/config/test/no_ops_in_namespace_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_partial_spec_fail" : "libs/config/test/no_partial_spec_fail.cpp" +boost-test(RUN) "config/no_partial_spec_pass" : "libs/config/test/no_partial_spec_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_priv_aggregate_fail" : "libs/config/test/no_priv_aggregate_fail.cpp" +boost-test(RUN) "config/no_priv_aggregate_pass" : "libs/config/test/no_priv_aggregate_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_ptr_mem_const_fail" : "libs/config/test/no_ptr_mem_const_fail.cpp" +boost-test(RUN) "config/no_ptr_mem_const_pass" : "libs/config/test/no_ptr_mem_const_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_ret_det_fail" : "libs/config/test/no_ret_det_fail.cpp" +boost-test(RUN) "config/no_ret_det_pass" : "libs/config/test/no_ret_det_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_sfinae_fail" : "libs/config/test/no_sfinae_fail.cpp" +boost-test(RUN) "config/no_sfinae_pass" : "libs/config/test/no_sfinae_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_sstream_fail" : "libs/config/test/no_sstream_fail.cpp" +boost-test(RUN) "config/no_sstream_pass" : "libs/config/test/no_sstream_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_stdc_namespace_fail" : "libs/config/test/no_stdc_namespace_fail.cpp" +boost-test(RUN) "config/no_stdc_namespace_pass" : "libs/config/test/no_stdc_namespace_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_std_allocator_fail" : "libs/config/test/no_std_allocator_fail.cpp" +boost-test(RUN) "config/no_std_allocator_pass" : "libs/config/test/no_std_allocator_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_std_distance_fail" : "libs/config/test/no_std_distance_fail.cpp" +boost-test(RUN) "config/no_std_distance_pass" : "libs/config/test/no_std_distance_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_std_iterator_fail" : "libs/config/test/no_std_iterator_fail.cpp" +boost-test(RUN) "config/no_std_iterator_pass" : "libs/config/test/no_std_iterator_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_std_iter_traits_fail" : "libs/config/test/no_std_iter_traits_fail.cpp" +boost-test(RUN) "config/no_std_iter_traits_pass" : "libs/config/test/no_std_iter_traits_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_std_locale_fail" : "libs/config/test/no_std_locale_fail.cpp" +boost-test(RUN) "config/no_std_locale_pass" : "libs/config/test/no_std_locale_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_std_messages_fail" : "libs/config/test/no_std_messages_fail.cpp" +boost-test(RUN) "config/no_std_messages_pass" : "libs/config/test/no_std_messages_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_std_min_max_fail" : "libs/config/test/no_std_min_max_fail.cpp" +boost-test(RUN) "config/no_std_min_max_pass" : "libs/config/test/no_std_min_max_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_std_oi_assign_fail" : "libs/config/test/no_std_oi_assign_fail.cpp" +boost-test(RUN) "config/no_std_oi_assign_pass" : "libs/config/test/no_std_oi_assign_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_std_use_facet_fail" : "libs/config/test/no_std_use_facet_fail.cpp" +boost-test(RUN) "config/no_std_use_facet_pass" : "libs/config/test/no_std_use_facet_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_std_wstreambuf_fail" : "libs/config/test/no_std_wstreambuf_fail.cpp" +boost-test(RUN) "config/no_std_wstreambuf_pass" : "libs/config/test/no_std_wstreambuf_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_std_wstring_fail" : "libs/config/test/no_std_wstring_fail.cpp" +boost-test(RUN) "config/no_std_wstring_pass" : "libs/config/test/no_std_wstring_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_swprintf_fail" : "libs/config/test/no_swprintf_fail.cpp" +boost-test(RUN) "config/no_swprintf_pass" : "libs/config/test/no_swprintf_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_template_template_fail" : "libs/config/test/no_template_template_fail.cpp" +boost-test(RUN) "config/no_template_template_pass" : "libs/config/test/no_template_template_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_using_breaks_adl_fail" : "libs/config/test/no_using_breaks_adl_fail.cpp" +boost-test(RUN) "config/no_using_breaks_adl_pass" : "libs/config/test/no_using_breaks_adl_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_using_decl_overld_fail" : "libs/config/test/no_using_decl_overld_fail.cpp" +boost-test(RUN) "config/no_using_decl_overld_pass" : "libs/config/test/no_using_decl_overld_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_using_template_fail" : "libs/config/test/no_using_template_fail.cpp" +boost-test(RUN) "config/no_using_template_pass" : "libs/config/test/no_using_template_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_void_returns_fail" : "libs/config/test/no_void_returns_fail.cpp" +boost-test(RUN) "config/no_void_returns_pass" : "libs/config/test/no_void_returns_pass.cpp" +boost-test(COMPILE_FAIL) "config/no_wchar_t_fail" : "libs/config/test/no_wchar_t_fail.cpp" +boost-test(RUN) "config/no_wchar_t_pass" : "libs/config/test/no_wchar_t_pass.cpp" +boost-test(RUN) "functional/hash/books" : "libs/functional/hash/examples/books.cpp" +boost-test(RUN) "functional/hash/point" : "libs/functional/hash/examples/point.cpp" +boost-test(RUN) "functional/hash/portable" : "libs/functional/hash/examples/portable.cpp" +...patience... +...patience... +...patience... +...patience... +...patience... +...found 52565 targets... +...updating 11478 targets... + +######################### +MkDir1 /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64 + + mkdir "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64" + +MkDir1 /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug + + mkdir "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug" + +MkDir1 /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static + + mkdir "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/compiler_log_formatter.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/compiler_log_formatter.o" "../libs/test/src/compiler_log_formatter.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/execution_monitor.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/execution_monitor.o" "../libs/test/src/execution_monitor.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/framework.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/framework.o" "../libs/test/src/framework.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/plain_report_formatter.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/plain_report_formatter.o" "../libs/test/src/plain_report_formatter.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/progress_monitor.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/progress_monitor.o" "../libs/test/src/progress_monitor.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/results_collector.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/results_collector.o" "../libs/test/src/results_collector.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/results_reporter.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/results_reporter.o" "../libs/test/src/results_reporter.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/test_main.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/test_main.o" "../libs/test/src/test_main.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/test_tools.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/test_tools.o" "../libs/test/src/test_tools.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/unit_test_log.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/unit_test_log.o" "../libs/test/src/unit_test_log.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/unit_test_main.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/unit_test_main.o" "../libs/test/src/unit_test_main.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/unit_test_monitor.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/unit_test_monitor.o" "../libs/test/src/unit_test_monitor.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/unit_test_parameters.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/unit_test_parameters.o" "../libs/test/src/unit_test_parameters.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/unit_test_suite.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/unit_test_suite.o" "../libs/test/src/unit_test_suite.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/xml_log_formatter.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/xml_log_formatter.o" "../libs/test/src/xml_log_formatter.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/xml_report_formatter.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/xml_report_formatter.o" "../libs/test/src/xml_report_formatter.cpp" + +RmTemps /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/libboost_test_exec_monitor-gcc34-d-1_34.a(clean) + + rm -f "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/libboost_test_exec_monitor-gcc34-d-1_34.a" + +gcc.archive /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/libboost_test_exec_monitor-gcc34-d-1_34.a + + "ar" rc "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/libboost_test_exec_monitor-gcc34-d-1_34.a" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/compiler_log_formatter.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/execution_monitor.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/framework.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/plain_report_formatter.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/progress_monitor.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/results_collector.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/results_reporter.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/test_main.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/test_tools.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/unit_test_log.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/unit_test_main.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/unit_test_monitor.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/unit_test_parameters.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/unit_test_suite.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/xml_log_formatter.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/xml_report_formatter.o" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/exception_safety.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/exception_safety.o" "../libs/test/src/exception_safety.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/interaction_based.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/interaction_based.o" "../libs/test/src/interaction_based.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/logged_expectations.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/logged_expectations.o" "../libs/test/src/logged_expectations.cpp" + +RmTemps /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/libboost_unit_test_framework-gcc34-d-1_34.a(clean) + + rm -f "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/libboost_unit_test_framework-gcc34-d-1_34.a" + +gcc.archive /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/libboost_unit_test_framework-gcc34-d-1_34.a + + "ar" rc "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/libboost_unit_test_framework-gcc34-d-1_34.a" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/compiler_log_formatter.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/execution_monitor.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/framework.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/plain_report_formatter.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/progress_monitor.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/results_collector.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/results_reporter.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/test_tools.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/unit_test_log.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/unit_test_main.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/unit_test_monitor.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/unit_test_parameters.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/unit_test_suite.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/xml_log_formatter.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/xml_report_formatter.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/exception_safety.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/interaction_based.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/logged_expectations.o" + +MkDir1 /b/r/rc/results/boost/bin.v2/status/config_test.test/gcc-3.4.6_linux_x86_64 + + mkdir "/b/r/rc/results/boost/bin.v2/status/config_test.test/gcc-3.4.6_linux_x86_64" + +MkDir1 /b/r/rc/results/boost/bin.v2/status/config_test.test/gcc-3.4.6_linux_x86_64/debug + + mkdir "/b/r/rc/results/boost/bin.v2/status/config_test.test/gcc-3.4.6_linux_x86_64/debug" + +MkDir1 /b/r/rc/results/boost/bin.v2/status/config_test.test/gcc-3.4.6_linux_x86_64/debug/threading-multi + + mkdir "/b/r/rc/results/boost/bin.v2/status/config_test.test/gcc-3.4.6_linux_x86_64/debug/threading-multi" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/status/config_test.test/gcc-3.4.6_linux_x86_64/debug/threading-multi/config_test.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -fPIC -D_GLIBCXX_DEBUG=1 -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/status/config_test.test/gcc-3.4.6_linux_x86_64/debug/threading-multi/config_test.o" "/b/r/rc/boost/libs/config/test/config_test.cpp" + +In file included from /b/r/rc/boost/libs/config/test/config_test.cpp:118: +/b/r/rc/boost/libs/config/test/boost_no_is_abstract.ipp: In function `int boost_no_is_abstract::test()': +/b/r/rc/boost/libs/config/test/boost_no_is_abstract.ipp:41: warning: comparison between `enum boost_no_is_abstract::is_abstract_test<boost_no_is_abstract::non_abstract>::<anonymous>' and `enum boost_no_is_abstract::is_abstract_test<boost_no_is_abstract::abstract>::<anonymous>' +/b/r/rc/boost/libs/config/test/boost_no_std_wstreambuf.ipp: In member function `typename boost_no_std_wstreambuf::parser_buf<charT, traits>::pos_type boost_no_std_wstreambuf::parser_buf<charT, traits>::seekoff(typename std::basic_streambuf<_CharT, _Traits>::off_type, std::_Ios_Seekdir, std::_Ios_Openmode) [with charT = char, traits = std::char_traits<char>]': +/b/r/rc/boost/libs/config/test/boost_no_std_wstreambuf.ipp:104: instantiated from here +/b/r/rc/boost/libs/config/test/boost_no_std_wstreambuf.ipp:77: warning: enumeration value `_S_ios_seekdir_end' not handled in switch +/b/r/rc/boost/libs/config/test/boost_no_std_wstreambuf.ipp: In member function `typename boost_no_std_wstreambuf::parser_buf<charT, traits>::pos_type boost_no_std_wstreambuf::parser_buf<charT, traits>::seekoff(typename std::basic_streambuf<_CharT, _Traits>::off_type, std::_Ios_Seekdir, std::_Ios_Openmode) [with charT = wchar_t, traits = std::char_traits<wchar_t>]': +/b/r/rc/boost/libs/config/test/boost_no_std_wstreambuf.ipp:105: instantiated from here +/b/r/rc/boost/libs/config/test/boost_no_std_wstreambuf.ipp:77: warning: enumeration value `_S_ios_seekdir_end' not handled in switch +MkDir1 /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi + + mkdir "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/compiler_log_formatter.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -pthread -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/compiler_log_formatter.o" "../libs/test/src/compiler_log_formatter.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/execution_monitor.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -pthread -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/execution_monitor.o" "../libs/test/src/execution_monitor.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/framework.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -pthread -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/framework.o" "../libs/test/src/framework.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/plain_report_formatter.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -pthread -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/plain_report_formatter.o" "../libs/test/src/plain_report_formatter.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/progress_monitor.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -pthread -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/progress_monitor.o" "../libs/test/src/progress_monitor.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/results_collector.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -pthread -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/results_collector.o" "../libs/test/src/results_collector.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/results_reporter.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -pthread -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/results_reporter.o" "../libs/test/src/results_reporter.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/test_main.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -pthread -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/test_main.o" "../libs/test/src/test_main.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/test_tools.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -pthread -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/test_tools.o" "../libs/test/src/test_tools.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/unit_test_log.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -pthread -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/unit_test_log.o" "../libs/test/src/unit_test_log.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/unit_test_main.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -pthread -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/unit_test_main.o" "../libs/test/src/unit_test_main.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/unit_test_monitor.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -pthread -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/unit_test_monitor.o" "../libs/test/src/unit_test_monitor.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/unit_test_parameters.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -pthread -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/unit_test_parameters.o" "../libs/test/src/unit_test_parameters.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/unit_test_suite.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -pthread -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/unit_test_suite.o" "../libs/test/src/unit_test_suite.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/xml_log_formatter.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -pthread -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/xml_log_formatter.o" "../libs/test/src/xml_log_formatter.cpp" + +gcc.compile.c++ /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/xml_report_formatter.o + + "/usr/local/gcc-3.4.6/bin/g++wrap" "--limit-memory=900" "--limit-cpu=1800" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -D_GLIBCXX_DEBUG=1 -pthread -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/xml_report_formatter.o" "../libs/test/src/xml_report_formatter.cpp" + +RmTemps /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/libboost_test_exec_monitor-gcc34-mt-d-1_34.a(clean) + + rm -f "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/libboost_test_exec_monitor-gcc34-mt-d-1_34.a" + +gcc.archive /b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/libboost_test_exec_monitor-gcc34-mt-d-1_34.a + + "ar" rc "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/libboost_test_exec_monitor-gcc34-mt-d-1_34.a" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/compiler_log_formatter.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/execution_monitor.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/framework.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/plain_report_formatter.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/progress_monitor.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/results_collector.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/results_reporter.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/test_main.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/test_tools.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/unit_test_log.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/unit_test_main.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/unit_test_monitor.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/unit_test_parameters.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/unit_test_suite.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/xml_log_formatter.o" "/b/r/rc/results/boost/bin.v2/libs/test/build/gcc-3.4.6_linux_x86_64/debug/link-static/threading-multi/xml_report_formatter.o" + +...failed updating 42 targets... +...skipped 51 targets... +...updated 11385 targets... diff --git a/tools/regression/test/test.bat b/tools/regression/test/test.bat new file mode 100644 index 0000000000..200c716cba --- /dev/null +++ b/tools/regression/test/test.bat @@ -0,0 +1,10 @@ +set TEST_LOCATE_ROOT=d:\temp + +echo Begin test processing... +bjam --dump-tests "-sALL_LOCATE_TARGET=%TEST_LOCATE_ROOT%" %* >bjam.log 2>&1 +echo Begin log processing... +process_jam_log %TEST_LOCATE_ROOT% <bjam.log +start bjam.log +echo Begin compiler status processing... +compiler_status --locate-root %TEST_LOCATE_ROOT% %BOOST_ROOT% test_status.html test_links.html +start test_status.html diff --git a/tools/regression/test/test.py b/tools/regression/test/test.py new file mode 100644 index 0000000000..5a627ea2b5 --- /dev/null +++ b/tools/regression/test/test.py @@ -0,0 +1,181 @@ +# Copyright (c) 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) + +import difflib +import os +import re +import shutil +import string +import sys + + + +def scan_for_test_cases(): + return [ os.path.join( "test-cases", x ) for x in os.listdir( "test-cases" ) if x != "CVS" ] + +def clean_dir( dir ): + if os.path.exists( dir ): + shutil.rmtree( dir ) + os.makedirs( dir ) + +def system( commands ): + if sys.platform == 'win32': + f = open( 'tmp.cmd', 'w' ) + f.write( string.join( commands, '\n' ) ) + f.close() + rc = os.system( 'tmp.cmd' ) + os.unlink( 'tmp.cmd' ) + return rc + else: + rc = os.system( '&&'.join( commands ) ) + return rc + +def checked_system( commands, valid_return_codes = [ 0 ] ): + rc = system( commands ) + if rc not in [ 0 ] + valid_return_codes: + raise Exception( 'Command sequence "%s" failed with return code %d' % ( commands, rc ) ) + return rc + +def list_recursively( dir ): + r = [] + for root, dirs, files in os.walk( dir, topdown=False ): + root = root[ len( dir ) + 1 : ] + r.extend( [ os.path.join( root, x ) for x in dirs ] ) + r.extend( [ os.path.join( root, x ) for x in files ] ) + + return r + +def find_process_jam_log(): + root = "../../../" + + for root, dirs, files in os.walk( os.path.join( root, "bin.v2" ), topdown=False ): + if "process_jam_log.exe" in files: + return os.path.abspath( os.path.normpath( os.path.join( root, "process_jam_log.exe" ) ) ) + if "process_jam_log" in files: + return os.path.abspath( os.path.normpath( os.path.join( root, "process_jam_log" ) ) ) + return None + +def process_jam_log( executable, file, locate_root, results_dir ): + args = [] + args.append( executable ) + # args.append( '--echo' ) + args.append( '--create-directories' ) + args.append( '--v2' ) + args.append( locate_root ) + args.append( '<' ) + args.append( file ) + + cmd = " ".join( args ) + print "Running process_jam_log (%s)" % cmd + checked_system( [ cmd ] ) + + +def read_file( file_path ): + f = open( file_path ) + try: + return f.read() + finally: + f.close() + +def remove_timestamps( log_lines ): + return [ re.sub( "timestamp=\"[^\"]+\"", "timestamp=\"\"", x ) for x in log_lines ] + +def determine_locate_root( bjam_log ): + locate_root = None + f = open( 'bjam.log' ) + try: + locate_root_re = re.compile( r'locate-root\s+"(.*)"' ) + for l in f.readlines(): + m = locate_root_re.match( l ) + if m: + locate_root = m.group(1) + break + finally: + f.close() + return locate_root + +def read_file( path ): + f = open( path ) + try: + return f.read() + finally: + f.close() + +def read_file_lines( path ): + f = open( path ) + try: + return f.readlines() + finally: + f.close() + +def write_file( path, content ): + f = open( path, 'w' ) + try: + return f.write( content ) + finally: + f.close() + +def write_file_lines( path, content ): + f = open( path, 'w' ) + try: + return f.writelines( content ) + finally: + f.close() + + +def run_test_cases( test_cases ): + process_jam_log_executable = find_process_jam_log() + print 'Found process_jam_log: %s' % process_jam_log_executable + initial_dir = os.getcwd() + for test_case in test_cases: + os.chdir( initial_dir ) + print 'Running test case "%s"' % test_case + os.chdir( test_case ) + if os.path.exists( "expected" ): + locate_root = determine_locate_root( 'bjam.log' ) + print 'locate_root: %s' % locate_root + + actual_results_dir = os.path.join( test_case, "actual" ) + clean_dir( "actual" ) + os.chdir( "actual" ) + root = os.getcwd() + i = 0 + while 1: + if i == 0: + bjam_log_file = 'bjam.log' + else: + bjam_log_file = 'bjam.log.%0d' % i + i += 1 + print 'Looking for %s' % bjam_log_file + if not os.path.exists( os.path.join( '..', bjam_log_file ) ): + print ' does not exists' + break + print ' found' + write_file_lines(bjam_log_file.replace( 'bjam', 'bjam_' ), + [ x.replace( locate_root, root ) for x in read_file_lines( os.path.join( '..', bjam_log_file ) ) ] ) + + process_jam_log( executable = process_jam_log_executable + , results_dir = "." + , locate_root = root + , file=bjam_log_file.replace( 'bjam', 'bjam_' ) ) + + actual_content = list_recursively( "." ) + actual_content.sort() + result_xml = [] + for test_log in [ x for x in actual_content if os.path.splitext( x )[1] == '.xml' ]: + print 'reading %s' % test_log + result = [ re.sub( r'timestamp="(.*)"', 'timestamp="xxx"', x ) for x in read_file_lines( test_log ) ] + result_xml.extend( result ) + + write_file_lines( 'results.xml', result_xml ) + os.chdir( '..' ) + assert read_file( 'expected/results.xml' ) == read_file( 'actual/results.xml' ) + os.chdir( '..' ) + else: + raise ' Test case "%s" doesn\'t contain the expected results directory ("expected" )' % ( test_case ) + +run_test_cases( scan_for_test_cases() ) +# print find_process_jam_log() diff --git a/tools/regression/xsl_reports/boost_wide_report.py b/tools/regression/xsl_reports/boost_wide_report.py new file mode 100644 index 0000000000..f212b8eea1 --- /dev/null +++ b/tools/regression/xsl_reports/boost_wide_report.py @@ -0,0 +1,828 @@ + +# Copyright (c) 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) + +import shutil +import codecs +import xml.sax.handler +import glob +import re +import os.path +import os +import string +import time +import sys +import ftplib + +import utils +import runner + + +report_types = [ 'us', 'ds', 'ud', 'dd', 'l', 'p', 'i', 'n', 'ddr', 'dsr', 'udr', 'usr' ] + +if __name__ == '__main__': + run_dir = os.path.abspath( os.path.dirname( sys.argv[ 0 ] ) ) +else: + run_dir = os.path.abspath( os.path.dirname( sys.modules[ __name__ ].__file__ ) ) + + +def map_path( path ): + return os.path.join( run_dir, path ) + + +def xsl_path( xsl_file_name ): + return map_path( os.path.join( 'xsl/v2', xsl_file_name ) ) + +class file_info: + def __init__( self, file_name, file_size, file_date ): + self.name = file_name + self.size = file_size + self.date = file_date + + def __repr__( self ): + return "name: %s, size: %s, date %s" % ( self.name, self.size, self.date ) + +# +# Find the mod time from unix format directory listing line +# + +def get_date( words ): + date = words[ 5: -1 ] + t = time.localtime() + + month_names = [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ] + + year = time.localtime()[0] # If year is not secified is it the current year + month = month_names.index( date[0] ) + 1 + day = int( date[1] ) + hours = 0 + minutes = 0 + + if date[2].find( ":" ) != -1: + ( hours, minutes ) = [ int(x) for x in date[2].split( ":" ) ] + else: + # there is no way to get seconds for not current year dates + year = int( date[2] ) + + return ( year, month, day, hours, minutes, 0, 0, 0, 0 ) + +def list_ftp( f ): + # f is an ftp object + utils.log( "listing source content" ) + lines = [] + + # 1. get all lines + f.dir( lambda x: lines.append( x ) ) + + # 2. split lines into words + word_lines = [ x.split( None, 8 ) for x in lines ] + + # we don't need directories + result = [ file_info( l[-1], None, get_date( l ) ) for l in word_lines if l[0][0] != "d" ] + for f in result: + utils.log( " %s" % f ) + return result + +def list_dir( dir ): + utils.log( "listing destination content %s" % dir ) + result = [] + for file_path in glob.glob( os.path.join( dir, "*.zip" ) ): + if os.path.isfile( file_path ): + mod_time = time.localtime( os.path.getmtime( file_path ) ) + mod_time = ( mod_time[0], mod_time[1], mod_time[2], mod_time[3], mod_time[4], mod_time[5], 0, 0, mod_time[8] ) + # no size (for now) + result.append( file_info( os.path.basename( file_path ), None, mod_time ) ) + for fi in result: + utils.log( " %s" % fi ) + return result + +def find_by_name( d, name ): + for dd in d: + if dd.name == name: + return dd + return None + +def diff( source_dir_content, destination_dir_content ): + utils.log( "Finding updated files" ) + result = ( [], [] ) # ( changed_files, obsolete_files ) + for source_file in source_dir_content: + found = find_by_name( destination_dir_content, source_file.name ) + if found is None: result[0].append( source_file.name ) + elif time.mktime( found.date ) != time.mktime( source_file.date ): result[0].append( source_file.name ) + else: + pass + for destination_file in destination_dir_content: + found = find_by_name( source_dir_content, destination_file.name ) + if found is None: result[1].append( destination_file.name ) + utils.log( " Updated files:" ) + for f in result[0]: + utils.log( " %s" % f ) + utils.log( " Obsolete files:" ) + for f in result[1]: + utils.log( " %s" % f ) + return result + +def _modtime_timestamp( file ): + return os.stat( file ).st_mtime + + +root_paths = [] + +def shorten( file_path ): + root_paths.sort( lambda x, y: cmp( len(y ), len( x ) ) ) + for root in root_paths: + if file_path.lower().startswith( root.lower() ): + return file_path[ len( root ): ].replace( "\\", "/" ) + return file_path.replace( "\\", "/" ) + +class action: + def __init__( self, file_path ): + self.file_path_ = file_path + self.relevant_paths_ = [ self.file_path_ ] + self.boost_paths_ = [] + self.dependencies_ = [] + self.other_results_ = [] + + def run( self ): + utils.log( "%s: run" % shorten( self.file_path_ ) ) + __log__ = 2 + + for dependency in self.dependencies_: + if not os.path.exists( dependency ): + utils.log( "%s doesn't exists, removing target" % shorten( dependency ) ) + self.clean() + return + + if not os.path.exists( self.file_path_ ): + utils.log( "target doesn't exists, building" ) + self.update() + return + + dst_timestamp = _modtime_timestamp( self.file_path_ ) + utils.log( " target: %s [%s]" % ( shorten( self.file_path_ ), dst_timestamp ) ) + needs_updating = 0 + utils.log( " dependencies:" ) + for dependency in self.dependencies_: + dm = _modtime_timestamp( dependency ) + update_mark = "" + if dm > dst_timestamp: + needs_updating = 1 + utils.log( ' %s [%s] %s' % ( shorten( dependency ), dm, update_mark ) ) + + if needs_updating: + utils.log( "target needs updating, rebuilding" ) + self.update() + return + else: + utils.log( "target is up-to-date" ) + + + def clean( self ): + to_unlink = self.other_results_ + [ self.file_path_ ] + for result in to_unlink: + utils.log( ' Deleting obsolete "%s"' % shorten( result ) ) + if os.path.exists( result ): + os.unlink( result ) + +class merge_xml_action( action ): + def __init__( self, source, destination, expected_results_file, failures_markup_file ): + action.__init__( self, destination ) + self.source_ = source + self.destination_ = destination + + self.expected_results_file_ = expected_results_file + self.failures_markup_file_ = failures_markup_file + + self.dependencies_.extend( [ + self.source_ + , self.expected_results_file_ + , self.failures_markup_file_ + ] + ) + + self.relevant_paths_.extend( [ self.source_ ] ) + self.boost_paths_.extend( [ self.expected_results_file_, self.failures_markup_file_ ] ) + + + + def update( self ): + def filter_xml( src, dest ): + + class xmlgen( xml.sax.saxutils.XMLGenerator ): + def __init__( self, writer ): + xml.sax.saxutils.XMLGenerator.__init__( self, writer ) + + self.trimmed = 0 + self.character_content = "" + + def startElement( self, name, attrs): + self.flush() + xml.sax.saxutils.XMLGenerator.startElement( self, name, attrs ) + + def endElement( self, name ): + self.flush() + xml.sax.saxutils.XMLGenerator.endElement( self, name ) + + def flush( self ): + content = self.character_content + self.character_content = "" + self.trimmed = 0 + xml.sax.saxutils.XMLGenerator.characters( self, content ) + + def characters( self, content ): + if not self.trimmed: + max_size = pow( 2, 16 ) + self.character_content += content + if len( self.character_content ) > max_size: + self.character_content = self.character_content[ : max_size ] + "...\n\n[The content has been trimmed by the report system because it exceeds %d bytes]" % max_size + self.trimmed = 1 + + o = open( dest, "w" ) + try: + gen = xmlgen( o ) + xml.sax.parse( src, gen ) + finally: + o.close() + + return dest + + + utils.log( 'Merging "%s" with expected results...' % shorten( self.source_ ) ) + try: + trimmed_source = filter_xml( self.source_, '%s-trimmed.xml' % os.path.splitext( self.source_ )[0] ) + utils.libxslt( + utils.log + , trimmed_source + , xsl_path( 'add_expected_results.xsl' ) + , self.file_path_ + , { + "expected_results_file" : self.expected_results_file_ + , "failures_markup_file": self.failures_markup_file_ + } + ) + + os.unlink( trimmed_source ) + + except Exception, msg: + utils.log( ' Skipping "%s" due to errors (%s)' % ( self.source_, msg ) ) + if os.path.exists( self.file_path_ ): + os.unlink( self.file_path_ ) + + + def _xml_timestamp( xml_path ): + + class timestamp_reader( xml.sax.handler.ContentHandler ): + def startElement( self, name, attrs ): + if name == 'test-run': + self.timestamp = attrs.getValue( 'timestamp' ) + raise self + + try: + xml.sax.parse( xml_path, timestamp_reader() ) + raise 'Cannot extract timestamp from "%s". Invalid XML file format?' % xml_path + except timestamp_reader, x: + return x.timestamp + + +class make_links_action( action ): + def __init__( self, source, destination, output_dir, tag, run_date, comment_file, failures_markup_file ): + action.__init__( self, destination ) + self.dependencies_.append( source ) + self.source_ = source + self.output_dir_ = output_dir + self.tag_ = tag + self.run_date_ = run_date + self.comment_file_ = comment_file + self.failures_markup_file_ = failures_markup_file + self.links_file_path_ = os.path.join( output_dir, 'links.html' ) + + def update( self ): + utils.makedirs( os.path.join( os.path.dirname( self.links_file_path_ ), "output" ) ) + utils.makedirs( os.path.join( os.path.dirname( self.links_file_path_ ), "developer", "output" ) ) + utils.makedirs( os.path.join( os.path.dirname( self.links_file_path_ ), "user", "output" ) ) + utils.log( ' Making test output files...' ) + utils.libxslt( + utils.log + , self.source_ + , xsl_path( 'links_page.xsl' ) + , self.links_file_path_ + , { + 'source': self.tag_ + , 'run_date': self.run_date_ + , 'comment_file': self.comment_file_ + , 'explicit_markup_file': self.failures_markup_file_ + } + ) + + open( self.file_path_, "w" ).close() + + +class unzip_action( action ): + def __init__( self, source, destination, unzip_func ): + action.__init__( self, destination ) + self.dependencies_.append( source ) + self.source_ = source + self.unzip_func_ = unzip_func + + def update( self ): + try: + utils.log( ' Unzipping "%s" ... into "%s"' % ( shorten( self.source_ ), os.path.dirname( self.file_path_ ) ) ) + self.unzip_func_( self.source_, os.path.dirname( self.file_path_ ) ) + except Exception, msg: + utils.log( ' Skipping "%s" due to errors (%s)' % ( self.source_, msg ) ) + + +def ftp_task( site, site_path , destination ): + __log__ = 1 + utils.log( '' ) + utils.log( 'ftp_task: "ftp://%s/%s" -> %s' % ( site, site_path, destination ) ) + + utils.log( ' logging on ftp site %s' % site ) + f = ftplib.FTP( site ) + f.login() + utils.log( ' cwd to "%s"' % site_path ) + f.cwd( site_path ) + + source_content = list_ftp( f ) + source_content = [ x for x in source_content if re.match( r'.+[.](?<!log[.])zip', x.name ) and x.name.lower() != 'boostbook.zip' ] + destination_content = list_dir( destination ) + d = diff( source_content, destination_content ) + + def synchronize(): + for source in d[0]: + utils.log( 'Copying "%s"' % source ) + result = open( os.path.join( destination, source ), 'wb' ) + f.retrbinary( 'RETR %s' % source, result.write ) + result.close() + mod_date = find_by_name( source_content, source ).date + m = time.mktime( mod_date ) + os.utime( os.path.join( destination, source ), ( m, m ) ) + + for obsolete in d[1]: + utils.log( 'Deleting "%s"' % obsolete ) + os.unlink( os.path.join( destination, obsolete ) ) + + utils.log( " Synchronizing..." ) + __log__ = 2 + synchronize() + + f.quit() + +def unzip_archives_task( source_dir, processed_dir, unzip_func ): + utils.log( '' ) + utils.log( 'unzip_archives_task: unpacking updated archives in "%s" into "%s"...' % ( source_dir, processed_dir ) ) + __log__ = 1 + + target_files = [ os.path.join( processed_dir, os.path.basename( x.replace( ".zip", ".xml" ) ) ) for x in glob.glob( os.path.join( source_dir, "*.zip" ) ) ] + glob.glob( os.path.join( processed_dir, "*.xml" ) ) + actions = [ unzip_action( os.path.join( source_dir, os.path.basename( x.replace( ".xml", ".zip" ) ) ), x, unzip_func ) for x in target_files ] + for a in actions: + a.run() + +def merge_xmls_task( source_dir, processed_dir, merged_dir, expected_results_file, failures_markup_file ): + utils.log( '' ) + utils.log( 'merge_xmls_task: merging updated XMLs in "%s"...' % source_dir ) + __log__ = 1 + + utils.makedirs( merged_dir ) + target_files = [ os.path.join( merged_dir, os.path.basename( x ) ) for x in glob.glob( os.path.join( processed_dir, "*.xml" ) ) ] + glob.glob( os.path.join( merged_dir, "*.xml" ) ) + actions = [ merge_xml_action( os.path.join( processed_dir, os.path.basename( x ) ) + , x + , expected_results_file + , failures_markup_file ) for x in target_files ] + + for a in actions: + a.run() + + +def make_links_task( input_dir, output_dir, tag, run_date, comment_file, extended_test_results, failures_markup_file ): + utils.log( '' ) + utils.log( 'make_links_task: make output files for test results in "%s"...' % input_dir ) + __log__ = 1 + + target_files = [ x + ".links" for x in glob.glob( os.path.join( input_dir, "*.xml" ) ) ] + glob.glob( os.path.join( input_dir, "*.links" ) ) + actions = [ make_links_action( x.replace( ".links", "" ) + , x + , output_dir + , tag + , run_date + , comment_file + , failures_markup_file + ) for x in target_files ] + + for a in actions: + a.run() + + +class xmlgen( xml.sax.saxutils.XMLGenerator ): + document_started = 0 + + def startDocument( self ): + if not self.document_started: + xml.sax.saxutils.XMLGenerator.startDocument( self ) + self.document_started = 1 + + +def merge_processed_test_runs( test_runs_dir, tag, writer ): + utils.log( '' ) + utils.log( 'merge_processed_test_runs: merging processed test runs from %s into a single XML...' % test_runs_dir ) + __log__ = 1 + + all_runs_xml = xmlgen( writer, encoding='utf-8' ) + all_runs_xml.startDocument() + all_runs_xml.startElement( 'all-test-runs', {} ) + + files = glob.glob( os.path.join( test_runs_dir, '*.xml' ) ) + for test_run in files: + #file_pos = writer.stream.tell() + file_pos = writer.tell() + try: + utils.log( ' Writing "%s" into the resulting XML...' % test_run ) + xml.sax.parse( test_run, all_runs_xml ) + except Exception, msg: + utils.log( ' Skipping "%s" due to errors (%s)' % ( test_run, msg ) ) + #writer.stream.seek( file_pos ) + #writer.stream.truncate() + writer.seek( file_pos ) + writer.truncate() + + all_runs_xml.endElement( 'all-test-runs' ) + all_runs_xml.endDocument() + + +def execute_tasks( + tag + , user + , run_date + , comment_file + , results_dir + , output_dir + , reports + , warnings + , extended_test_results + , dont_collect_logs + , expected_results_file + , failures_markup_file + ): + + incoming_dir = os.path.join( results_dir, 'incoming', tag ) + processed_dir = os.path.join( incoming_dir, 'processed' ) + merged_dir = os.path.join( processed_dir, 'merged' ) + if not os.path.exists( incoming_dir ): + os.makedirs( incoming_dir ) + if not os.path.exists( processed_dir ): + os.makedirs( processed_dir ) + if not os.path.exists( merged_dir ): + os.makedirs( merged_dir ) + + if not dont_collect_logs: + ftp_site = 'fx.meta-comm.com' + site_path = '/boost-regression/%s' % tag + + ftp_task( ftp_site, site_path, incoming_dir ) + + unzip_archives_task( incoming_dir, processed_dir, utils.unzip ) + merge_xmls_task( incoming_dir, processed_dir, merged_dir, expected_results_file, failures_markup_file ) + make_links_task( merged_dir + , output_dir + , tag + , run_date + , comment_file + , extended_test_results + , failures_markup_file ) + + + results_xml_path = os.path.join( output_dir, 'extended_test_results.xml' ) + #writer = codecs.open( results_xml_path, 'w', 'utf-8' ) + writer = open( results_xml_path, 'w' ) + merge_processed_test_runs( merged_dir, tag, writer ) + writer.close() + + + make_result_pages( + extended_test_results + , expected_results_file + , failures_markup_file + , tag + , run_date + , comment_file + , output_dir + , reports + , warnings + ) + + +def make_result_pages( + extended_test_results + , expected_results_file + , failures_markup_file + , tag + , run_date + , comment_file + , output_dir + , reports + , warnings + ): + + utils.log( 'Producing the reports...' ) + __log__ = 1 + + warnings_text = '+'.join( warnings ) + + if comment_file != '': + comment_file = os.path.abspath( comment_file ) + + links = os.path.join( output_dir, 'links.html' ) + + utils.makedirs( os.path.join( output_dir, 'output' ) ) + for mode in ( 'developer', 'user' ): + utils.makedirs( os.path.join( output_dir, mode , 'output' ) ) + + issues = os.path.join( output_dir, 'developer', 'issues.html' ) + if 'i' in reports: + utils.log( ' Making issues list...' ) + utils.libxslt( + utils.log + , extended_test_results + , xsl_path( 'issues_page.xsl' ) + , issues + , { + 'source': tag + , 'run_date': run_date + , 'warnings': warnings_text + , 'comment_file': comment_file + , 'expected_results_file': expected_results_file + , 'explicit_markup_file': failures_markup_file + , 'release': "yes" + } + ) + + for mode in ( 'developer', 'user' ): + if mode[0] + 'd' in reports: + utils.log( ' Making detailed %s report...' % mode ) + utils.libxslt( + utils.log + , extended_test_results + , xsl_path( 'result_page.xsl' ) + , os.path.join( output_dir, mode, 'index.html' ) + , { + 'links_file': 'links.html' + , 'mode': mode + , 'source': tag + , 'run_date': run_date + , 'warnings': warnings_text + , 'comment_file': comment_file + , 'expected_results_file': expected_results_file + , 'explicit_markup_file' : failures_markup_file + } + ) + + for mode in ( 'developer', 'user' ): + if mode[0] + 's' in reports: + utils.log( ' Making summary %s report...' % mode ) + utils.libxslt( + utils.log + , extended_test_results + , xsl_path( 'summary_page.xsl' ) + , os.path.join( output_dir, mode, 'summary.html' ) + , { + 'mode' : mode + , 'source': tag + , 'run_date': run_date + , 'warnings': warnings_text + , 'comment_file': comment_file + , 'explicit_markup_file' : failures_markup_file + } + ) + + for mode in ( 'developer', 'user' ): + if mode[0] + 'dr' in reports: + utils.log( ' Making detailed %s release report...' % mode ) + utils.libxslt( + utils.log + , extended_test_results + , xsl_path( 'result_page.xsl' ) + , os.path.join( output_dir, mode, 'index_release.html' ) + , { + 'links_file': 'links.html' + , 'mode': mode + , 'source': tag + , 'run_date': run_date + , 'warnings': warnings_text + , 'comment_file': comment_file + , 'expected_results_file': expected_results_file + , 'explicit_markup_file' : failures_markup_file + , 'release': "yes" + } + ) + + for mode in ( 'developer', 'user' ): + if mode[0] + 'sr' in reports: + utils.log( ' Making summary %s release report...' % mode ) + utils.libxslt( + utils.log + , extended_test_results + , xsl_path( 'summary_page.xsl' ) + , os.path.join( output_dir, mode, 'summary_release.html' ) + , { + 'mode' : mode + , 'source': tag + , 'run_date': run_date + , 'warnings': warnings_text + , 'comment_file': comment_file + , 'explicit_markup_file' : failures_markup_file + , 'release': 'yes' + } + ) + + if 'e' in reports: + utils.log( ' Generating expected_results ...' ) + utils.libxslt( + utils.log + , extended_test_results + , xsl_path( 'produce_expected_results.xsl' ) + , os.path.join( output_dir, 'expected_results.xml' ) + ) + + if 'n' in reports: + utils.log( ' Making runner comment files...' ) + utils.libxslt( + utils.log + , extended_test_results + , xsl_path( 'runners.xsl' ) + , os.path.join( output_dir, 'runners.html' ) + ) + + shutil.copyfile( + xsl_path( 'html/master.css' ) + , os.path.join( output_dir, 'master.css' ) + ) + + fix_file_names( output_dir ) + + +def fix_file_names( dir ): + """ + The current version of xslproc doesn't correctly handle + spaces on posix systems. We have to manually go through the + result set and correct decode encoded spaces (%20). + """ + if os.name == 'posix': + for root, dirs, files in os.walk( dir ): + for file in files: + if file.find( "%20" ) > -1: + new_name = file.replace( "%20", " " ) + old_file_path = os.path.join( root, file ) + new_file_path = os.path.join( root, new_name ) + print "renaming %s %s" % ( old_file_path, new_file_path ) + os.rename ( old_file_path, new_file_path ) + +def build_xsl_reports( + locate_root_dir + , tag + , expected_results_file + , failures_markup_file + , comment_file + , results_dir + , result_file_prefix + , dont_collect_logs = 0 + , reports = report_types + , warnings = [] + , user = None + , upload = False + ): + + ( run_date ) = time.strftime( '%Y-%m-%dT%H:%M:%SZ', time.gmtime() ) + + root_paths.append( locate_root_dir ) + root_paths.append( results_dir ) + + bin_boost_dir = os.path.join( locate_root_dir, 'bin', 'boost' ) + + output_dir = os.path.join( results_dir, result_file_prefix ) + utils.makedirs( output_dir ) + + if expected_results_file != '': + expected_results_file = os.path.abspath( expected_results_file ) + else: + expected_results_file = os.path.abspath( map_path( 'empty_expected_results.xml' ) ) + + + extended_test_results = os.path.join( output_dir, 'extended_test_results.xml' ) + + execute_tasks( + tag + , user + , run_date + , comment_file + , results_dir + , output_dir + , reports + , warnings + , extended_test_results + , dont_collect_logs + , expected_results_file + , failures_markup_file + ) + + if upload: + upload_dir = 'regression-logs/' + utils.log( 'Uploading results into "%s" [connecting as %s]...' % ( upload_dir, user ) ) + + archive_name = '%s.tar.gz' % result_file_prefix + utils.tar( + os.path.join( results_dir, result_file_prefix ) + , archive_name + ) + + utils.sourceforge.upload( os.path.join( results_dir, archive_name ), upload_dir, user ) + utils.sourceforge.untar( os.path.join( upload_dir, archive_name ), user, background = True ) + + +def accept_args( args ): + args_spec = [ + 'locate-root=' + , 'tag=' + , 'expected-results=' + , 'failures-markup=' + , 'comment=' + , 'results-dir=' + , 'results-prefix=' + , 'dont-collect-logs' + , 'reports=' + , 'user=' + , 'upload' + , 'help' + ] + + options = { + '--comment': '' + , '--expected-results': '' + , '--failures-markup': '' + , '--reports': string.join( report_types, ',' ) + , '--tag': None + , '--user': None + , 'upload': False + } + + utils.accept_args( args_spec, args, options, usage ) + if not options.has_key( '--results-dir' ): + options[ '--results-dir' ] = options[ '--locate-root' ] + + if not options.has_key( '--results-prefix' ): + options[ '--results-prefix' ] = 'all' + + return ( + options[ '--locate-root' ] + , options[ '--tag' ] + , options[ '--expected-results' ] + , options[ '--failures-markup' ] + , options[ '--comment' ] + , options[ '--results-dir' ] + , options[ '--results-prefix' ] + , options.has_key( '--dont-collect-logs' ) + , options[ '--reports' ].split( ',' ) + , options[ '--user' ] + , options.has_key( '--upload' ) + ) + + +def usage(): + print 'Usage: %s [options]' % os.path.basename( sys.argv[0] ) + print ''' +\t--locate-root the same as --locate-root in compiler_status +\t--tag the tag for the results (i.e. 'CVS-HEAD') +\t--expected-results the file with the results to be compared with +\t the current run +\t--failures-markup the file with the failures markup +\t--comment an html comment file (will be inserted in the reports) +\t--results-dir the directory containing -links.html, -fail.html +\t files produced by compiler_status (by default the +\t same as specified in --locate-root) +\t--results-prefix the prefix of -links.html, -fail.html +\t files produced by compiler_status +\t--user SourceForge user name for a shell account +\t--upload upload reports to SourceForge + +The following options are useful in debugging: + +\t--dont-collect-logs dont collect the test logs +\t--reports produce only the specified reports +\t us - user summary +\t ds - developer summary +\t ud - user detailed +\t dd - developer detailed +\t l - links +\t p - patches +\t x - extended results file +\t i - issues +\t n - runner comment files +''' + +def main(): + build_xsl_reports( *accept_args( sys.argv[ 1 : ] ) ) + +if __name__ == '__main__': + main() diff --git a/tools/regression/xsl_reports/boostbook_report.py b/tools/regression/xsl_reports/boostbook_report.py new file mode 100644 index 0000000000..6c91a939dd --- /dev/null +++ b/tools/regression/xsl_reports/boostbook_report.py @@ -0,0 +1,179 @@ +import ftplib +import optparse +import os +import time +import urlparse +import utils +import shutil +import sys +import zipfile +import xml.sax.saxutils + + +import utils.libxslt + +def get_date( words ): + date = words[ 5: -1 ] + t = time.localtime() + + month_names = [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ] + + year = time.localtime()[0] # If year is not secified is it the current year + month = month_names.index( date[0] ) + 1 + day = int( date[1] ) + hours = 0 + minutes = 0 + + if date[2].find( ":" ) != -1: + ( hours, minutes ) = [ int(x) for x in date[2].split( ":" ) ] + else: + # there is no way to get seconds for not current year dates + year = int( date[2] ) + + return ( year, month, day, hours, minutes, 0, 0, 0, 0 ) + +#def check_for_new_upload( target_dir, boostbook_info ): + +def accept_args( args ): + parser = optparse.OptionParser() + parser.add_option( '-t', '--tag', dest='tag', help="the tag for the results (i.e. 'RC_1_34_0')" ) + parser.add_option( '-d', '--destination', dest='destination', help='destination directory' ) + + if len(args) == 0: + parser.print_help() + sys.exit( 1 ) + + (options, args) = parser.parse_args() + if not options.destination: + print '-d is required' + parser.print_help() + sys.exit( 1 ) + return options + +def unzip( archive_path, result_dir ): + utils.log( 'Unpacking %s into %s' % ( archive_path, result_dir ) ) + z = zipfile.ZipFile( archive_path, 'r', zipfile.ZIP_DEFLATED ) + for f in z.infolist(): + dir = os.path.join( result_dir, os.path.dirname( f.filename ) ) + if not os.path.exists( dir ): + os.makedirs( dir ) + result = open( os.path.join( result_dir, f.filename ), 'wb' ) + result.write( z.read( f.filename ) ) + result.close() + + z.close() + +def boostbook_report( options ): + site = 'fx.meta-comm.com' + site_path = '/boost-regression/%s' % options.tag + + utils.log( 'Opening %s ...' % site ) + f = ftplib.FTP( site ) + f.login() + utils.log( ' cd %s ...' % site_path ) + f.cwd( site_path ) + + utils.log( ' dir' ) + lines = [] + f.dir( lambda x: lines.append( x ) ) + word_lines = [ x.split( None, 8 ) for x in lines ] + boostbook_info = [ ( l[-1], get_date( l ) ) for l in word_lines if l[-1] == "BoostBook.zip" ] + if len( boostbook_info ) > 0: + boostbook_info = boostbook_info[0] + utils.log( 'BoostBook found! (%s)' % ( boostbook_info, ) ) + local_copy = os.path.join( options.destination,'BoostBook-%s.zip' % options.tag ) + + if 1: + if os.path.exists( local_copy ): + utils.log( 'Local copy exists. Checking if it is older than uploaded one...' ) + uploaded_mtime = time.mktime( boostbook_info[1] ) + local_mtime = os.path.getmtime( local_copy ) + utils.log( ' uploaded: %s %s, local: %s %s' % + ( uploaded_mtime + , boostbook_info[1] + , local_mtime + , time.localtime( local_mtime )) ) + modtime = time.localtime( os.path.getmtime( local_copy ) ) + if uploaded_mtime <= local_mtime: + utils.log( 'Local copy is newer: exiting' ) + sys.exit() + + if 1: + temp = os.path.join( options.destination,'BoostBook.zip' ) + result = open( temp, 'wb' ) + f.retrbinary( 'RETR %s' % boostbook_info[0], result.write ) + result.close() + + if os.path.exists( local_copy ): + os.unlink( local_copy ) + os.rename( temp, local_copy ) + m = time.mktime( boostbook_info[1] ) + os.utime( local_copy, ( m, m ) ) + + + docs_name = os.path.splitext( os.path.basename( local_copy ) )[0] + if 1: + unpacked_docs_dir = os.path.join( options.destination, docs_name ) + utils.log( 'Dir %s ' % unpacked_docs_dir ) + if os.path.exists( unpacked_docs_dir ): + utils.log( 'Cleaning up...' ) + shutil.rmtree( unpacked_docs_dir ) + os.makedirs( unpacked_docs_dir ) + + unzip( local_copy, unpacked_docs_dir ) + + utils.system( [ 'cd %s' % unpacked_docs_dir + , 'tar -c -f ../%s.tar.gz -z --exclude=tarball *' % docs_name ] ) + + process_boostbook_build_log( os.path.join( unpacked_docs_dir, 'boostbook.log' ), read_timestamp( unpacked_docs_dir ) ) + utils.libxslt( log + , os.path.abspath( os.path.join( unpacked_docs_dir, 'boostbook.log.xml' ) ) + , os.path.abspath( os.path.join( os.path.dirname( __file__ ), 'xsl', 'v2', 'boostbook_log.xsl' ) ) + , os.path.abspath( os.path.join( unpacked_docs_dir, 'boostbook.log.html' ) ) ) + + +def log( msg ): + print msg + +def process_boostbook_build_log( path, timestamp ): + f = open( path + '.xml', 'w' ) + g = xml.sax.saxutils.XMLGenerator( f ) + lines = open( path ).read().splitlines() + output_lines = [] + result = 'success' + for line in lines: + type = 'output' + if line.startswith( '...failed' ): + type = 'failure' + result='failure' + + if line.startswith( 'runtime error:' ): + type = 'failure' + + if line.startswith( '...skipped' ): + type = 'skipped' + output_lines.append( ( type, line ) ) + + g.startDocument() + g.startElement( 'build', { 'result': result, 'timestamp': timestamp } ) + for line in output_lines: + g.startElement( 'line', { 'type': line[0]} ) + g.characters( line[1] ) + g.endElement( 'line' ) + g.endElement( 'build' ) + g.endDocument() + + +def read_timestamp( docs_directory ): + f = open( os.path.join( docs_directory, 'timestamp' ) ) + try: + return f.readline() + finally: + f.close() + +def main(): + options = accept_args( sys.argv[1:]) + boostbook_report( options ) + +if __name__ == '__main__': + main()
\ No newline at end of file diff --git a/tools/regression/xsl_reports/db/load.py b/tools/regression/xsl_reports/db/load.py new file mode 100644 index 0000000000..d12953d8f7 --- /dev/null +++ b/tools/regression/xsl_reports/db/load.py @@ -0,0 +1,10 @@ +import os +import sys +import win32com.client + +objBL = win32com.client.Dispatch("SQLXMLBulkLoad.SQLXMLBulkload.3.0") +objBL.ConnectionString = "provider=SQLOLEDB;data source=localhost;database=boost;integrated security=SSPI" +objBL.ErrorLogFile = "c:\\error.log" +#objBL.Execute( os.path.join( os.path.dirname( __file__ ), "test-runs.xsd" ), "Huang-WinXP-x64.xml" ) +#objBL.Execute( os.path.join( os.path.dirname( __file__ ), "test-runs.xsd" ), "extended_test_results.xml" ) +objBL.Execute( os.path.join( os.path.dirname( __file__ ), "test-runs.xsd" ), sys.argv[1] )
\ No newline at end of file diff --git a/tools/regression/xsl_reports/db/sqlserver_schemas.sql b/tools/regression/xsl_reports/db/sqlserver_schemas.sql new file mode 100644 index 0000000000..af307be983 --- /dev/null +++ b/tools/regression/xsl_reports/db/sqlserver_schemas.sql @@ -0,0 +1,82 @@ +drop table [test-log] +go +drop table [test-run] +go +CREATE TABLE [test-run] ( + [runner] [varchar] (32) NOT NULL , + [timestamp] [varchar] (32) NOT NULL , + [source] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , + [tag] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , + [platform] [varchar] (32), + [run-type] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, + [comment] [text] NULL, + [toolset] varchar (32) not null + PRIMARY KEY ( runner, timestamp ) + ) +GO + +go +CREATE TABLE [test-log] + ( + [runner] [varchar] (32) NOT NULL , + [timestamp] [varchar] (32) NOT NULL , + [test-name] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , + [test-run] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , + [test-type] [varchar] (16) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , + [test-program] [varchar] (512) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , + [target-directory] [varchar] (512) NOT NULL , + [library] varchar(64) + PRIMARY KEY ( runner, timestamp, [target-directory] ) + ) +GO + +alter table [test-log] add CONSTRAINT parent FOREIGN KEY ( runner, timestamp ) REFERENCES [test-run] ( runner, timestamp ) + +go +drop table [compile] +go +create table [compile] + ( + [runner] [varchar](32) NOT NULL , + [target-directory] [varchar](512) NOT NULL , + [output] [text], + [timestamp] [varchar](32) NULL , + result [varchar](16) + ) + +drop table [link] +go +create table [link] + ( + [runner] [varchar](32) NOT NULL , + [target-directory] [varchar](512) NOT NULL , + [output] [text], + [timestamp] [varchar](32) NULL , + result [varchar](16) + ) + +drop table [run] +go +create table [run] + ( + [runner] [varchar](32) NOT NULL , + [target-directory] [varchar](512) NOT NULL , + [output] [text], + [timestamp] [varchar](32) NULL , + result [varchar](16) + ) + +drop table [note] +go +create table [note] + ( + [runner] [varchar](32) NOT NULL , + [target-directory] [varchar](512) NOT NULL , + [note] [text] + ) + + +select * from [test-run] +select * from [test-log] +select * from run +select * from note
\ No newline at end of file diff --git a/tools/regression/xsl_reports/db/test-runs.xsd b/tools/regression/xsl_reports/db/test-runs.xsd new file mode 100644 index 0000000000..879a337e35 --- /dev/null +++ b/tools/regression/xsl_reports/db/test-runs.xsd @@ -0,0 +1,126 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" + xmlns:sql="urn:schemas-microsoft-com:mapping-schema"> + + <xs:annotation> + <xs:appinfo> + <sql:relationship name="test-run-test-log" + parent="[test-run]" + parent-key="runner timestamp" + child="[test-log]" + child-key="runner timestamp" /> + + <sql:relationship name="test-log-compile" + parent="[test-log]" + parent-key="runner [target-directory]" + child="[compile]" + child-key="runner [target-directory]" /> + + <sql:relationship name="test-log-link" + parent="[test-log]" + parent-key="runner [target-directory]" + child="[link]" + child-key="runner [target-directory]" /> + + <sql:relationship name="test-log-run" + parent="[test-log]" + parent-key="runner [target-directory]" + child="[run]" + child-key="runner [target-directory]" /> + + <sql:relationship name="test-log-note" + parent="[test-log]" + parent-key="runner [target-directory]" + child="[notes]" + child-key="runner [target-directory]" /> + + </xs:appinfo> + </xs:annotation> + + <xs:element name="all-test-runs" sql:mapped="false" > + <xs:complexType > + <xs:sequence > + <xs:element name="test-run" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="comment" type="xs:string"/> + <xs:element name="test-run" sql:relation="[test-run]"> + <xs:complexType > + <xs:sequence> + <xs:element name="comment" sql:field="[comment]" minOccurs="0" maxOccurs="1"/> + <xs:element name="test-log" minOccurs="0" maxOccurs="unbounded" sql:relation="[test-log]" sql:relationship="test-run-test-log" > + <xs:complexType> + <xs:sequence> + <xs:element name="notes" minOccurs="0" maxOccurs="1" sql:is-constant ="1"> + <xs:complexType> + <xs:sequence> + <xs:element name="note" minOccurs="0" maxOccurs="unbounded" sql:relation="[notes]" sql:relationship="test-log-note" sql:overflow-field="note" > + <xs:complexType> + <xs:simpleContent> + <xs:extension base="xs:string"> + <xs:attribute name="author"/> + <xs:attribute name="refid"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="compile" minOccurs="0" maxOccurs="unbounded" sql:relation="[compile]" sql:relationship ="test-log-compile" sql:overflow-field="output" sql:field="output"> + <xs:complexType > + <xs:simpleContent> + <xs:extension base="xs:string"> + <xs:attribute name="result"/> + <xs:attribute name="timestamp"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + </xs:element> + <xs:element name="link" sql:relation="[link]" sql:relationship ="test-log-link" sql:overflow-field="output" sql:field="output"> + <xs:complexType > + <xs:simpleContent> + <xs:extension base="xs:string"> + <xs:attribute name="result"/> + <xs:attribute name="timestamp"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + </xs:element> + <xs:element name="run" sql:relation="[run]" sql:relationship ="test-log-run" sql:overflow-field="output" sql:field="output"> + <xs:complexType> + <xs:simpleContent> + <xs:extension base="xs:string"> + <xs:attribute name="result"/> + <xs:attribute name="timestamp"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + </xs:element> + </xs:sequence> + <xs:attribute name="library" sql:field="[library]"/> + <xs:attribute name="test-name" sql:field="[test-name]"/> + <xs:attribute name="test-type" sql:field="[test-type]"/> + <xs:attribute name="test-program" sql:field="[test-program]"/> + <xs:attribute name="target-directory" sql:field="[target-directory]"/> + <xs:attribute name="toolset" sql:field="[toolset]"/> + <xs:attribute name="show-run-output" sql:field="[show-run-output]"/> + <xs:attribute name="result" sql:field="[result]"/> + <xs:attribute name="expected-result" sql:field="[expected-result]"/> + <xs:attribute name="expected-reason" sql:field="[expected-reason]"/> + <xs:attribute name="status" sql:field="[status]"/> + <xs:attribute name="is-new" sql:field="[is-new]"/> + <xs:attribute name="category" sql:field="[category]"/> + </xs:complexType> + </xs:element> + </xs:sequence> + <xs:attribute name="source" sql:field="source"/> + <xs:attribute name="runner" sql:field="runner"/> + <xs:attribute name="timestamp" sql:field="timestamp"/> + <xs:attribute name="platform" sql:field="platform"/> + <xs:attribute name="tag" sql:field="tag"/> + <xs:attribute name="run-type" sql:field="[run-type]"/> + </xs:complexType> + </xs:element> +</xs:schema> diff --git a/tools/regression/xsl_reports/email_maintainers.py b/tools/regression/xsl_reports/email_maintainers.py new file mode 100644 index 0000000000..06c7e3b714 --- /dev/null +++ b/tools/regression/xsl_reports/email_maintainers.py @@ -0,0 +1,633 @@ +# +# Copyright (C) 2005 The Trustees of Indiana University +# Author: Douglas Gregor +# +# 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) +# +import re +import smtplib +import os +import time +import string +import datetime +import sys + +report_author = "Douglas Gregor <dgregor@cs.indiana.edu>" +boost_dev_list = "Boost Developer List <boost@lists.boost.org>" + +def sorted_keys( dict ): + result = dict.keys() + result.sort() + return result + + +class Platform: + """ + All of the failures for a particular platform. + """ + def __init__(self, name): + self.name = name + self.failures = list() + return + + def addFailure(self, failure): + self.failures.append(failure) + return + + def isBroken(self): + return len(self.failures) > 300 + +class Failure: + """ + A single test case failure in the report. + """ + def __init__(self, test, platform): + self.test = test + self.platform = platform + return + +class Test: + """ + All of the failures for a single test name within a library. + """ + def __init__(self, library, name): + self.library = library + self.name = name + self.failures = list() + return + + def addFailure(self, failure): + self.failures.append(failure) + return + + def numFailures(self): + return len(self.failures) + + def numReportableFailures(self): + """ + Returns the number of failures that we will report to the + maintainers of the library. This doesn't count failures on + broken platforms. + """ + count = 0 + for failure in self.failures: + if not failure.platform.isBroken(): + count += 1 + pass + pass + return count + +class Library: + """ + All of the information about the failures in a single library. + """ + def __init__(self, name): + self.name = name + self.maintainers = list() + self.tests = list() + return + + def addTest(self, test): + """ + Add another test to the library. + """ + self.tests.append(test) + return + + def addMaintainer(self, maintainer): + """ + Add a new maintainer for this library. + """ + self.maintainers.append(maintainer) + return + + def numFailures(self): + count = 0 + for test in self.tests: + count += test.numFailures() + pass + return count + + def numReportableFailures(self): + count = 0 + for test in self.tests: + count += test.numReportableFailures() + pass + return count + +class Maintainer: + """ + Information about the maintainer of a library + """ + def __init__(self, name, email): + self.name = name + self.email = email + self.libraries = list() + return + + def addLibrary(self, library): + self.libraries.append(library) + return + + def composeEmail(self, report): + """ + Composes an e-mail to this maintainer with information about + the failures in his or her libraries, omitting those that come + from "broken" platforms. Returns the e-mail text if a message + needs to be sent, or None otherwise. + """ + + # Determine if we need to send a message to this developer. + requires_message = False + for library in self.libraries: + if library.numReportableFailures() > 0: + requires_message = True + break + + if not requires_message: + return None + + # Build the message header + message = """From: Douglas Gregor <dgregor@cs.indiana.edu> +To: """ + message += self.name + ' <' + self.email + '>' + message += """ +Reply-To: boost@lists.boost.org +Subject: Regressions in your Boost libraries as of """ + message += str(datetime.date.today()) + " [" + report.branch + "]" + message += """ + +You are receiving this report because one or more of the libraries you +maintain has regression test failures that are not accounted for. +A full version of the report is sent to the Boost developer's mailing +list. + +Detailed report: +""" + message += ' ' + report.url + """ + +There are failures in these libraries you maintain: +""" + + # List the libraries this maintainer is responsible for and + # the number of reportable failures in that library. + for library in self.libraries: + num_failures = library.numReportableFailures() + if num_failures > 0: + message += ' ' + library.name + ' (' + str(num_failures) + ')\n' + pass + pass + + # Provide the details for the failures in each library. + for library in self.libraries: + if library.numReportableFailures() > 0: + message += '\n|' + library.name + '|\n' + for test in library.tests: + if test.numReportableFailures() > 0: + message += ' ' + test.name + ':' + for failure in test.failures: + if not failure.platform.isBroken(): + message += ' ' + failure.platform.name + pass + pass + message += '\n' + pass + pass + pass + pass + + return message + +class Report: + """ + The complete report of all failing test cases. + """ + def __init__(self, branch = 'HEAD'): + self.branch = branch + self.date = None + self.url = None + self.libraries = dict() + self.platforms = dict() + self.maintainers = dict() + return + + def getPlatform(self, name): + """ + Retrieve the platform with the given name. + """ + if self.platforms.has_key(name): + return self.platforms[name] + else: + self.platforms[name] = Platform(name) + return self.platforms[name] + + def getMaintainer(self, name, email): + """ + Retrieve the maintainer with the given name and e-mail address. + """ + if self.maintainers.has_key(name): + return self.maintainers[name] + else: + self.maintainers[name] = Maintainer(name, email) + return self.maintainers[name] + + def parseIssuesEmail(self): + """ + Try to parse the issues e-mail file. Returns True if everything was + successful, false otherwise. + """ + # See if we actually got the file + if not os.path.isfile('issues-email.txt'): + return False + + # Determine the set of libraries that have unresolved failures + date_regex = re.compile('Report time: (.*)') + url_regex = re.compile(' (http://.*)') + library_regex = re.compile('\|(.*)\|') + failure_regex = re.compile(' ([^:]*): (.*)') + current_library = None + for line in file('issues-email.txt', 'r'): + # Check for the report time line + m = date_regex.match(line) + if m: + self.date = m.group(1) + continue + + # Check for the detailed report URL + m = url_regex.match(line) + if m: + self.url = m.group(1) + continue + + # Check for a library header + m = library_regex.match(line) + if m: + current_library = Library(m.group(1)) + self.libraries[m.group(1)] = current_library + continue + + # Check for a library test and its failures + m = failure_regex.match(line) + if m: + test = Test(current_library, m.group(1)) + for platform_name in re.split('\s*', m.group(2)): + if platform_name != '': + platform = self.getPlatform(platform_name) + failure = Failure(test, platform) + test.addFailure(failure) + platform.addFailure(failure) + pass + current_library.addTest(test) + continue + pass + + return True + + def getIssuesEmail(self): + """ + Retrieve the issues email from MetaComm, trying a few times in + case something wonky is happening. If we can retrieve the file, + calls parseIssuesEmail and return True; otherwise, return False. + """ + base_url = "http://engineering.meta-comm.com/boost-regression/CVS-" + base_url += self.branch + base_url += "/developer/"; + got_issues = False + + # Ping the server by looking for an HTML file + print "Pinging the server to initiate extraction..." + ping_url = base_url + "issues.html" + os.system('curl -O ' + ping_url) + os.system('rm -f issues.html') + + for x in range(30): + # Update issues-email.txt + url = base_url + "issues-email.txt" + print 'Retrieving issues email from ' + url + os.system('rm -f issues-email.txt') + os.system('curl -O ' + url) + + if self.parseIssuesEmail(): + return True + + print 'Failed to fetch issues email. ' + time.sleep (30) + + return False + + # Parses the file $BOOST_ROOT/libs/maintainers.txt to create a hash + # mapping from the library name to the list of maintainers. + def parseLibraryMaintainersFile(self): + """ + Parse the maintainers file in ../../../libs/maintainers.txt to + collect information about the maintainers of broken libraries. + """ + lib_maintainer_regex = re.compile('(\S+)\s*(.*)') + name_email_regex = re.compile('\s*(\w*(\s*\w+)+)\s*<\s*(\S*(\s*\S+)+)\S*>') + at_regex = re.compile('\s*-\s*at\s*-\s*') + for line in file('../../../libs/maintainers.txt', 'r'): + m = lib_maintainer_regex.match (line) + if m: + libname = m.group(1) + if self.libraries.has_key(m.group(1)): + library = self.libraries[m.group(1)] + for person in re.split('\s*,\s*', m.group(2)): + nmm = name_email_regex.match(person) + if nmm: + name = nmm.group(1) + email = nmm.group(3) + email = at_regex.sub('@', email) + maintainer = self.getMaintainer(name, email) + maintainer.addLibrary(library) + library.addMaintainer(maintainer) + pass + pass + pass + pass + pass + pass + + def numFailures(self): + count = 0 + for library in self.libraries: + count += self.libraries[library].numFailures() + pass + return count + + def numReportableFailures(self): + count = 0 + for library in self.libraries: + count += self.libraries[library].numReportableFailures() + pass + return count + + def composeSummaryEmail(self): + """ + Compose a message to send to the Boost developer's + list. Return the message and return it. + """ + message = """From: Douglas Gregor <dgregor@cs.indiana.edu> +To: boost@lists.boost.org +Reply-To: boost@lists.boost.org +Subject: Boost regression notification (""" + + message += str(datetime.date.today()) + " [" + branch + "]" + message += ")" + + message += """ + +Boost Regression test failures +""" + message += "Report time: " + self.date + """ + +This report lists all regression test failures on release platforms. + +Detailed report: +""" + + message += ' ' + self.url + '\n\n' + + if self.numFailures() == 0: + message += "No failures! Yay!\n" + return message + + # List the platforms that are broken + any_broken_platforms = self.numReportableFailures() < self.numFailures() + if any_broken_platforms: + message += """The following platforms have a large number of failures: +""" + for platform in sorted_keys( self.platforms ): + if self.platforms[platform].isBroken(): + message += ' ' + platform + '\n' + + message += '\n' + + # Display the number of failures + message += (str(self.numFailures()) + ' failures in ' + + str(len(self.libraries)) + ' libraries') + if any_broken_platforms: + diff = self.numFailures() - self.numReportableFailures() + message += ' (' + str(diff) + ' are from non-broken platforms)' + message += '\n' + + # Display the number of failures per library + for k in sorted_keys( self.libraries ): + library = self.libraries[k] + num_failures = library.numFailures() + message += (' ' + library.name + ' (' + + str(library.numReportableFailures())) + if library.numReportableFailures() < num_failures: + message += (' of ' + str(num_failures) + + ' failures are from non-broken platforms') + message += ')\n' + pass + + # If we have any broken platforms, tell the user how we're + # displaying them. + if any_broken_platforms: + message += """ +Test failures marked with a (*) represent tests that failed on +platforms that are considered broken. They are likely caused by +misconfiguration by the regression tester or a failure in a core +library such as Test or Config.""" + message += '\n' + + # Provide the details for the failures in each library. + for k in sorted_keys( self.libraries ): + library = self.libraries[k] + message += '\n|' + library.name + '|\n' + for test in library.tests: + message += ' ' + test.name + ':' + for failure in test.failures: + platform = failure.platform + message += ' ' + platform.name + if platform.isBroken(): + message += '*' + pass + message += '\n' + pass + pass + + return message + +# Send a message to "person" (a maintainer of a library that is +# failing). +# maintainers is the result of get_library_maintainers() +def send_individualized_message (branch, person, maintainers): + # There are several states we could be in: + # 0 Initial state. Eat everything up to the "NNN failures in MMM + # libraries" line + # 1 Suppress output within this library + # 2 Forward output within this library + state = 0 + + failures_in_lib_regex = re.compile('\d+ failur.*\d+ librar') + lib_failures_regex = re.compile(' (\S+) \((\d+)\)') + lib_start_regex = re.compile('\|(\S+)\|') + general_pass_regex = re.compile(' http://') + for line in file('issues-email.txt', 'r'): + if state == 0: + lfm = lib_failures_regex.match(line) + if lfm: + # Pass the line through if the current person is a + # maintainer of this library + if lfm.group(1) in maintainers and person in maintainers[lfm.group(1)]: + message += line + print line, + + elif failures_in_lib_regex.match(line): + message += "\nThere are failures in these libraries you maintain:\n" + elif general_pass_regex.match(line): + message += line + + lib_start = lib_start_regex.match(line) + if lib_start: + if state == 0: + message += '\n' + + if lib_start.group(1) in maintainers and person in maintainers[lib_start.group(1)]: + message += line + state = 2 + else: + state = 1 + else: + if state == 1: + pass + elif state == 2: + message += line + + if '--debug' in sys.argv: + print '-----------------Message text----------------' + print message + else: + print + + if '--send' in sys.argv: + print "Sending..." + smtp = smtplib.SMTP('milliways.osl.iu.edu') + smtp.sendmail(from_addr = 'Douglas Gregor <dgregor@cs.indiana.edu>', + to_addrs = person[1], + msg = message) + print "Done." + + +# Send a message to the developer's list +def send_boost_developers_message(branch, maintainers, failing_libraries): + to_line = 'boost@lists.boost.org' + from_line = 'Douglas Gregor <dgregor@cs.indiana.edu>' + + message = """From: Douglas Gregor <dgregor@cs.indiana.edu> +To: boost@lists.boost.org +Reply-To: boost@lists.boost.org +Subject: Boost regression notification (""" + + message += str(datetime.date.today()) + " [" + branch + "]" + message += ")" + + message += """ + +""" + + for line in file('issues-email.txt', 'r'): + # Right before the detailed report, put out a warning message if + # any libraries with failures to not have maintainers listed. + if line.startswith('Detailed report:'): + missing_maintainers = False + for lib in failing_libraries: + if not(lib in maintainers) or maintainers[lib] == list(): + missing_maintainers = True + + if missing_maintainers: + message += """WARNING: The following libraries have failing regression tests but do +not have a maintainer on file. Once a maintainer is found, add an +entry to libs/maintainers.txt to eliminate this message. +""" + + for lib in failing_libraries: + if not(lib in maintainers) or maintainers[lib] == list(): + message += ' ' + lib + '\n' + message += '\n' + + message += line + + if '--send' in sys.argv: + print 'Sending notification email...' + smtp = smtplib.SMTP('milliways.osl.iu.edu') + smtp.sendmail(from_addr = from_line, to_addrs = to_line, msg = message) + print 'Done.' + + if '--debug' in sys.argv: + print "----------Boost developer's message text----------" + print message + +############################################################################### +# Main program # +############################################################################### + +# Parse command-line options +branch = "HEAD" +for arg in sys.argv: + if arg.startswith("--branch="): + branch = arg[len("--branch="):] + +report = Report(branch) + +# Try to parse the issues e-mail +if '--no-get' in sys.argv: + okay = report.parseIssuesEmail() +else: + okay = report.getIssuesEmail() + +if not okay: + print 'Aborting.' + if '--send' in sys.argv: + message = """From: Douglas Gregor <dgregor@cs.indiana.edu> + To: Douglas Gregor <dgregor@cs.indiana.edu> + Reply-To: boost@lists.boost.org + Subject: Regression status script failed on """ + message += str(datetime.date.today()) + " [" + branch + "]" + smtp = smtplib.SMTP('milliways.osl.iu.edu') + smtp.sendmail(from_addr = 'Douglas Gregor <dgregor@cs.indiana.edu>', + to_addrs = 'dgregor@cs.indiana.edu', + msg = message) + sys.exit(1) + +# Try to parse maintainers information +report.parseLibraryMaintainersFile() + +for maintainer_name in report.maintainers: + maintainer = report.maintainers[maintainer_name] + + email = maintainer.composeEmail(report) + if email: + if '--send' in sys.argv: + print ('Sending notification email to ' + maintainer.name + '...') + smtp = smtplib.SMTP('milliways.osl.iu.edu') + smtp.sendmail(from_addr = report_author, + to_addrs = maintainer.email, + msg = email) + print 'done.\n' + else: + print 'Would send a notification e-mail to',maintainer.name + + if '--debug' in sys.argv: + print ('Message text for ' + maintainer.name + ':\n') + print email + +email = report.composeSummaryEmail() +if '--send' in sys.argv: + print 'Sending summary email to Boost developer list...' + smtp = smtplib.SMTP('milliways.osl.iu.edu') + smtp.sendmail(from_addr = report_author, + to_addrs = boost_dev_list, + msg = email) + print 'done.\n' +if '--debug' in sys.argv: + print 'Message text for summary:\n' + print email + +if not ('--send' in sys.argv): + print 'Chickening out and not sending any e-mail.' + print 'Use --send to actually send e-mail, --debug to see e-mails.' diff --git a/tools/regression/xsl_reports/empty_expected_results.xml b/tools/regression/xsl_reports/empty_expected_results.xml new file mode 100644 index 0000000000..43e72ca406 --- /dev/null +++ b/tools/regression/xsl_reports/empty_expected_results.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> +<expected-failures> +</expected-failures> +</root>
\ No newline at end of file diff --git a/tools/regression/xsl_reports/make_snapshot.py b/tools/regression/xsl_reports/make_snapshot.py new file mode 100644 index 0000000000..7b9b2f8020 --- /dev/null +++ b/tools/regression/xsl_reports/make_snapshot.py @@ -0,0 +1,175 @@ + +# Copyright (c) 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) + +import tarfile +import shutil +import time +import os.path +import string +import sys +import traceback + + +def retry( f, args, max_attempts=5, sleep_secs=10 ): + for attempts in range( max_attempts, -1, -1 ): + try: + return f( *args ) + except Exception, msg: + utils.log( '%s failed with message "%s"' % ( f.__name__, msg ) ) + if attempts == 0: + utils.log( 'Giving up.' ) + raise + + utils.log( 'Retrying (%d more attempts).' % attempts ) + time.sleep( sleep_secs ) + + +def rmtree( path ): + if os.path.exists( path ): + if sys.platform == 'win32': + os.system( 'del /f /s /q "%s" >nul 2>&1' % path ) + shutil.rmtree( path ) + else: + os.system( 'rm -f -r "%s"' % path ) + + +def cvs_command( user, command ): + cmd = 'cvs -d:ext:%(user)s@cvs.sourceforge.net:/cvsroot/boost -z9 %(command)s' \ + % { 'user': user, 'command': command } + + utils.log( 'Executing CVS command "%s"' % cmd ) + rc = os.system( cmd ) + if rc != 0: + raise Exception( 'CVS command "%s" failed with code %d' % ( cmd, rc ) ) + + + +def cvs_export( working_dir, user, tag ): + if tag != 'CVS-HEAD': + command = 'export -r %s boost' % tag + else: + command = 'export -r HEAD boost' + + os.chdir( working_dir ) + retry( + cvs_command + , ( user, command ) + ) + + +def make_tarball( + working_dir + , tag + , user + , site_dir + ): + + sources_dir = os.path.join( working_dir, 'boost' ) + if os.path.exists( sources_dir ): + utils.log( 'Directory "%s" already exists, cleaning it up...' % sources_dir ) + rmtree( sources_dir ) + + try: + os.mkdir( sources_dir ) + utils.log( 'Exporting files from CVS...' ) + cvs_export( working_dir, user, tag ) + except: + utils.log( 'Cleaning up...' ) + rmtree( sources_dir ) + raise + + timestamp = time.time() + timestamped_dir_name = 'boost-%s-%s' % ( tag, time.strftime( '%y-%m-%d-%H%M', time.gmtime( timestamp ) ) ) + timestamped_dir = os.path.join( working_dir, timestamped_dir_name ) + + utils.log( 'Renaming "%s" to "%s"...' % ( sources_dir, timestamped_dir ) ) + os.rename( sources_dir, timestamped_dir ) + + tarball_name = 'boost-%s.tar.bz2' % tag + tarball_path = os.path.join( working_dir, tarball_name ) + + utils.log( 'Archiving "%s" to "%s"...' % ( timestamped_dir, tarball_path ) ) + tar = tarfile.open( tarball_path, 'w|bz2' ) + tar.posix = False # see http://tinyurl.com/4ebd8 + + tar.add( timestamped_dir, timestamped_dir_name ) + tar.close() + + tarball_timestamp_path = os.path.join( working_dir, 'boost-%s.timestamp' % tag ) + + utils.log( 'Writing timestamp into "%s"...' % tarball_timestamp_path ) + timestamp_file = open( tarball_timestamp_path, 'w' ) + timestamp_file.write( '%f' % timestamp ) + timestamp_file.close() + + md5sum_path = os.path.join( working_dir, 'boost-%s.md5' % tag ) + utils.log( 'Writing md5 checksum into "%s"...' % md5sum_path ) + old_dir = os.getcwd() + os.chdir( os.path.dirname( tarball_path ) ) + os.system( 'md5sum -b "%s" >"%s"' % ( os.path.basename( tarball_path ), md5sum_path ) ) + os.chdir( old_dir ) + + if site_dir is not None: + utils.log( 'Moving "%s" to the site location "%s"...' % ( tarball_name, site_dir ) ) + temp_site_dir = os.path.join( site_dir, 'temp' ) + if not os.path.exists( temp_site_dir ): + os.mkdir( temp_site_dir ) + + shutil.move( tarball_path, temp_site_dir ) + shutil.move( os.path.join( temp_site_dir, tarball_name ), site_dir ) + shutil.move( tarball_timestamp_path, site_dir ) + shutil.move( md5sum_path, site_dir ) + utils.log( 'Removing "%s"...' % timestamped_dir ) + rmtree( timestamped_dir ) + + +def accept_args( args ): + args_spec = [ + 'working-dir=' + , 'tag=' + , 'user=' + , 'site-dir=' + , 'mail=' + , 'help' + ] + + options = { + '--tag': 'CVS-HEAD' + , '--site-dir': None + } + + utils.accept_args( args_spec, args, options, usage ) + + return ( + options[ '--working-dir' ] + , options[ '--tag' ] + , options[ '--user' ] + , options[ '--site-dir' ] + ) + + +def usage(): + print 'Usage: %s [options]' % os.path.basename( sys.argv[0] ) + print ''' +\t--working-dir working directory +\t--tag snapshot tag (i.e. 'CVS-HEAD') +\t--user SourceForge user name for a CVS account +\t--site-dir site directory to copy the snapshot to (optional) +''' + +def main(): + make_tarball( *accept_args( sys.argv[ 1: ] ) ) + +if __name__ != '__main__': import utils +else: + # in absense of relative import... + xsl_path = os.path.abspath( os.path.dirname( sys.argv[ 0 ] ) ) + while os.path.basename( xsl_path ) != 'xsl_reports': xsl_path = os.path.dirname( xsl_path ) + sys.path.append( xsl_path ) + + import utils + main() diff --git a/tools/regression/xsl_reports/report.py b/tools/regression/xsl_reports/report.py new file mode 100644 index 0000000000..3a262195d6 --- /dev/null +++ b/tools/regression/xsl_reports/report.py @@ -0,0 +1,369 @@ + +# Copyright (c) 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) + +import shutil +import os.path +import os +import string +import time +import sys + +import utils +import runner + + +report_types = [ 'us', 'ds', 'ud', 'dd', 'l', 'p', 'x', 'i', 'n', 'ddr', 'dsr' ] + +if __name__ == '__main__': + run_dir = os.path.abspath( os.path.dirname( sys.argv[ 0 ] ) ) +else: + run_dir = os.path.abspath( os.path.dirname( sys.modules[ __name__ ].__file__ ) ) + + +def map_path( path ): + return os.path.join( run_dir, path ) + + +def xsl_path( xsl_file_name, v2 = 0 ): + if v2: + return map_path( os.path.join( 'xsl/v2', xsl_file_name ) ) + else: + return map_path( os.path.join( 'xsl', xsl_file_name ) ) + + +def make_result_pages( + test_results_file + , expected_results_file + , failures_markup_file + , tag + , run_date + , comment_file + , results_dir + , result_prefix + , reports + , v2 + ): + + utils.log( 'Producing the reports...' ) + __log__ = 1 + + output_dir = os.path.join( results_dir, result_prefix ) + utils.makedirs( output_dir ) + + if comment_file != '': + comment_file = os.path.abspath( comment_file ) + + if expected_results_file != '': + expected_results_file = os.path.abspath( expected_results_file ) + else: + expected_results_file = os.path.abspath( map_path( 'empty_expected_results.xml' ) ) + + + extended_test_results = os.path.join( output_dir, 'extended_test_results.xml' ) + if 'x' in reports: + utils.log( ' Merging with expected results...' ) + utils.libxslt( + utils.log + , test_results_file + , xsl_path( 'add_expected_results.xsl', v2 ) + , extended_test_results + , { 'expected_results_file': expected_results_file, 'failures_markup_file' : failures_markup_file } + ) + + links = os.path.join( output_dir, 'links.html' ) + + utils.makedirs( os.path.join( output_dir, 'output' ) ) + for mode in ( 'developer', 'user' ): + utils.makedirs( os.path.join( output_dir, mode , 'output' ) ) + + if 'l' in reports: + utils.log( ' Making test output files...' ) + utils.libxslt( + utils.log + , extended_test_results + , xsl_path( 'links_page.xsl', v2 ) + , links + , { + 'source': tag + , 'run_date': run_date + , 'comment_file': comment_file + , 'explicit_markup_file': failures_markup_file + } + ) + + + issues = os.path.join( output_dir, 'developer', 'issues.html' ) + if 'i' in reports: + utils.log( ' Making issues list...' ) + utils.libxslt( + utils.log + , extended_test_results + , xsl_path( 'issues_page.xsl', v2 ) + , issues + , { + 'source': tag + , 'run_date': run_date + , 'comment_file': comment_file + , 'explicit_markup_file': failures_markup_file + } + ) + + for mode in ( 'developer', 'user' ): + if mode[0] + 'd' in reports: + utils.log( ' Making detailed %s report...' % mode ) + utils.libxslt( + utils.log + , extended_test_results + , xsl_path( 'result_page.xsl', v2 ) + , os.path.join( output_dir, mode, 'index.html' ) + , { + 'links_file': 'links.html' + , 'mode': mode + , 'source': tag + , 'run_date': run_date + , 'comment_file': comment_file + , 'expected_results_file': expected_results_file + , 'explicit_markup_file' : failures_markup_file + } + ) + + for mode in ( 'developer', 'user' ): + if mode[0] + 's' in reports: + utils.log( ' Making summary %s report...' % mode ) + utils.libxslt( + utils.log + , extended_test_results + , xsl_path( 'summary_page.xsl', v2 ) + , os.path.join( output_dir, mode, 'summary.html' ) + , { + 'mode' : mode + , 'source': tag + , 'run_date': run_date + , 'comment_file': comment_file + , 'explicit_markup_file' : failures_markup_file + } + ) + + if v2 and "ddr" in reports: + utils.log( ' Making detailed %s release report...' % mode ) + utils.libxslt( + utils.log + , extended_test_results + , xsl_path( 'result_page.xsl', v2 ) + , os.path.join( output_dir, "developer", 'index_release.html' ) + , { + 'links_file': 'links.html' + , 'mode': "developer" + , 'source': tag + , 'run_date': run_date + , 'comment_file': comment_file + , 'expected_results_file': expected_results_file + , 'explicit_markup_file' : failures_markup_file + , 'release': "yes" + } + ) + + if v2 and "dsr" in reports: + utils.log( ' Making summary %s release report...' % mode ) + utils.libxslt( + utils.log + , extended_test_results + , xsl_path( 'summary_page.xsl', v2 ) + , os.path.join( output_dir, "developer", 'summary_release.html' ) + , { + 'mode' : "developer" + , 'source': tag + , 'run_date': run_date + , 'comment_file': comment_file + , 'explicit_markup_file' : failures_markup_file + , 'release': 'yes' + } + ) + + if 'e' in reports: + utils.log( ' Generating expected_results ...' ) + utils.libxslt( + utils.log + , extended_test_results + , xsl_path( 'produce_expected_results.xsl', v2 ) + , os.path.join( output_dir, 'expected_results.xml' ) + ) + + if v2 and 'n' in reports: + utils.log( ' Making runner comment files...' ) + utils.libxslt( + utils.log + , extended_test_results + , xsl_path( 'runners.xsl', v2 ) + , os.path.join( output_dir, 'runners.html' ) + ) + + shutil.copyfile( + xsl_path( 'html/master.css', v2 ) + , os.path.join( output_dir, 'master.css' ) + ) + + +def build_xsl_reports( + locate_root_dir + , tag + , expected_results_file + , failures_markup_file + , comment_file + , results_dir + , result_file_prefix + , dont_collect_logs = 0 + , reports = report_types + , v2 = 0 + , user = None + , upload = False + ): + + ( run_date ) = time.strftime( '%Y-%m-%dT%H:%M:%SZ', time.gmtime() ) + + test_results_file = os.path.join( results_dir, 'test_results.xml' ) + bin_boost_dir = os.path.join( locate_root_dir, 'bin', 'boost' ) + + if v2: + import merger + merger.merge_logs( + tag + , user + , results_dir + , test_results_file + , dont_collect_logs + ) + else: + utils.log( ' dont_collect_logs: %s' % dont_collect_logs ) + if not dont_collect_logs: + f = open( test_results_file, 'w+' ) + f.write( '<tests>\n' ) + runner.collect_test_logs( [ bin_boost_dir ], f ) + f.write( '</tests>\n' ) + f.close() + + make_result_pages( + test_results_file + , expected_results_file + , failures_markup_file + , tag + , run_date + , comment_file + , results_dir + , result_file_prefix + , reports + , v2 + ) + + if v2 and upload: + upload_dir = 'regression-logs/' + utils.log( 'Uploading v2 results into "%s" [connecting as %s]...' % ( upload_dir, user ) ) + + archive_name = '%s.tar.gz' % result_file_prefix + utils.tar( + os.path.join( results_dir, result_file_prefix ) + , archive_name + ) + + utils.sourceforge.upload( os.path.join( results_dir, archive_name ), upload_dir, user ) + utils.sourceforge.untar( os.path.join( upload_dir, archive_name ), user, background = True ) + + +def accept_args( args ): + args_spec = [ + 'locate-root=' + , 'tag=' + , 'expected-results=' + , 'failures-markup=' + , 'comment=' + , 'results-dir=' + , 'results-prefix=' + , 'dont-collect-logs' + , 'reports=' + , 'v2' + , 'user=' + , 'upload' + , 'help' + ] + + options = { + '--comment': '' + , '--expected-results': '' + , '--failures-markup': '' + , '--reports': string.join( report_types, ',' ) + , '--tag': None + , '--user': None + , 'upload': False + } + + utils.accept_args( args_spec, args, options, usage ) + if not options.has_key( '--results-dir' ): + options[ '--results-dir' ] = options[ '--locate-root' ] + + if not options.has_key( '--results-prefix' ): + if options.has_key( '--v2' ): + options[ '--results-prefix' ] = 'all' + else: + options[ '--results-prefix' ] = '' + + return ( + options[ '--locate-root' ] + , options[ '--tag' ] + , options[ '--expected-results' ] + , options[ '--failures-markup' ] + , options[ '--comment' ] + , options[ '--results-dir' ] + , options[ '--results-prefix' ] + , options.has_key( '--dont-collect-logs' ) + , options[ '--reports' ].split( ',' ) + , options.has_key( '--v2' ) + , options[ '--user' ] + , options.has_key( '--upload' ) + ) + + +def usage(): + print 'Usage: %s [options]' % os.path.basename( sys.argv[0] ) + print ''' +\t--locate-root the same as --locate-root in compiler_status +\t--tag the tag for the results (i.e. 'CVS-HEAD') +\t--expected-results the file with the results to be compared with +\t the current run +\t--failures-markup the file with the failures markup +\t--comment an html comment file (will be inserted in the reports) +\t--results-dir the directory containing -links.html, -fail.html +\t files produced by compiler_status (by default the +\t same as specified in --locate-root) +\t--results-prefix the prefix of -links.html, -fail.html +\t files produced by compiler_status +\t--v2 v2 reports (combine multiple runners results into a +\t single set of reports) + +The following options are valid only for v2 reports: + +\t--user SourceForge user name for a shell account +\t--upload upload v2 reports to SourceForge + +The following options are useful in debugging: + +\t--dont-collect-logs dont collect the test logs +\t--reports produce only the specified reports +\t us - user summary +\t ds - developer summary +\t ud - user detailed +\t dd - developer detailed +\t l - links +\t p - patches +\t x - extended results file +\t i - issues +''' + +def main(): + build_xsl_reports( *accept_args( sys.argv[ 1 : ] ) ) + +if __name__ == '__main__': + main() diff --git a/tools/regression/xsl_reports/runner/__init__.py b/tools/regression/xsl_reports/runner/__init__.py new file mode 100644 index 0000000000..4018536558 --- /dev/null +++ b/tools/regression/xsl_reports/runner/__init__.py @@ -0,0 +1,2 @@ + +from collect_and_upload_logs import * diff --git a/tools/regression/xsl_reports/runner/collect_and_upload_logs.py b/tools/regression/xsl_reports/runner/collect_and_upload_logs.py new file mode 100644 index 0000000000..aa54628ef8 --- /dev/null +++ b/tools/regression/xsl_reports/runner/collect_and_upload_logs.py @@ -0,0 +1,333 @@ + +# Copyright (c) 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) + +import xml.sax.saxutils +import zipfile +import ftplib +import time +import stat + +import os.path +import string +import sys + + +def process_xml_file( input_file, output_file ): + utils.log( 'Processing test log "%s"' % input_file ) + + f = open( input_file, 'r' ) + xml = f.readlines() + f.close() + + for i in range( 0, len(xml)): + xml[i] = string.translate( xml[i], utils.char_translation_table ) + + output_file.writelines( xml ) + + +def process_test_log_files( output_file, dir, names ): + for file in names: + if os.path.basename( file ) == 'test_log.xml': + process_xml_file( os.path.join( dir, file ), output_file ) + + +def collect_test_logs( input_dirs, test_results_writer ): + __log__ = 1 + utils.log( 'Collecting test logs ...' ) + for input_dir in input_dirs: + utils.log( 'Walking directory "%s" ...' % input_dir ) + os.path.walk( input_dir, process_test_log_files, test_results_writer ) + + +def upload_to_ftp( tag, results_file, ftp_proxy, debug_level ): + ftp_site = 'fx.meta-comm.com' + site_path = '/boost-regression' + utils.log( 'Uploading log archive "%s" to ftp://%s%s/%s' % ( results_file, ftp_site, site_path, tag ) ) + + if not ftp_proxy: + ftp = ftplib.FTP( ftp_site ) + ftp.set_debuglevel( debug_level ) + ftp.login() + else: + utils.log( ' Connecting through FTP proxy server "%s"' % ftp_proxy ) + ftp = ftplib.FTP( ftp_proxy ) + ftp.set_debuglevel( debug_level ) + ftp.set_pasv (0) # turn off PASV mode + ftp.login( 'anonymous@%s' % ftp_site, 'anonymous@' ) + + ftp.cwd( site_path ) + try: + ftp.cwd( tag ) + except ftplib.error_perm: + ftp.mkd( tag ) + ftp.cwd( tag ) + + f = open( results_file, 'rb' ) + ftp.storbinary( 'STOR %s' % os.path.basename( results_file ), f ) + ftp.quit() + + +def copy_comments( results_xml, comment_file ): + results_xml.startElement( 'comment', {} ) + + if os.path.exists( comment_file ): + utils.log( 'Reading comments file "%s"...' % comment_file ) + f = open( comment_file, 'r' ) + try: + results_xml.characters( f.read() ) + finally: + f.close() + else: + utils.log( 'Warning: comment file "%s" is not found.' % comment_file ) + + results_xml.endElement( 'comment' ) + + +def compress_file( file_path, archive_path ): + utils.log( 'Compressing "%s"...' % file_path ) + + try: + z = zipfile.ZipFile( archive_path, 'w', zipfile.ZIP_DEFLATED ) + z.write( file_path, os.path.basename( file_path ) ) + z.close() + utils.log( 'Done writing "%s".'% archive_path ) + except Exception, msg: + utils.log( 'Warning: Compressing falied (%s)' % msg ) + utils.log( ' Trying to compress using a platform-specific tool...' ) + try: import zip_cmd + except ImportError: + script_dir = os.path.dirname( os.path.abspath( sys.argv[0] ) ) + utils.log( 'Could not find \'zip_cmd\' module in the script directory (%s).' % script_dir ) + raise Exception( 'Compressing failed!' ) + else: + if os.path.exists( archive_path ): + os.unlink( archive_path ) + utils.log( 'Removing stale "%s".' % archive_path ) + + zip_cmd.main( file_path, archive_path ) + utils.log( 'Done compressing "%s".' % archive_path ) + + +def read_timestamp( file ): + if not os.path.exists( file ): + result = time.gmtime() + utils.log( 'Warning: timestamp file "%s" does not exist'% file ) + utils.log( 'Using current UTC time (%s)' % result ) + return result + + return time.gmtime( os.stat( file ).st_mtime ) + + +def collect_logs( + results_dir + , runner_id + , tag + , platform + , comment_file + , timestamp_file + , user + , source + , run_type + , **unused + ): + + results_file = os.path.join( results_dir, '%s.xml' % runner_id ) + results_writer = open( results_file, 'w' ) + utils.log( 'Collecting test logs into "%s"...' % results_file ) + + results_xml = xml.sax.saxutils.XMLGenerator( results_writer ) + results_xml.startDocument() + results_xml.startElement( + 'test-run' + , { + 'tag': tag + , 'platform': platform + , 'runner': runner_id + , 'timestamp': time.strftime( '%Y-%m-%dT%H:%M:%SZ', read_timestamp( timestamp_file ) ) + , 'source': source + , 'run-type': run_type + } + ) + + copy_comments( results_xml, comment_file ) + collect_test_logs( [ results_dir ], results_writer ) + + results_xml.endElement( "test-run" ) + results_xml.endDocument() + results_writer.close() + utils.log( 'Done writing "%s".' % results_file ) + + compress_file( + results_file + , os.path.join( results_dir,'%s.zip' % runner_id ) + ) + + +def upload_logs( + results_dir + , runner_id + , tag + , user + , ftp_proxy + , debug_level + , send_bjam_log = False + , timestamp_file = None + , **unused + ): + + logs_archive = os.path.join( results_dir, '%s.zip' % runner_id ) + upload_to_ftp( tag, logs_archive, ftp_proxy, debug_level ) + if send_bjam_log: + bjam_log_path = os.path.join( results_dir, 'bjam.log' ) + if not timestamp_file: + timestamp_file = bjam_log_path + + timestamp = time.strftime( '%Y-%m-%d-%H-%M-%S', read_timestamp( timestamp_file ) ) + logs_archive = os.path.join( results_dir, '%s.%s.log.zip' % ( runner_id, timestamp ) ) + compress_file( bjam_log_path, logs_archive ) + upload_to_ftp( '%s/logs' % tag, logs_archive, ftp_proxy, debug_level ) + + +def collect_and_upload_logs( + results_dir + , runner_id + , tag + , platform + , comment_file + , timestamp_file + , user + , source + , run_type + , ftp_proxy = None + , debug_level = 0 + , send_bjam_log = False + , **unused + ): + + collect_logs( + results_dir + , runner_id + , tag + , platform + , comment_file + , timestamp_file + , user + , source + , run_type + ) + + upload_logs( + results_dir + , runner_id + , tag + , user + , ftp_proxy + , debug_level + , send_bjam_log + , timestamp_file + ) + + +def accept_args( args ): + args_spec = [ + 'locate-root=' + , 'runner=' + , 'tag=' + , 'platform=' + , 'comment=' + , 'timestamp=' + , 'source=' + , 'run-type=' + , 'user=' + , 'ftp-proxy=' + , 'debug-level=' + , 'send-bjam-log' + , 'help' + ] + + options = { + '--tag' : 'CVS-HEAD' + , '--platform' : sys.platform + , '--comment' : 'comment.html' + , '--timestamp' : 'timestamp' + , '--user' : None + , '--source' : 'CVS' + , '--run-type' : 'full' + , '--ftp-proxy' : None + , '--debug-level' : 0 + } + + utils.accept_args( args_spec, args, options, usage ) + + return { + 'results_dir' : options[ '--locate-root' ] + , 'runner_id' : options[ '--runner' ] + , 'tag' : options[ '--tag' ] + , 'platform' : options[ '--platform'] + , 'comment_file' : options[ '--comment' ] + , 'timestamp_file' : options[ '--timestamp' ] + , 'user' : options[ '--user' ] + , 'source' : options[ '--source' ] + , 'run_type' : options[ '--run-type' ] + , 'ftp_proxy' : options[ '--ftp-proxy' ] + , 'debug_level' : int(options[ '--debug-level' ]) + , 'send_bjam_log' : options.has_key( '--send-bjam-log' ) + } + + +commands = { + 'collect-and-upload' : collect_and_upload_logs + , 'collect-logs' : collect_logs + , 'upload-logs' : upload_logs + } + +def usage(): + print 'Usage: %s [command] [options]' % os.path.basename( sys.argv[0] ) + print ''' +Commands: +\t%s + +Options: +\t--locate-root directory to to scan for "test_log.xml" files +\t--runner runner ID (e.g. "Metacomm") +\t--timestamp path to a file which modification time will be used +\t as a timestamp of the run ("timestamp" by default) +\t--comment an HTML comment file to be inserted in the reports +\t ("comment.html" by default) +\t--tag the tag for the results ("CVS-HEAD" by default) +\t--user SourceForge user name for a shell account (optional) +\t--source where Boost sources came from (e.g. "CVS", "tarball", +\t "anonymous CVS"; "CVS" by default) +\t--run-type "incremental" or "full" ("full" by default) +\t--send-bjam-log in addition to regular XML results, send in full bjam +\t log of the regression run +\t--ftp-proxy FTP proxy server (e.g. 'ftpproxy', optional) +\t--debug-level debugging level; controls the amount of debugging +\t output printed; 0 by default (no debug output) +''' % '\n\t'.join( commands.keys() ) + + +def main(): + if len(sys.argv) > 1 and sys.argv[1] in commands: + command = sys.argv[1] + args = sys.argv[ 2: ] + else: + command = 'collect-and-upload' + args = sys.argv[ 1: ] + + commands[ command ]( **accept_args( args ) ) + + +if __name__ != '__main__': import utils +else: + # in absense of relative import... + xsl_path = os.path.abspath( os.path.dirname( sys.argv[ 0 ] ) ) + while os.path.basename( xsl_path ) != 'xsl_reports': xsl_path = os.path.dirname( xsl_path ) + sys.path.append( xsl_path ) + + import utils + main() diff --git a/tools/regression/xsl_reports/runner/default.css b/tools/regression/xsl_reports/runner/default.css new file mode 100644 index 0000000000..e713c4a3b2 --- /dev/null +++ b/tools/regression/xsl_reports/runner/default.css @@ -0,0 +1,235 @@ +/* +:Author: David Goodger +:Contact: goodger@users.sourceforge.net +:date: $Date$ +:version: $Revision$ +:copyright: This stylesheet has been placed in the public domain. + +Default cascading style sheet for the HTML output of Docutils. +*/ + +body { + background-color: #fffff5; +} + +h2 { + text-decoration: underline; +} + +.first { + margin-top: 0 } + +.last { + margin-bottom: 0 } + +a.toc-backref { + text-decoration: none ; + color: black } + +blockquote.epigraph { + margin: 2em 5em ; } + +dd { + margin-bottom: 0.5em } + +div.abstract { + margin: 2em 5em } + +div.abstract p.topic-title { + font-weight: bold ; + text-align: center } + +div.attention, div.caution, div.danger, div.error, div.hint, +div.important, div.note, div.tip, div.warning, div.admonition { + margin: 2em ; + border: medium outset ; + padding: 1em } + +div.attention p.admonition-title, div.caution p.admonition-title, +div.danger p.admonition-title, div.error p.admonition-title, +div.warning p.admonition-title { + color: red ; + font-weight: bold ; + font-family: sans-serif } + +div.hint p.admonition-title, div.important p.admonition-title, +div.note p.admonition-title, div.tip p.admonition-title, +div.admonition p.admonition-title { + font-weight: bold ; + font-family: sans-serif } + +div.dedication { + margin: 2em 5em ; + text-align: center ; + font-style: italic } + +div.dedication p.topic-title { + font-weight: bold ; + font-style: normal } + +div.figure { + margin-left: 2em } + +div.footer, div.header { + font-size: smaller } + +div.sidebar { + margin-left: 1em ; + border: medium outset ; + padding: 0em 1em ; + background-color: #ffffee ; + width: 40% ; + float: right ; + clear: right } + +div.sidebar p.rubric { + font-family: sans-serif ; + font-size: medium } + +div.system-messages { + margin: 5em } + +div.system-messages h1 { + color: red } + +div.system-message { + border: medium outset ; + padding: 1em } + +div.system-message p.system-message-title { + color: red ; + font-weight: bold } + +div.topic { + margin: 2em } + +h1.title { + text-align: center } + +h2.subtitle { + text-align: center } + +hr { + width: 75% } + +ol.simple, ul.simple { + margin-bottom: 1em } + +ol.arabic { + list-style: decimal } + +ol.loweralpha { + list-style: lower-alpha } + +ol.upperalpha { + list-style: upper-alpha } + +ol.lowerroman { + list-style: lower-roman } + +ol.upperroman { + list-style: upper-roman } + +p.attribution { + text-align: right ; + margin-left: 50% } + +p.caption { + font-style: italic } + +p.credits { + font-style: italic ; + font-size: smaller } + +p.label { + white-space: nowrap } + +p.rubric { + font-weight: bold ; + font-size: larger ; + color: maroon ; + text-align: center } + +p.sidebar-title { + font-family: sans-serif ; + font-weight: bold ; + font-size: larger } + +p.sidebar-subtitle { + font-family: sans-serif ; + font-weight: bold } + +p.topic-title { + font-weight: bold } + +pre.address { + margin-bottom: 0 ; + margin-top: 0 ; + font-family: serif ; + font-size: 100% } + +pre.line-block { + font-family: serif ; + font-size: 100% } + +pre.literal-block, pre.doctest-block { + margin-left: 2em ; + margin-right: 2em ; + background-color: #eeeeee } + +span.classifier { + font-family: sans-serif ; + font-style: oblique } + +span.classifier-delimiter { + font-family: sans-serif ; + font-weight: bold } + +span.interpreted { + font-family: sans-serif } + +span.option { + white-space: nowrap } + +span.option-argument { + font-style: italic } + +span.pre { + white-space: pre } + +span.problematic { + color: red } + +table { + margin-top: 0.5em ; + margin-bottom: 0.5em } + +table.citation { + border-left: solid thin gray ; + padding-left: 0.5ex } + +table.docinfo { + margin: 2em 4em } + +table.footnote { + border-left: solid thin black ; + padding-left: 0.5ex } + +td, th { + padding-left: 0.5em ; + padding-right: 0.5em ; + vertical-align: top } + +th.docinfo-name, th.field-name { + font-weight: bold ; + text-align: left ; + white-space: nowrap } + +h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt { + font-size: 100% } + +tt { + background-color: #eeeeee } + +ul.auto-toc { + list-style-type: none } diff --git a/tools/regression/xsl_reports/runner/instructions.html b/tools/regression/xsl_reports/runner/instructions.html new file mode 100644 index 0000000000..10ca054932 --- /dev/null +++ b/tools/regression/xsl_reports/runner/instructions.html @@ -0,0 +1,525 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<meta name="generator" content="Docutils 0.4.1: http://docutils.sourceforge.net/" /> +<title>Running Boost Regression Tests</title> +<style type="text/css"> + +/* +:Author: David Goodger +:Contact: goodger@users.sourceforge.net +:Date: $Date$ +:Revision: $Revision$ +:Copyright: This stylesheet has been placed in the public domain. + +Default cascading style sheet for the HTML output of Docutils. + +See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to +customize this style sheet. +*/ + +/* used to remove borders from tables and images */ +.borderless, table.borderless td, table.borderless th { + border: 0 } + +table.borderless td, table.borderless th { + /* Override padding for "table.docutils td" with "! important". + The right padding separates the table cells. */ + padding: 0 0.5em 0 0 ! important } + +.first { + /* Override more specific margin styles with "! important". */ + margin-top: 0 ! important } + +.last, .with-subtitle { + margin-bottom: 0 ! important } + +.hidden { + display: none } + +a.toc-backref { + text-decoration: none ; + color: black } + +blockquote.epigraph { + margin: 2em 5em ; } + +dl.docutils dd { + margin-bottom: 0.5em } + +/* Uncomment (and remove this text!) to get bold-faced definition list terms +dl.docutils dt { + font-weight: bold } +*/ + +div.abstract { + margin: 2em 5em } + +div.abstract p.topic-title { + font-weight: bold ; + text-align: center } + +div.admonition, div.attention, div.caution, div.danger, div.error, +div.hint, div.important, div.note, div.tip, div.warning { + margin: 2em ; + border: medium outset ; + padding: 1em } + +div.admonition p.admonition-title, div.hint p.admonition-title, +div.important p.admonition-title, div.note p.admonition-title, +div.tip p.admonition-title { + font-weight: bold ; + font-family: sans-serif } + +div.attention p.admonition-title, div.caution p.admonition-title, +div.danger p.admonition-title, div.error p.admonition-title, +div.warning p.admonition-title { + color: red ; + font-weight: bold ; + font-family: sans-serif } + +/* Uncomment (and remove this text!) to get reduced vertical space in + compound paragraphs. +div.compound .compound-first, div.compound .compound-middle { + margin-bottom: 0.5em } + +div.compound .compound-last, div.compound .compound-middle { + margin-top: 0.5em } +*/ + +div.dedication { + margin: 2em 5em ; + text-align: center ; + font-style: italic } + +div.dedication p.topic-title { + font-weight: bold ; + font-style: normal } + +div.figure { + margin-left: 2em ; + margin-right: 2em } + +div.footer, div.header { + clear: both; + font-size: smaller } + +div.line-block { + display: block ; + margin-top: 1em ; + margin-bottom: 1em } + +div.line-block div.line-block { + margin-top: 0 ; + margin-bottom: 0 ; + margin-left: 1.5em } + +div.sidebar { + margin-left: 1em ; + border: medium outset ; + padding: 1em ; + background-color: #ffffee ; + width: 40% ; + float: right ; + clear: right } + +div.sidebar p.rubric { + font-family: sans-serif ; + font-size: medium } + +div.system-messages { + margin: 5em } + +div.system-messages h1 { + color: red } + +div.system-message { + border: medium outset ; + padding: 1em } + +div.system-message p.system-message-title { + color: red ; + font-weight: bold } + +div.topic { + margin: 2em } + +h1.section-subtitle, h2.section-subtitle, h3.section-subtitle, +h4.section-subtitle, h5.section-subtitle, h6.section-subtitle { + margin-top: 0.4em } + +h1.title { + text-align: center } + +h2.subtitle { + text-align: center } + +hr.docutils { + width: 75% } + +img.align-left { + clear: left } + +img.align-right { + clear: right } + +ol.simple, ul.simple { + margin-bottom: 1em } + +ol.arabic { + list-style: decimal } + +ol.loweralpha { + list-style: lower-alpha } + +ol.upperalpha { + list-style: upper-alpha } + +ol.lowerroman { + list-style: lower-roman } + +ol.upperroman { + list-style: upper-roman } + +p.attribution { + text-align: right ; + margin-left: 50% } + +p.caption { + font-style: italic } + +p.credits { + font-style: italic ; + font-size: smaller } + +p.label { + white-space: nowrap } + +p.rubric { + font-weight: bold ; + font-size: larger ; + color: maroon ; + text-align: center } + +p.sidebar-title { + font-family: sans-serif ; + font-weight: bold ; + font-size: larger } + +p.sidebar-subtitle { + font-family: sans-serif ; + font-weight: bold } + +p.topic-title { + font-weight: bold } + +pre.address { + margin-bottom: 0 ; + margin-top: 0 ; + font-family: serif ; + font-size: 100% } + +pre.literal-block, pre.doctest-block { + margin-left: 2em ; + margin-right: 2em ; + background-color: #eeeeee } + +span.classifier { + font-family: sans-serif ; + font-style: oblique } + +span.classifier-delimiter { + font-family: sans-serif ; + font-weight: bold } + +span.interpreted { + font-family: sans-serif } + +span.option { + white-space: nowrap } + +span.pre { + white-space: pre } + +span.problematic { + color: red } + +span.section-subtitle { + /* font-size relative to parent (h1..h6 element) */ + font-size: 80% } + +table.citation { + border-left: solid 1px gray; + margin-left: 1px } + +table.docinfo { + margin: 2em 4em } + +table.docutils { + margin-top: 0.5em ; + margin-bottom: 0.5em } + +table.footnote { + border-left: solid 1px black; + margin-left: 1px } + +table.docutils td, table.docutils th, +table.docinfo td, table.docinfo th { + padding-left: 0.5em ; + padding-right: 0.5em ; + vertical-align: top } + +table.docutils th.field-name, table.docinfo th.docinfo-name { + font-weight: bold ; + text-align: left ; + white-space: nowrap ; + padding-left: 0 } + +h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, +h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { + font-size: 100% } + +tt.docutils { + background-color: #eeeeee } + +ul.auto-toc { + list-style-type: none } + +</style> +</head> +<body> +<div class="document" id="running-boost-regression-tests"> +<h1 class="title">Running Boost Regression Tests</h1> +<div class="section"> +<h1><a id="requirements" name="requirements">Requirements</a></h1> +<ul class="simple"> +<li>Python 2.3 or higher</li> +<li>Some spare disk space (~5 Gb per each tested compiler)</li> +</ul> +<p>That's it! You don't even need a CVS client installed.</p> +</div> +<div class="section"> +<h1><a id="installation" name="installation">Installation</a></h1> +<ul class="simple"> +<li>Download regression driver <tt class="docutils literal"><span class="pre">regression.py</span></tt> from <a class="reference" href="http://boost.cvs.sourceforge.net/*checkout*/boost/boost/tools/regression/xsl_reports/runner/regression.py">here</a> (<a class="reference" href="http://tinyurl.com/uufav">http://tinyurl.com/uufav</a>) +and put it in the directory where you want all the regression +test files to be placed.</li> +</ul> +<ul> +<li><p class="first"><strong>Optional</strong>: If you already have <tt class="docutils literal"><span class="pre">bjam</span></tt> and/or <tt class="docutils literal"><span class="pre">process_jam_log</span></tt> executables +you'd like to use, just put them in the same directory with <tt class="docutils literal"><span class="pre">regression.py</span></tt>, e.g.:</p> +<pre class="literal-block"> +my_boost_regressions/ + regression.py + bjam<em>[.exe]</em> +</pre> +</li> +</ul> +</div> +<div class="section"> +<h1><a id="running-tests" name="running-tests">Running tests</a></h1> +<p>To start a regression run, simply run <tt class="docutils literal"><span class="pre">regression.py</span></tt> providing it with the following +two arguments:</p> +<ul class="simple"> +<li>runner id (something unique of your choice that will identify your +results in the reports <a class="footnote-reference" href="#runnerid1" id="id2" name="id2">[1]</a>, <a class="footnote-reference" href="#runnerid2" id="id3" name="id3">[2]</a>)</li> +<li>a particular set of toolsets you want to test with <a class="footnote-reference" href="#toolsets" id="id4" name="id4">[3]</a>.</li> +</ul> +<p>For example:</p> +<pre class="literal-block"> +python regression.py --runner=Metacomm --toolsets=gcc,vc7 +</pre> +<p>If you are interested in seeing all available options, run <tt class="docutils literal"><span class="pre">python</span> <span class="pre">regression.py</span></tt> +or <tt class="docutils literal"><span class="pre">python</span> <span class="pre">regression.py</span> <span class="pre">--help</span></tt>. See also the <a class="reference" href="#advanced-use">Advanced use</a> section below.</p> +<p><strong>Note</strong>: If you are behind a firewall/proxy server, everything should still "just work". +In the rare cases when it doesn't, you can explicitly specify the proxy server +parameters through the <tt class="docutils literal"><span class="pre">--proxy</span></tt> option, e.g.:</p> +<pre class="literal-block"> +python regression.py ... <strong>--proxy=http://www.someproxy.com:3128</strong> +</pre> +</div> +<div class="section"> +<h1><a id="details" name="details">Details</a></h1> +<p>The regression run procedure will:</p> +<ul class="simple"> +<li>Download the most recent tarball from <a class="reference" href="http://www.meta-comm.com/engineering/boost/snapshot/">http://www.meta-comm.com/engineering/boost/snapshot/</a>, +unpack it in the subdirectory <tt class="docutils literal"><span class="pre">boost</span></tt>.</li> +<li>Build <tt class="docutils literal"><span class="pre">bjam</span></tt> and <tt class="docutils literal"><span class="pre">process_jam_log</span></tt> if needed. (<tt class="docutils literal"><span class="pre">process_jam_log</span></tt> is an +utility, which extracts the test results from the log file produced by +Boost.Build).</li> +<li>Run regression tests, process and collect the results.</li> +<li>Upload the results to <a class="reference" href="ftp://fx.meta-comm.com/boost-regression">ftp://fx.meta-comm.com/boost-regression</a>.</li> +</ul> +<p>The report merger process running continuously on MetaCommunications site will +merge all submitted test runs and publish them at +<a class="reference" href="http://boost.sourceforge.net/regression-logs/developer">http://boost.sourceforge.net/regression-logs/developer</a>.</p> +</div> +<div class="section"> +<h1><a id="advanced-use" name="advanced-use">Advanced use</a></h1> +<div class="section"> +<h2><a id="providing-detailed-information-about-your-environment" name="providing-detailed-information-about-your-environment">Providing detailed information about your environment</a></h2> +<p>Once you have your regression results displayed in the Boost-wide +reports, you may consider providing a bit more information about +yourself and your test environment. This additional information will +be presented in the reports on a page associated with your runner ID.</p> +<p>By default, the page's content is just a single line coming from the +<tt class="docutils literal"><span class="pre">comment.html</span></tt> file in your <tt class="docutils literal"><span class="pre">regression.py</span></tt> directory, specifying +the tested platform. You can put online a more detailed description of +your environment, such as your hardware configuration, compiler builds, +and test schedule, by simply altering the file's content. Also, please +consider providing your name and email address for cases where Boost +developers have questions specific to your particular set of results.</p> +</div> +<div class="section"> +<h2><a id="incremental-runs" name="incremental-runs">Incremental runs</a></h2> +<p>You can run <tt class="docutils literal"><span class="pre">regression.py</span></tt> in incremental mode <a class="footnote-reference" href="#incremental" id="id5" name="id5">[4]</a> by simply passing +it an identically named command-line flag:</p> +<pre class="literal-block"> +python regression.py ... <strong>--incremental</strong> +</pre> +</div> +<div class="section"> +<h2><a id="dealing-with-misbehaved-tests-compilers" name="dealing-with-misbehaved-tests-compilers">Dealing with misbehaved tests/compilers</a></h2> +<p>Depending on the environment/C++ runtime support library the test is compiled with, +a test failure/termination may cause an appearance of a dialog window, requiring +human intervention to proceed. Moreover, the test (or even of the compiler itself) +can fall into infinite loop, or simply run for too long. To allow <tt class="docutils literal"><span class="pre">regression.py</span></tt> +to take care of these obstacles, add the <tt class="docutils literal"><span class="pre">--monitored</span></tt> flag to the script +invocation:</p> +<pre class="literal-block"> +python regression.py ... <strong>--monitored</strong> +</pre> +<p>That's it. Knowing your intentions, the script will be able to automatically deal +with the listed issues <a class="footnote-reference" href="#monitored" id="id6" name="id6">[5]</a>.</p> +</div> +<div class="section"> +<h2><a id="getting-sources-from-cvs" name="getting-sources-from-cvs">Getting sources from CVS</a></h2> +<p>If you already have a CVS client installed and configured, you might prefer to get +the sources directly from the Boost CVS repository. To communicate this to the +script, you just need to pass it your SourceForge user ID using the <tt class="docutils literal"><span class="pre">--user</span></tt> +option; for instance:</p> +<pre class="literal-block"> +python regression.py ... <strong>--user=agurtovoy</strong> +</pre> +<p>You can also specify the user as <tt class="docutils literal"><span class="pre">anonymous</span></tt>, requesting anonymous CVS access. +Note, though, that the files obtained this way tend to lag behind the actual CVS +state by several hours, sometimes up to twelve. By contrast, the tarball the script +downloads by default is at most one hour behind.</p> +</div> +<div class="section"> +<h2><a id="integration-with-a-custom-driver-script" name="integration-with-a-custom-driver-script">Integration with a custom driver script</a></h2> +<p>Even if you've already been using a custom driver script, and for some +reason you don't want <tt class="docutils literal"><span class="pre">regression.py</span></tt> to take over of the entire test cycle, +getting your regression results into <a class="reference" href="http://www.boost.org/regression-logs/developer/">Boost-wide reports</a> is still easy!</p> +<p>In fact, it's just a matter of modifying your script to perform two straightforward +operations:</p> +<ol class="arabic"> +<li><p class="first"><em>Timestamp file creation</em> needs to be done before the CVS update/checkout. +The file's location doesn't matter (nor does the content), as long as you know how +to access it later. Making your script to do something as simple as +<tt class="docutils literal"><span class="pre">echo</span> <span class="pre">>timestamp</span></tt> would work just fine.</p> +</li> +<li><p class="first"><em>Collecting and uploading logs</em> can be done any time after <tt class="docutils literal"><span class="pre">process_jam_log</span></tt>' s +run, and is as simple as an invocation of the local copy of +<tt class="docutils literal"><span class="pre">$BOOST_ROOT/tools/regression/xsl_reports/runner/collect_and_upload_logs.py</span></tt> +script that was just obtained from the CVS with the rest of the sources. +You'd need to provide <tt class="docutils literal"><span class="pre">collect_and_upload_logs.py</span></tt> with the following three +arguments:</p> +<pre class="literal-block"> +--locate-root directory to to scan for "test_log.xml" files +--runner runner ID (e.g. "Metacomm") +--timestamp path to a file which modification time will be used + as a timestamp of the run ("timestamp" by default) +</pre> +<p>For example, assuming that the run's resulting binaries are in the +<tt class="docutils literal"><span class="pre">$BOOST_ROOT/bin</span></tt> directory (the default Boost.Build setup), the +<tt class="docutils literal"><span class="pre">collect_and_upload_logs.py</span></tt> invocation might look like this:</p> +<pre class="literal-block"> +python $BOOST_ROOT/tools/regression/xsl_reports/runner/collect_and_upload_logs.py + --locate-root=$BOOST_ROOT/bin + --runner=Metacomm + --timestamp=timestamp +</pre> +</li> +</ol> +</div> +<div class="section"> +<h2><a id="patching-boost-sources" name="patching-boost-sources">Patching Boost sources</a></h2> +<p>You might encounter an occasional need to make local modifications to +the Boost codebase before running the tests, without disturbing the +automatic nature of the regression process. To implement this under +<tt class="docutils literal"><span class="pre">regression.py</span></tt>:</p> +<ol class="arabic simple"> +<li>Codify applying the desired modifications to the sources +located in the <tt class="docutils literal"><span class="pre">./boost</span></tt> subdirectory in a single executable +script named <tt class="docutils literal"><span class="pre">patch_boost</span></tt> (<tt class="docutils literal"><span class="pre">patch_boost.bat</span></tt> on Windows).</li> +<li>Place the script in the <tt class="docutils literal"><span class="pre">regression.py</span></tt> directory.</li> +</ol> +<p>The driver will check for the existence of the <tt class="docutils literal"><span class="pre">patch_boost</span></tt> script, +and, if found, execute it after obtaining the Boost sources.</p> +</div> +</div> +<div class="section"> +<h1><a id="feedback" name="feedback">Feedback</a></h1> +<p>Please send all comments/suggestions regarding this document and the testing procedure +itself to the <a class="reference" href="http://lists.boost.org/mailman/listinfo.cgi/boost-testing">Boost Testing list</a>.</p> +</div> +<div class="section"> +<h1><a id="notes" name="notes">Notes</a></h1> +<table class="docutils footnote" frame="void" id="runnerid1" rules="none"> +<colgroup><col class="label" /><col /></colgroup> +<tbody valign="top"> +<tr><td class="label"><a class="fn-backref" href="#id2" name="runnerid1">[1]</a></td><td>If you are running regressions interlacingly with a different +set of compilers (e.g. for Intel in the morning and GCC at the end of the day), you need +to provide a <em>different</em> runner id for each of these runs, e.g. <tt class="docutils literal"><span class="pre">your_name-intel</span></tt>, and +<tt class="docutils literal"><span class="pre">your_name-gcc</span></tt>.</td></tr> +</tbody> +</table> +<table class="docutils footnote" frame="void" id="runnerid2" rules="none"> +<colgroup><col class="label" /><col /></colgroup> +<tbody valign="top"> +<tr><td class="label"><a class="fn-backref" href="#id3" name="runnerid2">[2]</a></td><td>The limitations of the reports' format/medium impose a direct dependency +between the number of compilers you are testing with and the amount of space available +for your runner id. If you are running regressions for a single compiler, please make +sure to choose a short enough id that does not significantly disturb the reports' layout.</td></tr> +</tbody> +</table> +<table class="docutils footnote" frame="void" id="toolsets" rules="none"> +<colgroup><col class="label" /><col /></colgroup> +<tbody valign="top"> +<tr><td class="label"><a class="fn-backref" href="#id4" name="toolsets">[3]</a></td><td>If <tt class="docutils literal"><span class="pre">--toolsets</span></tt> option is not provided, the script will try to use the +platform's default toolset (<tt class="docutils literal"><span class="pre">gcc</span></tt> for most Unix-based systems).</td></tr> +</tbody> +</table> +<table class="docutils footnote" frame="void" id="incremental" rules="none"> +<colgroup><col class="label" /><col /></colgroup> +<tbody valign="top"> +<tr><td class="label"><a class="fn-backref" href="#id5" name="incremental">[4]</a></td><td><p class="first">By default, the script runs in what is known as <em>full mode</em>: on +each <tt class="docutils literal"><span class="pre">regression.py</span></tt> invocation all the files that were left in place by the +previous run -- including the binaries for the successfully built tests and libraries +-- are deleted, and everything is rebuilt once again from scratch. By contrast, in +<em>incremental mode</em> the already existing binaries are left intact, and only the +tests and libraries which source files has changed since the previous run are +re-built and re-tested.</p> +<p>The main advantage of incremental runs is a significantly shorter turnaround time, +but unfortunately they don't always produce reliable results. Some type of changes +to the codebase (changes to the bjam testing subsystem in particular) +often require switching to a full mode for one cycle in order to produce +trustworthy reports.</p> +<p class="last">As a general guideline, if you can afford it, testing in full mode is preferable.</p> +</td></tr> +</tbody> +</table> +<table class="docutils footnote" frame="void" id="monitored" rules="none"> +<colgroup><col class="label" /><col /></colgroup> +<tbody valign="top"> +<tr><td class="label"><a class="fn-backref" href="#id6" name="monitored">[5]</a></td><td>Note that at the moment this functionality is available only if you +are running on a Windows platform. Contributions are welcome!</td></tr> +</tbody> +</table> +</div> +</div> +</body> +</html> diff --git a/tools/regression/xsl_reports/runner/instructions.rst b/tools/regression/xsl_reports/runner/instructions.rst new file mode 100644 index 0000000000..1ab54a61db --- /dev/null +++ b/tools/regression/xsl_reports/runner/instructions.rst @@ -0,0 +1,252 @@ +Running Boost Regression Tests +============================== + + +Requirements +------------ + +* Python 2.3 or higher +* Some spare disk space (~5 Gb per each tested compiler) + +That's it! You don't even need a CVS client installed. + +Installation +------------ + +* Download regression driver ``regression.py`` from here__ (http://tinyurl.com/uufav) + and put it in the directory where you want all the regression + test files to be placed. + +__ http://boost.cvs.sourceforge.net/*checkout*/boost/boost/tools/regression/xsl_reports/runner/regression.py + + +* **Optional**: If you already have ``bjam`` and/or ``process_jam_log`` executables + you'd like to use, just put them in the same directory with ``regression.py``, e.g.: + + .. parsed-literal:: + + my_boost_regressions/ + regression.py + bjam\ *[.exe]* + + +Running tests +------------- + +To start a regression run, simply run ``regression.py`` providing it with the following +two arguments: + +- runner id (something unique of your choice that will identify your + results in the reports [#runnerid1]_, [#runnerid2]_) + +- a particular set of toolsets you want to test with [#toolsets]_. + +For example:: + + python regression.py --runner=Metacomm --toolsets=gcc,vc7 + + +If you are interested in seeing all available options, run ``python regression.py`` +or ``python regression.py --help``. See also the `Advanced use`_ section below. + +**Note**: If you are behind a firewall/proxy server, everything should still "just work". +In the rare cases when it doesn't, you can explicitly specify the proxy server +parameters through the ``--proxy`` option, e.g.: + +.. parsed-literal:: + + python regression.py ... **--proxy=http://www.someproxy.com:3128** + + +Details +------- + +The regression run procedure will: + +* Download the most recent tarball from http://www.meta-comm.com/engineering/boost/snapshot/, + unpack it in the subdirectory ``boost``. + +* Build ``bjam`` and ``process_jam_log`` if needed. (``process_jam_log`` is an + utility, which extracts the test results from the log file produced by + Boost.Build). + +* Run regression tests, process and collect the results. + +* Upload the results to ftp://fx.meta-comm.com/boost-regression. + + +The report merger process running continuously on MetaCommunications site will +merge all submitted test runs and publish them at +http://boost.sourceforge.net/regression-logs/developer. + + +Advanced use +------------ + +Providing detailed information about your environment +..................................................... + +Once you have your regression results displayed in the Boost-wide +reports, you may consider providing a bit more information about +yourself and your test environment. This additional information will +be presented in the reports on a page associated with your runner ID. + +By default, the page's content is just a single line coming from the +``comment.html`` file in your ``regression.py`` directory, specifying +the tested platform. You can put online a more detailed description of +your environment, such as your hardware configuration, compiler builds, +and test schedule, by simply altering the file's content. Also, please +consider providing your name and email address for cases where Boost +developers have questions specific to your particular set of results. + + +Incremental runs +................ + +You can run ``regression.py`` in incremental mode [#incremental]_ by simply passing +it an identically named command-line flag: + +.. parsed-literal:: + + python regression.py ... **--incremental** + + +Dealing with misbehaved tests/compilers +....................................... + +Depending on the environment/C++ runtime support library the test is compiled with, +a test failure/termination may cause an appearance of a dialog window, requiring +human intervention to proceed. Moreover, the test (or even of the compiler itself) +can fall into infinite loop, or simply run for too long. To allow ``regression.py`` +to take care of these obstacles, add the ``--monitored`` flag to the script +invocation: + +.. parsed-literal:: + + python regression.py ... **--monitored** + + +That's it. Knowing your intentions, the script will be able to automatically deal +with the listed issues [#monitored]_. + + +Getting sources from CVS +........................ + +If you already have a CVS client installed and configured, you might prefer to get +the sources directly from the Boost CVS repository. To communicate this to the +script, you just need to pass it your SourceForge user ID using the ``--user`` +option; for instance: + +.. parsed-literal:: + + python regression.py ... **--user=agurtovoy** + +You can also specify the user as ``anonymous``, requesting anonymous CVS access. +Note, though, that the files obtained this way tend to lag behind the actual CVS +state by several hours, sometimes up to twelve. By contrast, the tarball the script +downloads by default is at most one hour behind. + + +Integration with a custom driver script +....................................... + +Even if you've already been using a custom driver script, and for some +reason you don't want ``regression.py`` to take over of the entire test cycle, +getting your regression results into `Boost-wide reports`__ is still easy! + +In fact, it's just a matter of modifying your script to perform two straightforward +operations: + +1. *Timestamp file creation* needs to be done before the CVS update/checkout. + The file's location doesn't matter (nor does the content), as long as you know how + to access it later. Making your script to do something as simple as + ``echo >timestamp`` would work just fine. + +2. *Collecting and uploading logs* can be done any time after ``process_jam_log``' s + run, and is as simple as an invocation of the local copy of + ``$BOOST_ROOT/tools/regression/xsl_reports/runner/collect_and_upload_logs.py`` + script that was just obtained from the CVS with the rest of the sources. + You'd need to provide ``collect_and_upload_logs.py`` with the following three + arguments:: + + --locate-root directory to to scan for "test_log.xml" files + --runner runner ID (e.g. "Metacomm") + --timestamp path to a file which modification time will be used + as a timestamp of the run ("timestamp" by default) + + For example, assuming that the run's resulting binaries are in the + ``$BOOST_ROOT/bin`` directory (the default Boost.Build setup), the + ``collect_and_upload_logs.py`` invocation might look like this:: + + python $BOOST_ROOT/tools/regression/xsl_reports/runner/collect_and_upload_logs.py + --locate-root=$BOOST_ROOT/bin + --runner=Metacomm + --timestamp=timestamp + + +__ http://www.boost.org/regression-logs/developer/ + + +Patching Boost sources +...................... + +You might encounter an occasional need to make local modifications to +the Boost codebase before running the tests, without disturbing the +automatic nature of the regression process. To implement this under +``regression.py``: + +1. Codify applying the desired modifications to the sources + located in the ``./boost`` subdirectory in a single executable + script named ``patch_boost`` (``patch_boost.bat`` on Windows). + +2. Place the script in the ``regression.py`` directory. + +The driver will check for the existence of the ``patch_boost`` script, +and, if found, execute it after obtaining the Boost sources. + + +Feedback +-------- + +Please send all comments/suggestions regarding this document and the testing procedure +itself to the `Boost Testing list`__. + +__ http://lists.boost.org/mailman/listinfo.cgi/boost-testing + + +Notes +----- + +.. [#runnerid1] If you are running regressions interlacingly with a different + set of compilers (e.g. for Intel in the morning and GCC at the end of the day), you need + to provide a *different* runner id for each of these runs, e.g. ``your_name-intel``, and + ``your_name-gcc``. + +.. [#runnerid2] The limitations of the reports' format/medium impose a direct dependency + between the number of compilers you are testing with and the amount of space available + for your runner id. If you are running regressions for a single compiler, please make + sure to choose a short enough id that does not significantly disturb the reports' layout. + +.. [#toolsets] If ``--toolsets`` option is not provided, the script will try to use the + platform's default toolset (``gcc`` for most Unix-based systems). + +.. [#incremental] By default, the script runs in what is known as *full mode*: on + each ``regression.py`` invocation all the files that were left in place by the + previous run -- including the binaries for the successfully built tests and libraries + -- are deleted, and everything is rebuilt once again from scratch. By contrast, in + *incremental mode* the already existing binaries are left intact, and only the + tests and libraries which source files has changed since the previous run are + re-built and re-tested. + + The main advantage of incremental runs is a significantly shorter turnaround time, + but unfortunately they don't always produce reliable results. Some type of changes + to the codebase (changes to the bjam testing subsystem in particular) + often require switching to a full mode for one cycle in order to produce + trustworthy reports. + + As a general guideline, if you can afford it, testing in full mode is preferable. + +.. [#monitored] Note that at the moment this functionality is available only if you + are running on a Windows platform. Contributions are welcome! + diff --git a/tools/regression/xsl_reports/runner/regression.py b/tools/regression/xsl_reports/runner/regression.py new file mode 100644 index 0000000000..1e53435344 --- /dev/null +++ b/tools/regression/xsl_reports/runner/regression.py @@ -0,0 +1,1005 @@ +#!/usr/bin/python + +# Copyright (c) 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) + +import urllib +import tarfile +import socket +import time +import getopt +import glob +import shutil +import stat +import os.path +import os +import platform +import traceback +import string +import sys + +regression_root = os.path.abspath( os.path.dirname( sys.argv[0] ) ) +regression_results = os.path.join( regression_root, 'results' ) +regression_log = os.path.join( regression_results, 'bjam.log' ) +install_log = os.path.join( regression_results, 'bjam_install.log' ) +boostbook_log = os.path.join( regression_results, 'boostbook.log' ) +boostbook_archive_name = os.path.join( regression_results, 'boostbook.zip' ) + +boost_root = os.path.join( regression_root, 'boost' ) +xsl_reports_dir = os.path.join( boost_root, 'tools', 'regression', 'xsl_reports' ) +timestamp_path = os.path.join( regression_root, 'timestamp' ) + +cvs_command_line = 'cvs -z9 %(command)s' +cvs_ext_command_line = 'cvs -d:ext:%(user)s@boost.cvs.sourceforge.net:/cvsroot/boost -z9 %(command)s' +cvs_pserver_command_line = 'cvs -d:pserver:%(user)s@boost.cvs.sourceforge.net:/cvsroot/boost -z9 %(command)s' + +bjam = {} +process_jam_log = {} + + +if sys.platform == 'win32': + bjam[ 'name' ] = 'bjam.exe' + bjam[ 'build_cmd' ] = lambda toolset, v2: bjam_build_script_cmd( 'build.bat %s' % toolset ) + bjam[ 'is_supported_toolset' ] = lambda x: x in [ 'borland', 'como', 'gcc', 'gcc-nocygwin' \ + , 'intel-win32', 'metrowerks', 'mingw' \ + , 'msvc', 'vc7' \ + ] + process_jam_log[ 'name' ] = 'process_jam_log.exe' + + def default_toolset(v2): + if v2: + return 'msvc' + else: + return 'vc-7_1' + + process_jam_log[ 'default_toolset' ] = default_toolset + patch_boost_name = 'patch_boost.bat' +else: + bjam[ 'name' ] = 'bjam' + bjam[ 'build_cmd' ] = lambda toolset, v2: bjam_build_script_cmd( './build.sh %s' % toolset ) + bjam[ 'is_supported_toolset' ] = lambda x: x in [ 'acc', 'como', 'darwin', 'gcc' \ + , 'intel-linux', 'kcc', 'kylix' \ + , 'mipspro', 'sunpro', 'tru64cxx' \ + , 'vacpp'\ + ] + process_jam_log[ 'name' ] = 'process_jam_log' + process_jam_log[ 'default_toolset' ] = lambda x: 'gcc' + patch_boost_name = 'patch_boost' + +bjam[ 'default_toolset' ] = lambda x: '' +bjam[ 'path' ] = os.path.join( regression_root, bjam[ 'name' ] ) +bjam[ 'source_dir' ] = os.path.join( boost_root, 'tools', 'jam', 'src' ) +bjam[ 'build_path_root' ] = lambda unused: bjam[ 'source_dir' ] + +process_jam_log[ 'path' ] = os.path.join( regression_root, process_jam_log[ 'name' ] ) +process_jam_log[ 'source_dir' ] = os.path.join( boost_root, 'tools', 'regression', 'build' ) + + +def process_jam_build_root(v2): + if v2: + return os.path.join(boost_root, 'dist', 'bin') + else: + return os.path.join( + boost_root, 'bin', 'boost', 'tools', 'regression', 'build' + , process_jam_log[ 'name' ]) + + +process_jam_log[ 'build_path_root' ] = process_jam_build_root + +process_jam_log[ 'build_cmd' ] = lambda toolset, v2: bjam_command( toolset, v2 ) +process_jam_log[ 'is_supported_toolset' ] = lambda x : True + +build_monitor_url = 'http://engineering.meta-comm.com/resources/build_monitor.zip' +pskill_url = 'http://www.sysinternals.com/files/pskill.zip' + +utils = None + + +def log( message ): + sys.stdout.flush() + sys.stderr.flush() + sys.stderr.write( '# %s\n' % message ) + sys.stderr.flush() + + +def platform_name(): + # See http://article.gmane.org/gmane.comp.lib.boost.testing/933 + if sys.platform == 'win32': + return 'Windows' + elif sys.platform == 'cygwin': + return 'Windows/Cygwin' + + return platform.system() + + +def rmtree( path ): + if os.path.exists( path ): + if sys.platform == 'win32': + os.system( 'del /f /s /q "%s" >nul 2>&1' % path ) + shutil.rmtree( unicode( path ) ) + else: + os.system( 'rm -f -r "%s"' % path ) + + +def retry( f, args, max_attempts=5, sleep_secs=10 ): + for attempts in range( max_attempts, -1, -1 ): + try: + return f( *args ) + except Exception, msg: + log( '%s failed with message "%s"' % ( f.__name__, msg ) ) + if attempts == 0: + log( 'Giving up.' ) + raise + + log( 'Retrying (%d more attempts).' % attempts ) + time.sleep( sleep_secs ) + + +def cleanup( args, **unused ): + if args == []: args = [ 'source', 'bin' ] + + if 'source' in args: + log( 'Cleaning up "%s" directory ...' % boost_root ) + rmtree( boost_root ) + + if 'bin' in args: + boost_bin_dir = os.path.join( boost_root, 'bin' ) + log( 'Cleaning up "%s" directory ...' % boost_bin_dir ) + rmtree( boost_bin_dir ) + + boost_binv2_dir = os.path.join( boost_root, 'bin.v2' ) + log( 'Cleaning up "%s" directory ...' % boost_binv2_dir ) + rmtree( boost_binv2_dir ) + + log( 'Cleaning up "%s" directory ...' % regression_results ) + rmtree( regression_results ) + + +def http_get( source_url, destination, proxy ): + if proxy is None: proxies = None + else: proxies = { 'http' : proxy } + + src = urllib.urlopen( source_url, proxies = proxies ) + + f = open( destination, 'wb' ) + while True: + data = src.read( 16*1024 ) + if len( data ) == 0: break + f.write( data ) + + f.close() + src.close() + + +def tarball_name_for_tag( tag, timestamp = False ): + if not timestamp: return 'boost-%s.tar.bz2' % tag + else: return 'boost-%s.timestamp' % tag + + +def download_boost_tarball( destination, tag, proxy, timestamp_only = False ): + tarball_name = tarball_name_for_tag( tag, timestamp_only ) + tarball_path = os.path.join( destination, tarball_name ) + tarball_url = 'http://engineering.meta-comm.com/boost/snapshot/%s' % tarball_name + + log( 'Downloading "%s" to "%s"...' % ( tarball_url, os.path.dirname( tarball_path ) ) ) + if os.path.exists( tarball_path ): + os.unlink( tarball_path ) + + http_get( + tarball_url + , tarball_path + , proxy + ) + + return tarball_path + + +def find_boost_dirs( path ): + return [ x for x in glob.glob( os.path.join( path, 'boost[-_]*' ) ) + if os.path.isdir( x ) ] + + +def unpack_tarball( tarball_path, destination ): + log( 'Looking for old unpacked archives...' ) + old_boost_dirs = find_boost_dirs( destination ) + + for old_boost_dir in old_boost_dirs: + if old_boost_dir != tarball_path: + log( 'Deleting old directory %s.' % old_boost_dir ) + rmtree( old_boost_dir ) + + log( 'Unpacking boost tarball ("%s")...' % tarball_path ) + + tarball_name = os.path.basename( tarball_path ) + extension = tarball_name[ tarball_name.find( '.' ) : ] + + if extension in ( ".tar.gz", ".tar.bz2" ): + mode = os.path.splitext( extension )[1][1:] + tar = tarfile.open( tarball_path, 'r:%s' % mode ) + for tarinfo in tar: + tar.extract( tarinfo, destination ) + if sys.platform == 'win32' and not tarinfo.isdir(): + # workaround what appears to be a Win32-specific bug in 'tarfile' + # (modification times for extracted files are not set properly) + f = os.path.join( destination, tarinfo.name ) + os.chmod( f, stat.S_IWRITE ) + os.utime( f, ( tarinfo.mtime, tarinfo.mtime ) ) + tar.close() + elif extension in ( ".zip" ): + import zipfile + + z = zipfile.ZipFile( tarball_path, 'r', zipfile.ZIP_DEFLATED ) + for f in z.infolist(): + destination_file_path = os.path.join( destination, f.filename ) + if destination_file_path[-1] == "/": # directory + if not os.path.exists( destination_file_path ): + os.makedirs( destination_file_path ) + else: # file + result = open( destination_file_path, 'wb' ) + result.write( z.read( f.filename ) ) + result.close() + z.close() + else: + raise 'Do not know how to unpack archives with extension \"%s\"' % extension + + boost_dir = find_boost_dirs( destination )[0] + log( ' Unpacked into directory "%s"' % boost_dir ) + + if os.path.exists( boost_root ): + log( 'Deleting "%s" directory...' % boost_root ) + rmtree( boost_root ) + + log( 'Renaming "%s" into "%s"' % ( boost_dir, boost_root ) ) + os.rename( boost_dir, boost_root ) + + +def cvs_command( user, command ): + if user is None: + cmd = cvs_command_line % { 'command': command } + elif user == 'anonymous': + cmd = cvs_pserver_command_line % { 'user': user, 'command': command } + else: + cmd = cvs_ext_command_line % { 'user': user, 'command': command } + + log( 'Executing CVS command "%s"' % cmd ) + rc = os.system( cmd ) + if rc != 0: + raise Exception( 'CVS command "%s" failed with code %d' % ( cmd, rc ) ) + + +def cvs_checkout( user, tag, args ): + if tag != 'CVS-HEAD': + command = 'checkout -r %s boost' % tag + else: + command = 'checkout boost' + + os.chdir( regression_root ) + cvs_command( user, command ) + + +def cvs_update( user, tag, args ): + if tag != 'CVS-HEAD': + command = 'update -dPA -r %s' % tag + else: + command = 'update -dPA' + + os.chdir( os.path.join( regression_root, 'boost' ) ) + cvs_command( user, command ) + + +def format_time( t ): + return time.strftime( + '%a, %d %b %Y %H:%M:%S +0000' + , t + ) + + +def refresh_timestamp(): + if os.path.exists( timestamp_path ): + os. unlink( timestamp_path ) + + open( timestamp_path, 'w' ).close() + + +def timestamp(): + return time.strftime( + '%Y-%m-%dT%H:%M:%SZ' + , time.gmtime( os.stat( timestamp_path ).st_mtime ) + ) + + +def get_tarball( tag, proxy, args, **unused ): + if args == []: args = [ 'download', 'unpack' ] + + tarball_path = None + + if 'download' in args: + tarball_path = download_boost_tarball( regression_root, tag, proxy ) + + if 'unpack' in args: + if not tarball_path: + tarball_path = os.path.join( regression_root, tarball_name_for_tag( tag ) ) + unpack_tarball( tarball_path, regression_root ) + + +def get_source( user, tag, proxy, args, **unused ): + refresh_timestamp() + log( 'Getting sources (%s)...' % timestamp() ) + + if user is not None: + retry( + cvs_checkout + , ( user, tag, args ) + ) + else: + retry( + get_tarball + , ( tag, proxy, args ) + ) + + +def update_source( user, tag, proxy, args, **unused ): + if user is not None or os.path.exists( os.path.join( boost_root, 'CVS' ) ): + open( timestamp_path, 'w' ).close() + log( 'Updating sources from CVS (%s)...' % timestamp() ) + retry( + cvs_update + , ( user, tag, args ) + ) + else: + get_source( user, tag, proxy, args ) + + +def tool_path( name_or_spec, v2=None ): + if isinstance( name_or_spec, basestring ): + return os.path.join( regression_root, name_or_spec ) + + if os.path.exists( name_or_spec[ 'path' ] ): + return name_or_spec[ 'path' ] + + if name_or_spec.has_key( 'build_path' ): + return name_or_spec[ 'build_path' ] + + build_path_root = name_or_spec[ 'build_path_root' ]( v2 ) + log( 'Searching for "%s" in "%s"...' % ( name_or_spec[ 'name' ], build_path_root ) ) + for root, dirs, files in os.walk( build_path_root ): + if name_or_spec[ 'name' ] in files: + return os.path.join( root, name_or_spec[ 'name' ] ) + + raise Exception( 'Cannot find "%s" in any of the following locations:\n%s' % ( + name_or_spec[ 'name' ] + , '\n'.join( [ name_or_spec[ 'path' ], build_path_root ] ) + ) ) + + +def build_if_needed( tool, toolset, toolsets, v2 ): + if os.path.exists( tool[ 'path' ] ): + log( 'Found preinstalled "%s"; will use it.' % tool[ 'path' ] ) + return + + log( 'Preinstalled "%s" is not found; building one...' % tool[ 'path' ] ) + + if toolset is None: + if toolsets is not None: + toolset = string.split( toolsets, ',' )[0] + if not tool[ 'is_supported_toolset' ]( toolset ): + log( 'Warning: Specified toolset (%s) cannot be used to bootstrap "%s".'\ + % ( toolset, tool[ 'name' ] ) ) + + toolset = tool[ 'default_toolset' ](v2) + log( ' Using default toolset for the platform (%s).' % toolset ) + else: + toolset = tool[ 'default_toolset' ](v2) + log( 'Warning: No bootstrap toolset for "%s" was specified.' % tool[ 'name' ] ) + log( ' Using default toolset for the platform (%s).' % toolset ) + + if os.path.exists( tool[ 'source_dir' ] ): + log( 'Found "%s" source directory "%s"' % ( tool[ 'name' ], tool[ 'source_dir' ] ) ) + build_cmd = tool[ 'build_cmd' ]( toolset, v2 ) + log( 'Building "%s" (%s)...' % ( tool[ 'name'], build_cmd ) ) + utils.system( [ + 'cd "%s"' % tool[ 'source_dir' ] + , build_cmd + ] ) + else: + raise 'Could not find "%s" source directory "%s"' % ( tool[ 'name' ], tool[ 'source_dir' ] ) + + if not tool.has_key( 'build_path' ): + tool[ 'build_path' ] = tool_path( tool, v2 ) + + if not os.path.exists( tool[ 'build_path' ] ): + raise 'Failed to find "%s" after build.' % tool[ 'build_path' ] + + log( '%s succesfully built in "%s" location' % ( tool[ 'name' ], tool[ 'build_path' ] ) ) + + +def import_utils(): + global utils + if utils is None: + sys.path.append( xsl_reports_dir ) + import utils as utils_module + utils = utils_module + + +def download_if_needed( tool_name, tool_url, proxy ): + path = tool_path( tool_name ) + if not os.path.exists( path ): + log( 'Preinstalled "%s" is not found.' % path ) + log( ' Downloading from %s...' % tool_url ) + + zip_path = '%s.zip' % os.path.splitext( path )[0] + http_get( tool_url, zip_path, proxy ) + + log( ' Unzipping %s...' % path ) + utils.unzip( zip_path, os.path.dirname( path ) ) + + log( ' Removing %s...' % zip_path ) + os.unlink( zip_path ) + log( 'Done.' ) + + +def setup( + comment + , toolsets + , book + , bjam_toolset + , pjl_toolset + , monitored + , proxy + , v2 + , args + , **unused + ): + import_utils() + + patch_boost_path = os.path.join( regression_root, patch_boost_name ) + if os.path.exists( patch_boost_path ): + log( 'Found patch file "%s". Executing it.' % patch_boost_path ) + os.chdir( regression_root ) + utils.system( [ patch_boost_path ] ) + + build_if_needed( bjam, bjam_toolset, toolsets, v2 ) + build_if_needed( process_jam_log, pjl_toolset, toolsets, v2 ) + + if monitored: + if sys.platform == 'win32': + download_if_needed( 'build_monitor.exe', build_monitor_url, proxy ) + download_if_needed( 'pskill.exe', pskill_url, proxy ) + else: + log( 'Warning: Test monitoring is not supported on this platform (yet).' ) + log( ' Please consider contributing this piece!' ) + +def bjam_build_script_cmd( cmd ): + env_setup_key = 'BJAM_ENVIRONMENT_SETUP' + if os.environ.has_key( env_setup_key ): + return '%s & %s' % ( os.environ[env_setup_key], cmd ) + + return cmd + + +def bjam_command( toolsets, v2 ): + build_path = regression_root + if build_path[-1] == '\\': build_path += '\\' + v2_option = "" + if v2: + v2_option = "--v2" + result = '"%s" %s "-sBOOST_BUILD_PATH=%s" "-sBOOST_ROOT=%s"'\ + % ( + tool_path( bjam, v2 ) + , v2_option + , build_path + , boost_root + ) + + if not toolsets is None: + if v2: + result += ' ' + string.join(string.split( toolsets, ',' ), ' ' ) + else: + result += ' "-sTOOLS=%s"' % string.join( string.split( toolsets, ',' ), ' ' ) + + return result + + +def install( toolsets, v2, **unused ): + import_utils() + os.chdir( os.path.join( boost_root ) ) + + log( 'Making "%s" directory...' % regression_results ) + utils.makedirs( regression_results ) + + install_cmd = '%s -d2 install >>%s 2>&1' % ( bjam_command( toolsets, v2 ), install_log ) + log( 'Installing libraries (%s)...' % install_cmd ) + utils.system( [ install_cmd ] ) + + +def start_build_monitor( timeout ): + if sys.platform == 'win32': + build_monitor_path = tool_path( 'build_monitor.exe' ) + if os.path.exists( build_monitor_path ): + utils.system( [ 'start /belownormal "" "%s" bjam.exe %d' % ( build_monitor_path, timeout*60 ) ] ) + else: + log( 'Warning: Build monitor is not found at "%s"' % build_monitor_path ) + + +def stop_build_monitor(): + if sys.platform == 'win32': + build_monitor_path = tool_path( 'build_monitor.exe' ) + if os.path.exists( build_monitor_path ): + utils.system( [ '"%s" build_monitor' % tool_path( 'pskill.exe' ) ] ) + + +def run_process_jam_log(v2): + log( 'Getting test case results out of "%s"...' % regression_log ) + + if v2: + v2 = "--v2" + else: + v2 = "" + + utils.checked_system( [ + '"%s" %s "%s" <"%s"' % ( + tool_path( process_jam_log, v2 ) + , v2 + , regression_results + , regression_log + ) + ] ) + + +def test( + toolsets + , bjam_options + , monitored + , timeout + , v2 + , args + , **unused + ): + if args == []: + args = [ "test", "process" ] + + import_utils() + + try: + if monitored: + start_build_monitor( timeout ) + + cd = os.getcwd() + os.chdir( os.path.join( boost_root, 'status' ) ) + + log( 'Making "%s" directory...' % regression_results ) + utils.makedirs( regression_results ) + + results_libs = os.path.join( regression_results, 'libs' ) + results_status = os.path.join( regression_results, 'status' ) + + if "clean" in args: + rmtree( results_libs ) + rmtree( results_status ) + + build_dir_option = "-sALL_LOCATE_TARGET" + if v2: + build_dir_option = "--build-dir" + + if "test" in args: + test_cmd = '%s -d2 --dump-tests %s "%s=%s" >>"%s" 2>&1' % ( + bjam_command( toolsets, v2 ) + , bjam_options + , build_dir_option + , regression_results + , regression_log + ) + + log( 'Starting tests (%s)...' % test_cmd ) + utils.system( [ test_cmd ] ) + + if "process" in args: + run_process_jam_log(v2) + + os.chdir( cd ) + finally: + if monitored: + stop_build_monitor() + +def build_book( **kargs ): + # To do + # 1. PDF generation + # 2. Do we need to cleanup before the build? + # 3. Incremental builds + if not os.path.exists( regression_results ): + os.makedirs( regression_results ) + import_utils() + cwd = os.getcwd() + try: + os.chdir( os.path.join( boost_root, 'doc' ) ) + if os.path.exists( boostbook_log ): + os.unlink( boostbook_log ) + utils.system( [ '%s --v2 html >>%s 2>&1' % ( tool_path( bjam, v2=True ), boostbook_log ) ] ) + # utils.system( [ '%s --v2 pdf >>%s 2>&1' % ( tool_path( bjam, v2=True ), boostbook_log ) ] ) + finally: + os.chdir( cwd ) + +def collect_logs( + tag + , runner + , platform + , user + , comment + , incremental + , args + , **unused + ): + import_utils() + + if comment is None: + comment = 'comment.html' + + comment_path = os.path.join( regression_root, comment ) + if not os.path.exists( comment_path ): + log( 'Comment file "%s" not found; creating default comment.' % comment_path ) + f = open( comment_path, 'w' ) + f.write( '<p>Tests are run on %s platform.</p>' % platform_name() ) + f.close() + + run_type = '' + if incremental: run_type = 'incremental' + else: run_type = 'full' + + source = 'tarball' + cvs_root_file = os.path.join( boost_root, 'CVS', 'root' ) + if os.path.exists( cvs_root_file ): + if string.split( open( cvs_root_file ).readline(), '@' )[0] == ':pserver:anonymous': + source = 'anonymous CVS' + else: + source = 'CVS' + + from runner import collect_logs + collect_logs( + regression_results + , runner + , tag + , platform + , comment_path + , timestamp_path + , user + , source + , run_type + ) + +def collect_book( **unused ): + log( 'Collecting files for BoostBook into "%s"...' % boostbook_archive_name ) + import zipfile + boostbook_archive = zipfile.ZipFile( boostbook_archive_name, 'w', zipfile.ZIP_DEFLATED ) + html_root = os.path.join( boost_root, 'doc/html' ) + + boostbook_archive.writestr( 'timestamp', timestamp()) + boostbook_archive.write( boostbook_log, os.path.basename( boostbook_log ) ) + + def add_files( arg, dirname, names ): + for name in names: + path = os.path.join( dirname, name ) + if not os.path.isdir( path ): + boostbook_archive.write( path, path[ len(html_root) + 1: ] ) + os.path.walk( html_root, add_files, None ) + +def upload_logs( + tag + , runner + , user + , ftp_proxy + , debug_level + , send_bjam_log + , **unused + ): + import_utils() + from runner import upload_logs + retry( + upload_logs + , ( regression_results, runner, tag, user, ftp_proxy, debug_level, send_bjam_log, timestamp_path ) + ) + +def upload_book( tag, runner, ftp_proxy, debug_level, **unused ): + import_utils() + from runner import upload_to_ftp + upload_to_ftp( tag, boostbook_archive_name, ftp_proxy, debug_level ) + +def update_itself( tag, **unused ): + source = os.path.join( xsl_reports_dir, 'runner', os.path.basename( sys.argv[0] ) ) + self = os.path.join( regression_root, os.path.basename( sys.argv[0] ) ) + + log( 'Updating %s from %s...' % ( self, source ) ) + log( ' Checking modification dates...' ) + if os.stat( self ).st_mtime > os.stat( source ).st_mtime: + log( 'Warning: The current version of script appears to be newer than the source.' ) + log( ' Update skipped.' ) + else: + log( ' Saving a backup copy of the current script...' ) + os.chmod( self, stat.S_IWRITE ) # Win32 workaround + shutil.move( self, '%s~' % self ) + log( ' Replacing %s with a newer version...' % self ) + shutil.copy2( source, self ) + + +def send_mail( smtp_login, mail, subject, msg = '', debug_level = 0 ): + import smtplib + if not smtp_login: + server_name = 'mail.%s' % mail.split( '@' )[-1] + user_name = None + password = None + else: + server_name = smtp_login.split( '@' )[-1] + ( user_name, password ) = string.split( smtp_login.split( '@' )[0], ':' ) + + log( ' Sending mail through "%s"...' % server_name ) + smtp_server = smtplib.SMTP( server_name ) + smtp_server.set_debuglevel( debug_level ) + if user_name: + smtp_server.login( user_name, password ) + + smtp_server.sendmail( + mail + , [ mail ] + , 'Subject: %s\nTo: %s\n\n%s' % ( subject, mail, msg ) + ) + + +def regression( + tag + , local + , runner + , platform + , user + , comment + , toolsets + , book + , bjam_options + , bjam_toolset + , pjl_toolset + , incremental + , send_bjam_log + , force_update + , monitored + , timeout + , mail = None + , smtp_login = None + , proxy = None + , ftp_proxy = None + , debug_level = 0 + , v2 = 1 + , args = [] + ): + + try: + mail_subject = 'Boost regression for %s on %s' % ( tag, string.split(socket.gethostname(), '.')[0] ) + start_time = time.localtime() + if mail: + log( 'Sending start notification to "%s"' % mail ) + send_mail( + smtp_login + , mail + , '%s started at %s.' % ( mail_subject, format_time( start_time ) ) + , debug_level = debug_level + ) + + if local is not None: + log( 'Using local file "%s"' % local ) + + b = os.path.basename( local ) + tag = b[ 0: b.find( '.' ) ] + log( 'Tag: "%s"' % tag ) + + unpack_tarball( local, regression_root ) + else: + if incremental or force_update: + if not incremental: cleanup( [ 'bin' ] ) + update_source( user, tag, proxy, [] ) + else: + cleanup( [] ) + get_source( user, tag, proxy, [] ) + + setup( comment, toolsets, book, bjam_toolset, pjl_toolset, monitored, proxy, + v2, [] ) + # Not specifying --toolset in command line is not enough + # that would mean to use Boost.Build default ones + # We can skip test only we were explictly + # told to have no toolsets in command line "--toolset=" + if toolsets != '': # --toolset=, + test( toolsets, bjam_options, monitored, timeout, v2, [] ) + collect_logs( tag, runner, platform, user, comment, incremental, [] ) + upload_logs( tag, runner, user, ftp_proxy, debug_level, send_bjam_log ) + if book: + build_book() + collect_book() + upload_book( tag, runner, ftp_proxy, debug_level ) + + update_itself( tag ) + + if mail: + log( 'Sending report to "%s"' % mail ) + end_time = time.localtime() + send_mail( + smtp_login + , mail + , '%s completed successfully at %s.' % ( mail_subject, format_time( end_time ) ) + , debug_level = debug_level + ) + except: + if mail: + log( 'Sending report to "%s"' % mail ) + traceback_ = '\n'.join( apply( traceback.format_exception, sys.exc_info() ) ) + end_time = time.localtime() + send_mail( + smtp_login + , mail + , '%s failed at %s.' % ( mail_subject, format_time( end_time ) ) + , traceback_ + , debug_level + ) + raise + + +def show_revision( **unused ): + modified = '$Date$' + revision = '$Revision$' + + import re + re_keyword_value = re.compile( r'^\$\w+:\s+(.*)\s+\$$' ) + print '\n\tResivion: %s' % re_keyword_value.match( revision ).group( 1 ) + print '\tLast modified on: %s\n' % re_keyword_value.match( modified ).group( 1 ) + + +def accept_args( args ): + args_spec = [ + 'tag=' + , 'local=' + , 'runner=' + , 'platform=' + , 'user=' + , 'comment=' + , 'toolsets=' + , 'book' + , 'bjam-options=' + , 'bjam-toolset=' + , 'pjl-toolset=' + , 'timeout=' + , 'mail=' + , 'smtp-login=' + , 'proxy=' + , 'ftp-proxy=' + , 'debug-level=' + , 'incremental' + , 'force-update' + , 'dont-send-bjam-log' + , 'monitored' + , 'help' + , 'v2' + , 'v1' + ] + + options = { + '--tag' : 'CVS-HEAD' + , '--local' : None + , '--platform' : platform_name() + , '--user' : None + , '--comment' : None + , '--toolsets' : None + , '--book' : False + , '--bjam-options' : '' + , '--bjam-toolset' : None + , '--pjl-toolset' : None + , '--timeout' : 5 + , '--mail' : None + , '--smtp-login' : None + , '--proxy' : None + , '--debug-level' : 0 + , '--ftp-proxy' : None + } + + ( option_pairs, other_args ) = getopt.getopt( args, '', args_spec ) + map( lambda x: options.__setitem__( x[0], x[1] ), option_pairs ) + + if not options.has_key( '--runner' ) or options.has_key( '--help' ): + usage() + sys.exit( 1 ) + + return { + 'tag' : options[ '--tag' ] + , 'local' : options[ '--local' ] + , 'runner' : options[ '--runner' ] + , 'platform' : options[ '--platform'] + , 'user' : options[ '--user' ] + , 'comment' : options[ '--comment' ] + , 'toolsets' : options[ '--toolsets' ] + , 'book' : options.has_key( '--book' ) + , 'bjam_options' : options[ '--bjam-options' ] + , 'bjam_toolset' : options[ '--bjam-toolset' ] + , 'pjl_toolset' : options[ '--pjl-toolset' ] + , 'incremental' : options.has_key( '--incremental' ) + , 'send_bjam_log' : not options.has_key( '--dont-send-bjam-log' ) + , 'force_update' : options.has_key( '--force-update' ) + , 'monitored' : options.has_key( '--monitored' ) + , 'timeout' : options[ '--timeout' ] + , 'mail' : options[ '--mail' ] + , 'smtp_login' : options[ '--smtp-login' ] + , 'proxy' : options[ '--proxy' ] + , 'ftp_proxy' : options[ '--ftp-proxy' ] + , 'debug_level' : int(options[ '--debug-level' ]) + , 'v2' : not options.has_key( '--v1' ) + , 'args' : other_args + } + +commands = { + 'cleanup' : cleanup + , 'get-source' : get_source + , 'update-source' : update_source + , 'setup' : setup + , 'install' : install + , 'test' : test + , 'build-book' : build_book + , 'collect-logs' : collect_logs + , 'collect-book' : collect_book + , 'upload-logs' : upload_logs + , 'upload-book' : upload_book + , 'update-itself' : update_itself + , 'regression' : regression + , 'show-revision' : show_revision + } + +def usage(): + print 'Usage:\n\t%s [command] options' % os.path.basename( sys.argv[0] ) + print ''' +Commands: +\t%s + +Options: +\t--runner runner ID (e.g. 'Metacomm') +\t--tag the tag for the results ('CVS-HEAD' by default) +\t--local the name of the boost tarball +\t--comment an HTML comment file to be inserted in the reports +\t ('comment.html' by default) +\t--incremental do incremental run (do not remove previous binaries) +\t--dont-send-bjam-log +\t do not send full bjam log of the regression run +\t--force-update do a CVS update (if applicable) instead of a clean +\t checkout, even when performing a full run +\t--monitored do a monitored run +\t--timeout specifies the timeout, in minutes, for a single test +\t run/compilation (enforced only in monitored runs, 5 by +\t default) +\t--user SourceForge user name for a shell/CVS account (optional) +\t--toolsets comma-separated list of toolsets to test with (optional) +\t--book build BoostBook (optional) +\t--bjam-options options to pass to the regression test (optional) +\t--bjam-toolset bootstrap toolset for 'bjam' executable (optional) +\t--pjl-toolset bootstrap toolset for 'process_jam_log' executable +\t (optional) +\t--mail email address to send run notification to (optional) +\t--smtp-login STMP server address/login information, in the following +\t form: <user>:<password>@<host>[:<port>] (optional). +\t--proxy HTTP proxy server address and port (e.g. +\t 'http://www.someproxy.com:3128', optional) +\t--ftp-proxy FTP proxy server (e.g. 'ftpproxy', optional) +\t--debug-level debugging level; controls the amount of debugging +\t output printed; 0 by default (no debug output) +\t--v1 Use Boost.Build V1 +\t--v2 Use Boost.Build V2 (default) +''' % '\n\t'.join( commands.keys() ) + + print 'Example:\n\t%s --runner=Metacomm\n' % os.path.basename( sys.argv[0] ) + print 'For more documentation, see http://tinyurl.com/4f2zp\n' + + +if __name__ == '__main__': + if len(sys.argv) > 1 and sys.argv[1] in commands: + command = sys.argv[1] + args = sys.argv[ 2: ] + if command not in [ 'collect-logs', 'upload-logs' ]: + args.insert( 0, '--runner=' ) + else: + command = 'regression' + args = sys.argv[ 1: ] + + commands[ command ]( **accept_args( args ) ) diff --git a/tools/regression/xsl_reports/test/common.py b/tools/regression/xsl_reports/test/common.py new file mode 100644 index 0000000000..1b2445fbdc --- /dev/null +++ b/tools/regression/xsl_reports/test/common.py @@ -0,0 +1,163 @@ +import xml.sax.saxutils +import time + +def make_test_name( library_idx, test_idx ): + return "test_%02d_%02d" % ( library_idx, test_idx ) + +def make_library_name( library_idx ): + if library_idx % 4 in ( 0, 1 ): + return "library_%02d/%02d" % ( int( library_idx / 4 ) * 4, library_idx % 4 ) + else: + return "library_%02d" % library_idx + +def make_toolset_name( toolset_idx ): + return "toolset_%02d" % toolset_idx + +def make_library_target_directory( library_idx, toolset_idx, variant = None ): + base = "lib/%s/%s" % ( make_library_name( library_idx ) + , make_toolset_name( toolset_idx ) ) + if variant is not None: + return "%s/%s" % ( base, variant ) + else: + return base + +def make_test_target_directory( library_idx, toolset_idx, test_name, variant ): + base = "%s/%s/%s" % ( make_library_name( library_idx ) + , make_toolset_name( toolset_idx ) + , test_name ) + if variant is not None: + return "%s/%s" % ( base, variant ) + else: + return base + +def format_timestamp( timestamp ): + return time.strftime( "%Y-%m-%dT%H:%M:%SZ", timestamp ) + +def make_test_log( xml_generator + , library_idx + , toolset_idx + , test_name + , test_type + , test_result + , show_run_output + , variant ): + library = make_library_name( library_idx ) + toolset_name = make_toolset_name( toolset_idx ) + + target_directory = "" + if test_type != "lib": + target_directory = make_test_target_directory( library_idx, toolset_idx, test_name, variant ) + else: + target_directory = make_library_target_directory( library_idx, toolset_idx, variant ) + + xml_generator.startElement( "test-log", { "library": library + , "test-name": test_name + , "toolset": toolset_name + , "test-type": test_type + , "test-program": "some_program" + , "target-directory": target_directory + , "show-run-output": show_run_output + } ) + + if test_type != "lib": + + if test_result == "success" and ( toolset_idx + 1 ) % 4: + xml_generator.startElement( "compile", { "result": "success" } ); + xml_generator.characters( "Compiling in %s" % target_directory ) + xml_generator.endElement( "compile" ) + + if test_type.find( "link" ) == 0 or test_type.find( "run" ) == 0 and toolset_idx % 4: + xml_generator.startElement( "lib", { "result": test_result } ); + xml_generator.characters( make_library_target_directory( library_idx, toolset_idx ) ) + xml_generator.endElement( "lib" ) + + xml_generator.startElement( "link", { "result": "success" } ); + xml_generator.characters( "Linking in %s" % target_directory ) + xml_generator.endElement( "link" ) + + if test_type.find( "run" ) == 0 and ( toolset_idx + 2 ) % 4: + xml_generator.startElement( "run", { "result": test_result } ); + xml_generator.characters( "Running in %s" % target_directory ) + xml_generator.endElement( "run" ) + + else: + xml_generator.startElement( "compile", { "result": test_result } ); + xml_generator.characters( "Compiling in %s" % make_library_target_directory( library_idx, toolset_idx ) ) + xml_generator.endElement( "compile" ) + + + + xml_generator.endElement( "test-log" ) + + +def make_expicit_failure_markup( num_of_libs, num_of_toolsets, num_of_tests ): + g = xml.sax.saxutils.XMLGenerator( open( "explicit-failures-markup.xml", "w" ) ) + g.startElement( "explicit-failures-markup", {} ); + + # required toolsets + for i_toolset in range( 0, num_of_toolsets ): + if i_toolset < 2: + g.startElement( "mark-toolset", { "name": "toolset_%02d" % i_toolset, "status":"required"} ) + g.endElement( "mark-toolset" ) + + for i_library in range( 0, num_of_libs ): + g.startElement( "library", { "name": make_library_name( i_library ) } ) + if i_library % 4 == 0: + g.startElement( "mark-unusable", {} ) + for i_toolset in range( 0, num_of_toolsets ): + if i_toolset % 2 == 1: + g.startElement( "toolset", { "name": make_toolset_name( i_toolset ) } ) + g.endElement( "toolset" ) + g.startElement( "note", { "author": "T. Test" } ) + g.characters( "Test note" ) + g.endElement( "note" ) + g.endElement( "mark-unusable" ) + + for i_test in range( 0, num_of_tests ): + + category = 0 + explicitly_marked_failure = 0 + unresearched = 0 + + if i_test % 2 == 0: + category = i_test % 3 + + if i_test % 3 == 0: + explicitly_marked_failure = 1 + if i_test % 2 == 0: + unresearched = 1 + + if category or explicitly_marked_failure: + test_attrs = { "name": make_test_name( i_library, i_test ) } + if category: + test_attrs[ "category" ] = "Category %s" % category + g.startElement( "test", test_attrs ) + if explicitly_marked_failure: + failure_attrs = {} + if unresearched: failure_attrs[ "reason" ] = "not-researched" + + g.startElement( "mark-failure", failure_attrs ) + + g.startElement( "toolset", { "name": make_toolset_name( 1 ) } ) + g.endElement( "toolset" ) + g.startElement( "toolset", { "name": make_toolset_name( 0 ) } ) + g.endElement( "toolset" ) + g.startElement( "toolset", { "name": make_toolset_name( 2 ) } ) + g.endElement( "toolset" ) + + g.startElement( "note", { "author": "V. Annotated" } ) + g.characters( "Some thoughtful note" ) + g.endElement( "note" ) + + g.endElement( "mark-failure" ) + + g.endElement( "test" ); + g.endElement( "library" ) + + + g.endElement( "explicit-failures-markup" ) + + +def make_expected_results( num_of_libs, num_of_toolsets, num_of_tests ): + pass + diff --git a/tools/regression/xsl_reports/test/expected_results.xml b/tools/regression/xsl_reports/test/expected_results.xml new file mode 100644 index 0000000000..d9fdd26cc9 --- /dev/null +++ b/tools/regression/xsl_reports/test/expected_results.xml @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="utf-8"?> +<expected-failures> +</expected-failures> diff --git a/tools/regression/xsl_reports/test/generate_test_results.py b/tools/regression/xsl_reports/test/generate_test_results.py new file mode 100644 index 0000000000..db186ca937 --- /dev/null +++ b/tools/regression/xsl_reports/test/generate_test_results.py @@ -0,0 +1,158 @@ +# +# Generates test test results for testing of boost_wide_report.py +# +import common +import xml.sax.saxutils + +import os +import time + +num_of_libs = 5 +num_of_runners = 5 +num_of_toolsets = 3 +num_of_tests = 10 + +results_directory = "results/incoming/CVS-HEAD/processed" + + +# Generated results follow the rules: +# +# * odd runners are testing on Win32, even runners are testin on Unix +# * the third toolset has 2 variants +# + +# Generated expected markup: +# +# * First two toolset are required +# * Every fourth library is unusable on event toolsets +# * Last two tests are corner-ase tests +# * Every 4th test is explicitly marked up as expected-failure + + +def library_build_failed( library_idx ): + return library_idx % 2 + +def test_run_source( runner_idx ): + if runner_idx % 2: return "tarball" + else: return "cvs head" + +def test_run_type( runner_idx ): + if runner_idx % 2: return "incremental" + else: return "full" + + +def test_type( i ): + types = [ "compile", "compile_fail", "link", "link_fail", "run", "run_fail", "run_pyd" ] + return types[ i % len( types) ] + + +def make_test_results(): + if not os.path.exists( results_directory ): + os.makedirs( results_directory ) + + for i_runner in range( 0, num_of_runners ): + runner_id = "runner_%02d" % i_runner + g = xml.sax.saxutils.XMLGenerator( open( os.path.join( results_directory, runner_id + ".xml" ), "w" ) ) + if i_runner % 2: + platform = "Win32" + else: + platform = "Unix" + + g.startElement( "test-run", { "platform": platform + , "runner": runner_id + , "timestamp": common.format_timestamp( + time.gmtime( time.time() - i_runner * 24*60*60 ) + ) + , "source": test_run_source( i_runner ) + , "run-type": test_run_type( i_runner ) + } ) + + g.startElement( "comment", {} ) + g.characters( "<b>Runner</b> is who <i>running</i> does." ) + g.endElement( "comment" ) + + for i_lib in range( 0, num_of_libs ): + for i_toolset in range( num_of_toolsets ): + if library_build_failed( i_lib ): test_result = "fail" + else: test_result = "success" + + common.make_test_log( xml_generator = g + , library_idx = i_lib + , toolset_idx = i_toolset + , test_name = "" + , test_type = "lib" + , test_result = test_result + , show_run_output = "false" + , variant = None ) + + + for i_lib in range( 0, num_of_libs ): + library_name = "library_%02d" % i_lib + if num_of_runners - 1 == i_runner and i_lib % 2: + continue + + for i_toolset in range( num_of_toolsets ): + toolset_name = "toolset_%02d" % ( i_toolset ) + + if num_of_runners - 1 == i_runner and i_toolset % 2: + continue + + for i_test in range( num_of_tests ): + test_name = "test_%02d_%02d" % ( i_lib, i_test ) + test_result = "" + show_run_output = "false" + + if num_of_runners - 1 == i_runner and i_test % 2: + continue + + if i_runner % 2: test_result = "success" + else: test_result = "fail" + + if i_runner == 1 and i_toolset == 2 and i_test % 6 == 0: + test_result = "fail" + + if test_result == "success" and ( 0 == i_test % 5 ): + show_run_output = "true" + + if i_toolset == 2: + variants = [ "static-lib", "shared-lib" ] + else: + variants = [ None ] + + for variant in variants: + common.make_test_log( xml_generator = g + , library_idx = i_lib + , toolset_idx = i_toolset + , test_name = test_name + , test_type = test_type( i_test ) + , test_result = test_result + , show_run_output = show_run_output + , variant = variant ) + g.endElement( "test-run" ) + + + + +## <test-log library="algorithm" test-name="container" test-type="run" test-program="libs/algorithm/string/test/container_test.cpp" target-directory="bin/boost/libs/algorithm/string/test/container.test/borland-5.6.4/debug" toolset="borland-5.6.4" show-run-output="false"> +## <compile result="fail" timestamp="2004-06-29 17:02:27 UTC"> + +## "C:\Progra~1\Borland\CBuilder6\bin\bcc32" -j5 -g255 -q -c -P -w -Ve -Vx -a8 -b- -v -Od -vi- -tWC -tWR -tWC -WM- -DBOOST_ALL_NO_LIB=1 -w-8001 -I"C:\Users\Administrator\boost\main\results\bin\boost\libs\algorithm\string\test" -I"C:\Users\Administrator\boost\main\boost" -I"C:\Progra~1\Borland\CBuilder6\include" -o"C:\Users\Administrator\boost\main\results\bin\boost\libs\algorithm\string\test\container.test\borland-5.6.4\debug\container_test.obj" "..\libs\algorithm\string\test\container_test.cpp" + +## ..\libs\algorithm\string\test\container_test.cpp: +## Warning W8091 C:\Users\Administrator\boost\main\boost\libs/test/src/unit_test_result.cpp 323: template argument _InputIter passed to 'for_each' is a output iterator: input iterator required in function unit_test_result::~unit_test_result() +## Warning W8091 C:\Users\Administrator\boost\main\boost\libs/test/src/unit_test_suite.cpp 63: template argument _InputIter passed to 'find_if' is a output iterator: input iterator required in function test_case::Impl::check_dependencies() +## Warning W8091 C:\Users\Administrator\boost\main\boost\libs/test/src/unit_test_suite.cpp 204: template argument _InputIter passed to 'for_each' is a output iterator: input iterator required in function test_suite::~test_suite() +## Error E2401 C:\Users\Administrator\boost\main\boost\boost/algorithm/string/finder.hpp 45: Invalid template argument list +## Error E2040 C:\Users\Administrator\boost\main\boost\boost/algorithm/string/finder.hpp 46: Declaration terminated incorrectly +## Error E2090 C:\Users\Administrator\boost\main\boost\boost/algorithm/string/finder.hpp 277: Qualifier 'algorithm' is not a class or namespace name +## Error E2272 C:\Users\Administrator\boost\main\boost\boost/algorithm/string/finder.hpp 277: Identifier expected +## Error E2090 C:\Users\Administrator\boost\main\boost\boost/algorithm/string/finder.hpp 278: Qualifier 'algorithm' is not a class or namespace name +## Error E2228 C:\Users\Administrator\boost\main\boost\boost/algorithm/string/finder.hpp 278: Too many error or warning messages +## *** 6 errors in Compile *** +## </compile> +## </test-log> + + +make_test_results() +common.make_expicit_failure_markup( num_of_libs, num_of_toolsets, num_of_tests ) + diff --git a/tools/regression/xsl_reports/test/generate_test_results_v1.py b/tools/regression/xsl_reports/test/generate_test_results_v1.py new file mode 100644 index 0000000000..0f7f8f796a --- /dev/null +++ b/tools/regression/xsl_reports/test/generate_test_results_v1.py @@ -0,0 +1,85 @@ +import xml.sax.saxutils + +import common + +import os +import time + +num_of_libs = 2 +num_of_toolsets = 3 +num_of_tests = 10 + +tag = "1_30_0" + +def library_build_failed( library_idx ): + return library_idx % 2 + +def make_test_results(): + if not os.path.exists( tag ): + os.makedirs( tag ) + + g = xml.sax.saxutils.XMLGenerator( open( os.path.join( tag, "test.xml" ), "w" ) ) + platform = "Win32" + g.startElement( "test-results", {} ) + + for i_lib in range( 0, num_of_libs ): + for i_toolset in range( num_of_toolsets ): + if library_build_failed( i_lib ): test_result = "fail" + else: test_result = "success" + + common.make_test_log( xml_generator = g + , library_idx = i_lib + , toolset_idx = i_toolset + , test_name = "" + , test_type = "lib" + , test_result = test_result + , show_run_output = "false" ) + + + for i_lib in range( 0, num_of_libs ): + library_name = "library_%02d" % i_lib + + for i_toolset in range( num_of_toolsets ): + toolset_name = "toolset_%02d" % ( i_toolset ) + + for i_test in range( num_of_tests ): + test_name = "test_%02d_%02d" % ( i_lib, i_test ) + test_result = "" + test_type = "run" + show_run_output = "false" + + if i_lib % 2: test_result = "success" + else: test_result = "fail" + + if test_result == "success" and ( 0 == i_test % 5 ): + show_run_output = "true" + + common.make_test_log( g, i_lib, i_toolset, test_name, test_type, test_result, show_run_output ) + + g.endElement( "test-results" ) + + + + +## <test-log library="algorithm" test-name="container" test-type="run" test-program="libs/algorithm/string/test/container_test.cpp" target-directory="bin/boost/libs/algorithm/string/test/container.test/borland-5.6.4/debug" toolset="borland-5.6.4" show-run-output="false"> +## <compile result="fail" timestamp="2004-06-29 17:02:27 UTC"> + +## "C:\Progra~1\Borland\CBuilder6\bin\bcc32" -j5 -g255 -q -c -P -w -Ve -Vx -a8 -b- -v -Od -vi- -tWC -tWR -tWC -WM- -DBOOST_ALL_NO_LIB=1 -w-8001 -I"C:\Users\Administrator\boost\main\results\bin\boost\libs\algorithm\string\test" -I"C:\Users\Administrator\boost\main\boost" -I"C:\Progra~1\Borland\CBuilder6\include" -o"C:\Users\Administrator\boost\main\results\bin\boost\libs\algorithm\string\test\container.test\borland-5.6.4\debug\container_test.obj" "..\libs\algorithm\string\test\container_test.cpp" + +## ..\libs\algorithm\string\test\container_test.cpp: +## Warning W8091 C:\Users\Administrator\boost\main\boost\libs/test/src/unit_test_result.cpp 323: template argument _InputIter passed to 'for_each' is a output iterator: input iterator required in function unit_test_result::~unit_test_result() +## Warning W8091 C:\Users\Administrator\boost\main\boost\libs/test/src/unit_test_suite.cpp 63: template argument _InputIter passed to 'find_if' is a output iterator: input iterator required in function test_case::Impl::check_dependencies() +## Warning W8091 C:\Users\Administrator\boost\main\boost\libs/test/src/unit_test_suite.cpp 204: template argument _InputIter passed to 'for_each' is a output iterator: input iterator required in function test_suite::~test_suite() +## Error E2401 C:\Users\Administrator\boost\main\boost\boost/algorithm/string/finder.hpp 45: Invalid template argument list +## Error E2040 C:\Users\Administrator\boost\main\boost\boost/algorithm/string/finder.hpp 46: Declaration terminated incorrectly +## Error E2090 C:\Users\Administrator\boost\main\boost\boost/algorithm/string/finder.hpp 277: Qualifier 'algorithm' is not a class or namespace name +## Error E2272 C:\Users\Administrator\boost\main\boost\boost/algorithm/string/finder.hpp 277: Identifier expected +## Error E2090 C:\Users\Administrator\boost\main\boost\boost/algorithm/string/finder.hpp 278: Qualifier 'algorithm' is not a class or namespace name +## Error E2228 C:\Users\Administrator\boost\main\boost\boost/algorithm/string/finder.hpp 278: Too many error or warning messages +## *** 6 errors in Compile *** +## </compile> +## </test-log> + + +make_test_results( ) +common.make_expicit_failure_markup( num_of_libs, num_of_toolsets, num_of_tests ) diff --git a/tools/regression/xsl_reports/test/restrict_to_library.xsl b/tools/regression/xsl_reports/test/restrict_to_library.xsl new file mode 100644 index 0000000000..8de3354d84 --- /dev/null +++ b/tools/regression/xsl_reports/test/restrict_to_library.xsl @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="utf-8"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + + <xsl:output method="xml" encoding="ascii"/> + <xsl:param name="library"/> + + + <xsl:template match="/"> + <xsl:message> + <xsl:value-of select="$library"/> + </xsl:message> + <xsl:apply-templates/> + </xsl:template> + + <xsl:template match="*"> + <xsl:copy> + <xsl:apply-templates select="@*"/> + <xsl:apply-templates /> + </xsl:copy> + </xsl:template> + + <xsl:template match="test-log"> + <xsl:if test="@library=$library"> + <xsl:copy> + <xsl:apply-templates select="@*"/> + <xsl:apply-templates/> + </xsl:copy> + </xsl:if> + </xsl:template> + + <xsl:template match="@*"> + <xsl:copy-of select="."/> + </xsl:template> + +</xsl:stylesheet> diff --git a/tools/regression/xsl_reports/test/run_notes_regression.py b/tools/regression/xsl_reports/test/run_notes_regression.py new file mode 100644 index 0000000000..884dcfe9db --- /dev/null +++ b/tools/regression/xsl_reports/test/run_notes_regression.py @@ -0,0 +1,32 @@ +import sys + +sys.path.append( '..' ) + +import os + +import report +import merger +import utils + + +tag = "1_32_0" + +# utils.makedirs( "results" ) + +all_xml_file = "a.xml" + +report.make_result_pages( + test_results_file = os.path.abspath( all_xml_file ) + , expected_results_file = "" + , failures_markup_file = os.path.abspath( "../../../../status/explicit-failures-markup.xml" ) + , tag = tag + , run_date = "Today date" + , comment_file = os.path.abspath( "comment.html" ) + , results_dir = "results" + , result_prefix = "" + , reports = [ "dd" ] + , v2 = 1 + ) + + + diff --git a/tools/regression/xsl_reports/test/run_v1.py b/tools/regression/xsl_reports/test/run_v1.py new file mode 100644 index 0000000000..a995ed635d --- /dev/null +++ b/tools/regression/xsl_reports/test/run_v1.py @@ -0,0 +1,35 @@ +import sys + +sys.path.append( '..' ) + +import os + +import report +import merger +import utils + + +tag = "1_30_0" + +utils.makedirs( "results" ) + +all_xml_file = "results/all.xml" +all_xml_writer = open( all_xml_file, "w" ) +merger.merge_test_runs( ".", tag, all_xml_writer ) +all_xml_writer.close() + +report.make_result_pages( + test_results_file = os.path.abspath( all_xml_file ) + , expected_results_file = "" + , failures_markup_file = os.path.abspath( "explicit-failures-markup.xml" ) + , source = tag + , run_date = "Today date" + , comment_file = os.path.abspath( "comment.html" ) + , results_dir = os.path.abspath( "results" ) + , result_prefix = "" + , reports = [ "l", "dd" ] + , v2 = 0 + ) + + + diff --git a/tools/regression/xsl_reports/test/test-components/test.py b/tools/regression/xsl_reports/test/test-components/test.py new file mode 100644 index 0000000000..8204f72082 --- /dev/null +++ b/tools/regression/xsl_reports/test/test-components/test.py @@ -0,0 +1,87 @@ +import new +import os +import unittest +import sys + +sys.path.append( os.path.normpath( os.path.join( os.path.abspath( os.path.dirname( __file__ ) ), '../..' ) ) ) + +import utils.libxslt + +#1. collect test_cases +#2. Add test cases to test suite +#3. Run test cases + +class test_case_definition: + def __init__(self, root, name ): + self._root = root + self._name = name + + def root(self): + return self._root + + def name(self): + return self._name + + def path(self): + return os.path.join( self._root, self._name ) + + def xsl_driver( self ): + return os.path.join( self.path(), 'test-driver.xsl' ) + + def xml_data_files( self ): + data_files = [ x for x in os.listdir( self.path() ) if os.path.splitext( x )[1] == '.xml' ] + return data_files + +def collect_test_cases(): + test_cases_dir = os.path.join( os.path.dirname( __file__ ) ) + test_cases = os.listdir( test_cases_dir ) + def is_disabled( test_case ): + return os.path.exists( os.path.join( test_case, '.disabled' ) ) + return [ test_case_definition( test_cases_dir, x ) for x in test_cases if os.path.isdir( os.path.join( test_cases_dir, x ) ) and not is_disabled(x) ] + +def log( msg ): + print msg + +def read_file_lines( path ): + f = open( path ) + try: + return f.readlines() + finally: + f.close() + +def write_file_lines( path, content ): + f = open( path, 'w' ) + try: + return f.writelines( content ) + finally: + f.close() + +def make_test_case( test_case ): + def test_case_method( self ): + for test_case_xml in test_case.xml_data_files(): + print test_case_xml + result_file_name = os.path.splitext( os.path.basename( test_case_xml ) )[0] + '.xml' + ( result_file, expected_file ) = [ os.path.join( test_case.path(), x, result_file_name ) for x in ( 'actual', 'expected' ) ] + print ( result_file, expected_file ) + saved_cwd = os.getcwd() + try: + os.chdir( test_case.path() ) + utils.libxslt( log, test_case_xml, test_case.xsl_driver(), result_file ) + finally: + os.chdir( saved_cwd ) + self.failUnlessEqual( read_file_lines( expected_file ), read_file_lines( result_file ) ) + test_case_method.__name__ = test_case.name() + return test_case_method + +class test_components(unittest.TestCase): + pass + +if __name__ == '__main__': + for test_case in collect_test_cases(): + print test_case.name() + setattr( test_components, test_case.name(), make_test_case(test_case) ) + unittest.main() + + + +
\ No newline at end of file diff --git a/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/compile-fail.xml b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/compile-fail.xml new file mode 100644 index 0000000000..f59d83ab53 --- /dev/null +++ b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/compile-fail.xml @@ -0,0 +1,15 @@ +<tests> +<test-log library="mpl" test-name="apply" test-type="compile" test-program="libs/mpl/test/apply.cpp" target-directory="boost/bin.v2/libs/mpl/test/apply.test/gcc-4.1.1_sunos_i86pc/debug/debug-symbols-off" toolset="gcc-4.1.1_sunos_i86pc" show-run-output="false"> +<compile result="fail" timestamp="2007-01-28 11:58:42 UTC"> + + "/openpkg/bin/g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -fPIC -DBOOST_ALL_NO_LIB=1 -I".." -c -o "/home/cae/boost-regression/RC_1_34_0/results/boost/bin.v2/libs/mpl/test/apply.test/gcc-4.1.1_sunos_i86pc/debug/debug-symbols-off/apply.o" "../libs/mpl/test/apply.cpp" + +../boost/mpl/aux_/preprocessed/gcc/template_arity.hpp: In instantiation of 'boost::mpl::aux::template_arity<T1>': +../libs/mpl/test/apply.cpp:63: instantiated from here +../boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:98: internal compiler error: Segmentation Fault +Please submit a full bug report, +with preprocessed source if appropriate. +See <URL:http://www.openpkg.org/> for instructions. +</compile> +</test-log> +</tests>
\ No newline at end of file diff --git a/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/completed.xml b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/completed.xml new file mode 100644 index 0000000000..ebd8639fbb --- /dev/null +++ b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/completed.xml @@ -0,0 +1,31 @@ +<tests> +<test-log library="algorithm/minmax" test-program="libs/algorithm/minmax/test/minmax_test.cpp" show-run-output="false" toolset="msvc-6.5~release" test-type="run" test-name="minmax" target-directory="boost/bin.v2/libs/algorithm/minmax/test/minmax.test/msvc-6.5~release/release/threading-multi" result="success" expected-result="success" expected-reason="" status="expected" is-new="yes" category="0"><notes/> +<compile timestamp="2007-01-16 06:43:40 UTC" result="succeed"> +call "c:\Program Files\Microsoft Visual Studio\VC98\Bin\VCVARS32.BAT" >nul +cl /Zm800 -nologo @"g:\boost\rc-1-34\results\boost\bin.v2\libs\algorithm\minmax\test\minmax.test\msvc-6.5~release\release\threading-multi\minmax_test.obj.rsp" + +minmax_test.cpp + +file g:\boost\rc-1-34\results\boost\bin.v2\libs\algorithm\minmax\test\minmax.test\msvc-6.5~release\release\threading-multi\minmax.exe.rsp + +"g:\boost\rc-1-34\results\boost\bin.v2\libs\algorithm\minmax\test\minmax.test\msvc-6.5~release\release\threading-multi\minmax_test.obj" + +</compile> +<link timestamp="2007-01-16 06:43:40 UTC" result="succeed"> +call "c:\Program Files\Microsoft Visual Studio\VC98\Bin\VCVARS32.BAT" >nul +link /NOLOGO /INCREMENTAL:NO /subsystem:console /out:"g:\boost\rc-1-34\results\boost\bin.v2\libs\algorithm\minmax\test\minmax.test\msvc-6.5~release\release\threading-multi\minmax.exe" @"g:\boost\rc-1-34\results\boost\bin.v2\libs\algorithm\minmax\test\minmax.test\msvc-6.5~release\release\threading-multi\minmax.exe.rsp" + if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL% + if exist "g:\boost\rc-1-34\results\boost\bin.v2\libs\algorithm\minmax\test\minmax.test\msvc-6.5~release\release\threading-multi\minmax.exe.manifest" ( + mt -nologo -manifest "g:\boost\rc-1-34\results\boost\bin.v2\libs\algorithm\minmax\test\minmax.test\msvc-6.5~release\release\threading-multi\minmax.exe.manifest" "-outputresource:g:\boost\rc-1-34\results\boost\bin.v2\libs\algorithm\minmax\test\minmax.test\msvc-6.5~release\release\threading-multi\minmax.exe;1" + ) + +</link> +<run timestamp="2007-01-16 06:43:40 UTC" result="succeed"> +Running 1 test case... + +*** No errors detected + +EXIT STATUS: 0 +</run> +</test-log> +</tests>
\ No newline at end of file diff --git a/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/expected/compile-fail.xml b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/expected/compile-fail.xml new file mode 100644 index 0000000000..83afaeee9c --- /dev/null +++ b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/expected/compile-fail.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<tests> +<result name="apply" target-directory="boost/bin.v2/libs/mpl/test/apply.test/gcc-4.1.1_sunos_i86pc/debug/debug-symbols-off" result="true"/> +</tests> diff --git a/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/expected/completed.xml b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/expected/completed.xml new file mode 100644 index 0000000000..2f0fb285cd --- /dev/null +++ b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/expected/completed.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<tests> +<result name="minmax" target-directory="boost/bin.v2/libs/algorithm/minmax/test/minmax.test/msvc-6.5~release/release/threading-multi" result="true"/> +</tests> diff --git a/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/expected/lib.xml b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/expected/lib.xml new file mode 100644 index 0000000000..d84643fdf4 --- /dev/null +++ b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/expected/lib.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<tests> +<result name="" target-directory="boost/bin.v2/libs/date_time/build/borland-5.8.2/debug" result="true"/> +<result name="" target-directory="boost/bin.v2/libs/date_time/build/borland-5.8.2/debug" result="false"/> +</tests> diff --git a/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/expected/misfire.xml b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/expected/misfire.xml new file mode 100644 index 0000000000..17448b2f36 --- /dev/null +++ b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/expected/misfire.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<tests> +<result name="config_link_test" target-directory="status/config_link_test.test/borland-5.8.2/debug" result="false"/> +</tests> diff --git a/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/expected/no-run.xml b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/expected/no-run.xml new file mode 100644 index 0000000000..f024ec5fa9 --- /dev/null +++ b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/expected/no-run.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<tests> +<result name="minmax" target-directory="boost/bin.v2/libs/algorithm/minmax/test/minmax.test/msvc-6.5~release/release/threading-multi" result="false"/> +</tests> diff --git a/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/expected/run_pyd.xml b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/expected/run_pyd.xml new file mode 100644 index 0000000000..551c8b8027 --- /dev/null +++ b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/expected/run_pyd.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<tests> +<result name="python_test" target-directory="boost/bin.v2/libs/parameter/test/python_test.test/msvc-8.0/rls/adrs-mdl-64/instr-set-optrn/thrd-mlt" result="true"/> +<result name="python_test" target-directory="boost/bin.v2/libs/parameter/test/python_test.test/msvc-8.0/rls/adrs-mdl-64/instr-set-optrn/thrd-mlt" result="false"/> + +</tests> diff --git a/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/expected/test-case.xml b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/expected/test-case.xml new file mode 100644 index 0000000000..904ccbf989 --- /dev/null +++ b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/expected/test-case.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<tests> +<result name="" target-directory="libs/config/test/link/borland-5.8.2/debug" result="true"/> +<result name="config_link_test" target-directory="status/config_link_test.test/borland-5.8.2/debug" result="true"/> +</tests> diff --git a/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/lib.xml b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/lib.xml new file mode 100644 index 0000000000..33627efe58 --- /dev/null +++ b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/lib.xml @@ -0,0 +1,42 @@ +<tests> +<test-log library="date_time" test-program="" show-run-output="true" toolset="borland-5.8.2" test-type="lib" test-name="" target-directory="boost/bin.v2/libs/date_time/build/borland-5.8.2/debug"> +<compile timestamp="2007-01-30 00:50:48 UTC" result="succeed"> +"C:/Programme/Borland/BDS/4.0/Bin/bcc32.exe" -j5 -g255 -q -c -P -Ve -Vx -a8 -b- -IX:/spirit-1.6.3/boost -v -Od -tWC -tWR -tWC -tWD -WM- -DBOOST_ALL_DYN_LINK=1 -DBOOST_ALL_NO_LIB=1 -DDATE_TIME_INLINE -I".." -I"C:/Programme/Borland/BDS/4.0/include/" -o"X:\boost-regression\results\boost\bin.v2\libs\date_time\build\borland-5.8.2\debug\date_generators.obj" "..\libs\date_time\src\gregorian\date_generators.cpp" + +..\libs\date_time\src\gregorian\date_generators.cpp: + +file X:\boost-regression\results\boost\bin.v2\libs\date_time\build\borland-5.8.2\debug\boost_date_time-bcb-d-1_34.dll.rsp + +"X:\boost-regression\results\boost\bin.v2\libs\date_time\build\borland-5.8.2\debug\greg_month.obj" + +"X:\boost-regression\results\boost\bin.v2\libs\date_time\build\borland-5.8.2\debug\greg_weekday.obj" + +"X:\boost-regression\results\boost\bin.v2\libs\date_time\build\borland-5.8.2\debug\date_generators.obj" + +</compile> +<link timestamp="2007-01-30 00:50:48 UTC" result="succeed"> + + set "PATH=C:/Programme/Borland/BDS/4.0/bin/;%PATH%" + "C:/Programme/Borland/BDS/4.0/Bin/bcc32.exe" -v -q -v -v -tWD -tWC -tWR -tWC -tWD -WM- -L"C:/Programme/Borland/BDS/4.0/lib" -e"X:\boost-regression\results\boost\bin.v2\libs\date_time\build\borland-5.8.2\debug\boost_date_time-bcb-d-1_34.dll" @"X:\boost-regression\results\boost\bin.v2\libs\date_time\build\borland-5.8.2\debug\boost_date_time-bcb-d-1_34.dll.rsp" && "C:/Programme/Borland/BDS/4.0/bin/implib" "X:\boost-regression\results\boost\bin.v2\libs\date_time\build\borland-5.8.2\debug\boost_date_time-bcb-d-1_34.lib" "X:\boost-regression\results\boost\bin.v2\libs\date_time\build\borland-5.8.2\debug\boost_date_time-bcb-d-1_34.dll" + + +Borland Implib Version 3.0.22 Copyright (c) 1991, 2000 Inprise Corporation +</link> +</test-log> +<test-log library="date_time" test-program="" show-run-output="true" toolset="borland-5.8.2" test-type="lib" test-name="" target-directory="boost/bin.v2/libs/date_time/build/borland-5.8.2/debug"> +<compile timestamp="2007-01-30 00:50:48 UTC" result="succeed"> +"C:/Programme/Borland/BDS/4.0/Bin/bcc32.exe" -j5 -g255 -q -c -P -Ve -Vx -a8 -b- -IX:/spirit-1.6.3/boost -v -Od -tWC -tWR -tWC -tWD -WM- -DBOOST_ALL_DYN_LINK=1 -DBOOST_ALL_NO_LIB=1 -DDATE_TIME_INLINE -I".." -I"C:/Programme/Borland/BDS/4.0/include/" -o"X:\boost-regression\results\boost\bin.v2\libs\date_time\build\borland-5.8.2\debug\date_generators.obj" "..\libs\date_time\src\gregorian\date_generators.cpp" + +..\libs\date_time\src\gregorian\date_generators.cpp: + +file X:\boost-regression\results\boost\bin.v2\libs\date_time\build\borland-5.8.2\debug\boost_date_time-bcb-d-1_34.dll.rsp + +"X:\boost-regression\results\boost\bin.v2\libs\date_time\build\borland-5.8.2\debug\greg_month.obj" + +"X:\boost-regression\results\boost\bin.v2\libs\date_time\build\borland-5.8.2\debug\greg_weekday.obj" + +"X:\boost-regression\results\boost\bin.v2\libs\date_time\build\borland-5.8.2\debug\date_generators.obj" + +</compile> +</test-log> +</tests>
\ No newline at end of file diff --git a/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/misfire.xml b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/misfire.xml new file mode 100644 index 0000000000..1337f78966 --- /dev/null +++ b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/misfire.xml @@ -0,0 +1,16 @@ +<tests> +<test-log library="config" test-name="config_link_test" test-type="run" test-program="libs/config/test/link/main.cpp" target-directory="status/config_link_test.test/borland-5.8.2/debug" toolset="borland-5.8.2" show-run-output="false"> +<compile result="succeed" timestamp="xxx"> +"c:/progra~1/borland/bds/4.0/bin/bcc32.exe" -j5 -g255 -q -c -P -Ve -Vx -a8 -b- -v -Od -tWC -tWR -tWC -WM- -DBOOST_ALL_NO_LIB=1 -DBOOST_CONFIG_NO_LIB=1 -DBOOST_DYN_LINK=1 -I".." -I"c:/progra~1/borland/bds/4.0/include/" -o"C:\Users\Misha\Stuff\boost\RC_1_34_0\boost\tools\regression\test\test-cases\borland\actual\status\config_link_test.test\borland-5.8.2\debug\main.obj" "g:\boost\rc-1-34\boost\libs\config\test\link\main.cpp" + +g:\boost\rc-1-34\boost\libs\config\test\link\main.cpp: +</compile> +<link result="fail" timestamp="xxx"> +set "PATH=c:/progra~1/borland/bds/4.0/bin/;%PATH%" + "c:/progra~1/borland/bds/4.0/bin/bcc32.exe" -v -q -v -v -tWD -tWC -tWR -tWC -WM- -L"c:/progra~1/borland/bds/4.0/lib" -e"C:\Users\Misha\Stuff\boost\RC_1_34_0\boost\tools\regression\test\test-cases\borland\actual\status\config_link_test.test\borland-5.8.2\debug\config_link_test.exe" @"C:\Users\Misha\Stuff\boost\RC_1_34_0\boost\tools\regression\test\test-cases\borland\actual\status\config_link_test.test\borland-5.8.2\debug\config_link_test.exe.rsp" + +</link> +<run result="succeed" timestamp="xxx"> +</run> +</test-log> +</tests>
\ No newline at end of file diff --git a/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/no-run.xml b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/no-run.xml new file mode 100644 index 0000000000..1c277576a7 --- /dev/null +++ b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/no-run.xml @@ -0,0 +1,24 @@ +<tests> +<test-log library="algorithm/minmax" test-program="libs/algorithm/minmax/test/minmax_test.cpp" show-run-output="false" toolset="msvc-6.5~release" test-type="run" test-name="minmax" target-directory="boost/bin.v2/libs/algorithm/minmax/test/minmax.test/msvc-6.5~release/release/threading-multi" result="success" expected-result="success" expected-reason="" status="expected" is-new="yes" category="0"><notes/> +<compile timestamp="2007-01-16 06:43:40 UTC" result="succeed"> +call "c:\Program Files\Microsoft Visual Studio\VC98\Bin\VCVARS32.BAT" >nul +cl /Zm800 -nologo @"g:\boost\rc-1-34\results\boost\bin.v2\libs\algorithm\minmax\test\minmax.test\msvc-6.5~release\release\threading-multi\minmax_test.obj.rsp" + +minmax_test.cpp + +file g:\boost\rc-1-34\results\boost\bin.v2\libs\algorithm\minmax\test\minmax.test\msvc-6.5~release\release\threading-multi\minmax.exe.rsp + +"g:\boost\rc-1-34\results\boost\bin.v2\libs\algorithm\minmax\test\minmax.test\msvc-6.5~release\release\threading-multi\minmax_test.obj" + +</compile> +<link timestamp="2007-01-16 06:43:40 UTC" result="succeed"> +call "c:\Program Files\Microsoft Visual Studio\VC98\Bin\VCVARS32.BAT" >nul +link /NOLOGO /INCREMENTAL:NO /subsystem:console /out:"g:\boost\rc-1-34\results\boost\bin.v2\libs\algorithm\minmax\test\minmax.test\msvc-6.5~release\release\threading-multi\minmax.exe" @"g:\boost\rc-1-34\results\boost\bin.v2\libs\algorithm\minmax\test\minmax.test\msvc-6.5~release\release\threading-multi\minmax.exe.rsp" + if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL% + if exist "g:\boost\rc-1-34\results\boost\bin.v2\libs\algorithm\minmax\test\minmax.test\msvc-6.5~release\release\threading-multi\minmax.exe.manifest" ( + mt -nologo -manifest "g:\boost\rc-1-34\results\boost\bin.v2\libs\algorithm\minmax\test\minmax.test\msvc-6.5~release\release\threading-multi\minmax.exe.manifest" "-outputresource:g:\boost\rc-1-34\results\boost\bin.v2\libs\algorithm\minmax\test\minmax.test\msvc-6.5~release\release\threading-multi\minmax.exe;1" + ) + +</link> +</test-log> +</tests>
\ No newline at end of file diff --git a/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/run_pyd.xml b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/run_pyd.xml new file mode 100644 index 0000000000..f2ccfa807c --- /dev/null +++ b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/run_pyd.xml @@ -0,0 +1,57 @@ +<tests> +<test-log library="parameter" test-program="libs/parameter/test/python_test.py" show-run-output="false" toolset="msvc-8.0" test-type="run_pyd" test-name="python_test" target-directory="boost/bin.v2/libs/parameter/test/python_test.test/msvc-8.0/rls/adrs-mdl-64/instr-set-optrn/thrd-mlt"> +<compile timestamp="2007-01-30 05:09:28 UTC" result="succeed"> +call "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\vcvarsall.bat" amd64 >nul +cl /Zm800 -nologo @"Z:\results\boost\bin.v2\libs\parameter\test\python_test.test\msvc-8.0\rls\adrs-mdl-64\instr-set-optrn\thrd-mlt\python_test.obj.rsp" + +python_test.cpp + +file Z:\results\boost\bin.v2\libs\parameter\test\python_test.test\msvc-8.0\rls\adrs-mdl-64\instr-set-optrn\thrd-mlt\python_test_ext.pyd.rsp + +"Z:\results\boost\bin.v2\libs\parameter\test\python_test.test\msvc-8.0\rls\adrs-mdl-64\instr-set-optrn\thrd-mlt\python_test.obj" + +"Z:\results\boost\bin.v2\libs\python\build\msvc-8.0\rls\adrs-mdl-64\instr-set-optrn\thrd-mlt\boost_python-vc80-mt-1_34.lib" + +</compile> +<link timestamp="2007-01-30 05:09:28 UTC" result="succeed"> +call "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\vcvarsall.bat" amd64 >nul +link /NOLOGO /INCREMENTAL:NO /DLL /subsystem:console /out:"Z:\results\boost\bin.v2\libs\parameter\test\python_test.test\msvc-8.0\rls\adrs-mdl-64\instr-set-optrn\thrd-mlt\python_test_ext.pyd" /IMPLIB:"Z:\results\boost\bin.v2\libs\parameter\test\python_test.test\msvc-8.0\rls\adrs-mdl-64\instr-set-optrn\thrd-mlt\python_test_ext-vc80-mt-1_34.lib" /LIBPATH:"c:\python25\libs" @"Z:\results\boost\bin.v2\libs\parameter\test\python_test.test\msvc-8.0\rls\adrs-mdl-64\instr-set-optrn\thrd-mlt\python_test_ext.pyd.rsp" + if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL% + if exist "Z:\results\boost\bin.v2\libs\parameter\test\python_test.test\msvc-8.0\rls\adrs-mdl-64\instr-set-optrn\thrd-mlt\python_test_ext.pyd.manifest" ( + mt -nologo -manifest "Z:\results\boost\bin.v2\libs\parameter\test\python_test.test\msvc-8.0\rls\adrs-mdl-64\instr-set-optrn\thrd-mlt\python_test_ext.pyd.manifest" "-outputresource:Z:\results\boost\bin.v2\libs\parameter\test\python_test.test\msvc-8.0\rls\adrs-mdl-64\instr-set-optrn\thrd-mlt\python_test_ext.pyd;2" + ) + + Creating library Z:\results\boost\bin.v2\libs\parameter\test\python_test.test\msvc-8.0\rls\adrs-mdl-64\instr-set-optrn\thrd-mlt\python_test_ext-vc80-mt-1_34.lib and object Z:\results\boost\bin.v2\libs\parameter\test\python_test.test\msvc-8.0\rls\adrs-mdl-64\instr-set-optrn\thrd-mlt\python_test_ext-vc80-mt-1_34.exp +</link> +<run timestamp="2007-01-30 05:09:28 UTC" result="succeed"> + +EXIT STATUS: 0 +</run> +</test-log> +<test-log library="parameter" test-program="libs/parameter/test/python_test.py" show-run-output="false" toolset="msvc-8.0" test-type="run_pyd" test-name="python_test" target-directory="boost/bin.v2/libs/parameter/test/python_test.test/msvc-8.0/rls/adrs-mdl-64/instr-set-optrn/thrd-mlt"> +<compile timestamp="2007-01-30 05:09:28 UTC" result="succeed"> +call "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\vcvarsall.bat" amd64 >nul +cl /Zm800 -nologo @"Z:\results\boost\bin.v2\libs\parameter\test\python_test.test\msvc-8.0\rls\adrs-mdl-64\instr-set-optrn\thrd-mlt\python_test.obj.rsp" + +python_test.cpp + +file Z:\results\boost\bin.v2\libs\parameter\test\python_test.test\msvc-8.0\rls\adrs-mdl-64\instr-set-optrn\thrd-mlt\python_test_ext.pyd.rsp + +"Z:\results\boost\bin.v2\libs\parameter\test\python_test.test\msvc-8.0\rls\adrs-mdl-64\instr-set-optrn\thrd-mlt\python_test.obj" + +"Z:\results\boost\bin.v2\libs\python\build\msvc-8.0\rls\adrs-mdl-64\instr-set-optrn\thrd-mlt\boost_python-vc80-mt-1_34.lib" + +</compile> +<link timestamp="2007-01-30 05:09:28 UTC" result="succeed"> +call "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\vcvarsall.bat" amd64 >nul +link /NOLOGO /INCREMENTAL:NO /DLL /subsystem:console /out:"Z:\results\boost\bin.v2\libs\parameter\test\python_test.test\msvc-8.0\rls\adrs-mdl-64\instr-set-optrn\thrd-mlt\python_test_ext.pyd" /IMPLIB:"Z:\results\boost\bin.v2\libs\parameter\test\python_test.test\msvc-8.0\rls\adrs-mdl-64\instr-set-optrn\thrd-mlt\python_test_ext-vc80-mt-1_34.lib" /LIBPATH:"c:\python25\libs" @"Z:\results\boost\bin.v2\libs\parameter\test\python_test.test\msvc-8.0\rls\adrs-mdl-64\instr-set-optrn\thrd-mlt\python_test_ext.pyd.rsp" + if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL% + if exist "Z:\results\boost\bin.v2\libs\parameter\test\python_test.test\msvc-8.0\rls\adrs-mdl-64\instr-set-optrn\thrd-mlt\python_test_ext.pyd.manifest" ( + mt -nologo -manifest "Z:\results\boost\bin.v2\libs\parameter\test\python_test.test\msvc-8.0\rls\adrs-mdl-64\instr-set-optrn\thrd-mlt\python_test_ext.pyd.manifest" "-outputresource:Z:\results\boost\bin.v2\libs\parameter\test\python_test.test\msvc-8.0\rls\adrs-mdl-64\instr-set-optrn\thrd-mlt\python_test_ext.pyd;2" + ) + + Creating library Z:\results\boost\bin.v2\libs\parameter\test\python_test.test\msvc-8.0\rls\adrs-mdl-64\instr-set-optrn\thrd-mlt\python_test_ext-vc80-mt-1_34.lib and object Z:\results\boost\bin.v2\libs\parameter\test\python_test.test\msvc-8.0\rls\adrs-mdl-64\instr-set-optrn\thrd-mlt\python_test_ext-vc80-mt-1_34.exp +</link> +</test-log> + +</tests>
\ No newline at end of file diff --git a/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/test-case.xml b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/test-case.xml new file mode 100644 index 0000000000..4461b25ec7 --- /dev/null +++ b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/test-case.xml @@ -0,0 +1,43 @@ +<tests> +<test-log library="config" test-name="" test-type="" test-program="" target-directory="libs/config/test/link/borland-5.8.2/debug" toolset="" show-run-output="true"> +<compile result="succeed" timestamp="xxx"> +"c:/progra~1/borland/bds/4.0/bin/bcc32.exe" -j5 -g255 -q -c -P -Ve -Vx -a8 -b- -v -Od -tWC -tWR -tWC -tWD -WM- -DBOOST_ALL_NO_LIB=1 -DBOOST_DYN_LINK=1 -I".." -I"c:/progra~1/borland/bds/4.0/include/" -o"C:\Users\Misha\Stuff\boost\RC_1_34_0\boost\tools\regression\test\test-cases\borland\actual\libs\config\test\link\borland-5.8.2\debug\link_test.obj" "..\libs\config\test\link\link_test.cpp" + +..\libs\config\test\link\link_test.cpp: + +file C:\Users\Misha\Stuff\boost\RC_1_34_0\boost\tools\regression\test\test-cases\borland\actual\libs\config\test\link\borland-5.8.2\debug\link_test-bcb-d-1_34.dll.rsp + +"C:\Users\Misha\Stuff\boost\RC_1_34_0\boost\tools\regression\test\test-cases\borland\actual\libs\config\test\link\borland-5.8.2\debug\link_test.obj" + +</compile> +<link result="succeed" timestamp="xxx"> + + set "PATH=c:/progra~1/borland/bds/4.0/bin/;%PATH%" + "c:/progra~1/borland/bds/4.0/bin/bcc32.exe" -v -q -v -v -tWD -tWC -tWR -tWC -tWD -WM- -L"c:/progra~1/borland/bds/4.0/lib" -e"C:\Users\Misha\Stuff\boost\RC_1_34_0\boost\tools\regression\test\test-cases\borland\actual\libs\config\test\link\borland-5.8.2\debug\link_test-bcb-d-1_34.dll" @"C:\Users\Misha\Stuff\boost\RC_1_34_0\boost\tools\regression\test\test-cases\borland\actual\libs\config\test\link\borland-5.8.2\debug\link_test-bcb-d-1_34.dll.rsp" && "c:/progra~1/borland/bds/4.0/bin/implib" "C:\Users\Misha\Stuff\boost\RC_1_34_0\boost\tools\regression\test\test-cases\borland\actual\libs\config\test\link\borland-5.8.2\debug\link_test-bcb-d-1_34.lib" "C:\Users\Misha\Stuff\boost\RC_1_34_0\boost\tools\regression\test\test-cases\borland\actual\libs\config\test\link\borland-5.8.2\debug\link_test-bcb-d-1_34.dll" + + +Borland Implib Version 3.0.22 Copyright (c) 1991, 2000 Inprise Corporation + +file C:\Users\Misha\Stuff\boost\RC_1_34_0\boost\tools\regression\test\test-cases\borland\actual\status\config_link_test.test\borland-5.8.2\debug\config_link_test.exe.rsp + +"C:\Users\Misha\Stuff\boost\RC_1_34_0\boost\tools\regression\test\test-cases\borland\actual\status\config_link_test.test\borland-5.8.2\debug\main.obj" + +"C:\Users\Misha\Stuff\boost\RC_1_34_0\boost\tools\regression\test\test-cases\borland\actual\libs\config\test\link\borland-5.8.2\debug\link_test-bcb-d-1_34.lib" + +</link> +</test-log> +<test-log library="config" test-name="config_link_test" test-type="run" test-program="libs/config/test/link/main.cpp" target-directory="status/config_link_test.test/borland-5.8.2/debug" toolset="borland-5.8.2" show-run-output="false"> +<compile result="succeed" timestamp="xxx"> +"c:/progra~1/borland/bds/4.0/bin/bcc32.exe" -j5 -g255 -q -c -P -Ve -Vx -a8 -b- -v -Od -tWC -tWR -tWC -WM- -DBOOST_ALL_NO_LIB=1 -DBOOST_CONFIG_NO_LIB=1 -DBOOST_DYN_LINK=1 -I".." -I"c:/progra~1/borland/bds/4.0/include/" -o"C:\Users\Misha\Stuff\boost\RC_1_34_0\boost\tools\regression\test\test-cases\borland\actual\status\config_link_test.test\borland-5.8.2\debug\main.obj" "g:\boost\rc-1-34\boost\libs\config\test\link\main.cpp" + +g:\boost\rc-1-34\boost\libs\config\test\link\main.cpp: +</compile> +<link result="succeed" timestamp="xxx"> +set "PATH=c:/progra~1/borland/bds/4.0/bin/;%PATH%" + "c:/progra~1/borland/bds/4.0/bin/bcc32.exe" -v -q -v -v -tWD -tWC -tWR -tWC -WM- -L"c:/progra~1/borland/bds/4.0/lib" -e"C:\Users\Misha\Stuff\boost\RC_1_34_0\boost\tools\regression\test\test-cases\borland\actual\status\config_link_test.test\borland-5.8.2\debug\config_link_test.exe" @"C:\Users\Misha\Stuff\boost\RC_1_34_0\boost\tools\regression\test\test-cases\borland\actual\status\config_link_test.test\borland-5.8.2\debug\config_link_test.exe.rsp" + +</link> +<run result="succeed" timestamp="xxx"> +</run> +</test-log> +</tests>
\ No newline at end of file diff --git a/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/test-driver.xsl b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/test-driver.xsl new file mode 100644 index 0000000000..4db218926a --- /dev/null +++ b/tools/regression/xsl_reports/test/test-components/test_is_test_log_complete/test-driver.xsl @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" + xmlns:func="http://exslt.org/functions" + xmlns:meta="http://www.meta-comm.com" + extension-element-prefixes="func" + exclude-result-prefixes="func meta"> + + <xsl:import href="../../../xsl/v2/add_expected_results.xsl"/> + + <xsl:template match="/"> + <xsl:apply-templates/> + </xsl:template> + + <xsl:template match="//test-log"> + <xsl:variable name="is_complete" select="meta:is_test_log_complete( . )"/> + <result name="{@test-name}" target-directory="{@target-directory}" result="{$is_complete}" /> + </xsl:template> + +</xsl:stylesheet> diff --git a/tools/regression/xsl_reports/test/test-components/test_re_match/expected/test_re_match.xml b/tools/regression/xsl_reports/test/test-components/test_re_match/expected/test_re_match.xml new file mode 100644 index 0000000000..9e959887c0 --- /dev/null +++ b/tools/regression/xsl_reports/test/test-components/test_re_match/expected/test_re_match.xml @@ -0,0 +1,48 @@ +<?xml version="1.0"?> + + +<result regex="" text="" result="true"/> +<result regex="pattern" text="pattern" result="true"/> +<result regex="" text="pattern" result="false"/> +<result regex="pattern" text="" result="false"/> + +<result regex="*" text="" result="true"/> +<result regex="*" text="pattern" result="true"/> + +<result regex="*pattern*" text="" result="false"/> +<result regex="*pattern*" text="__pattern__" result="true"/> +<result regex="*pattern*" text="pattern" result="true"/> +<result regex="*pattern*" text="patter" result="false"/> +<result regex="*pattern*" text="patte__" result="false"/> +<result regex="*pattern*" text="attern" result="false"/> +<result regex="*pattern*" text="__ttern" result="false"/> + +<result regex="*pattern" text="" result="false"/> +<result regex="*pattern" text="__pattern" result="true"/> +<result regex="*pattern" text="pattern" result="true"/> +<result regex="*pattern" text="pattern__" result="false"/> +<result regex="*pattern" text="patter" result="false"/> +<result regex="*pattern" text="patte__" result="false"/> +<result regex="*pattern" text="attern" result="false"/> +<result regex="*pattern" text="__ttern" result="false"/> + +<result regex="pattern*" text="" result="false"/> +<result regex="pattern*" text="pattern__" result="true"/> +<result regex="pattern*" text="pattern" result="true"/> +<result regex="pattern*" text="patter" result="false"/> +<result regex="pattern*" text="__pattern" result="false"/> +<result regex="pattern*" text="attern" result="false"/> +<result regex="pattern*" text="patter_" result="false"/> +<result regex="pattern*" text="patte__" result="false"/> + +<result regex="patt*ern" text="" result="false"/> +<result regex="patt*ern" text="patt__ern" result="true"/> +<result regex="patt*ern" text="pattern" result="true"/> +<result regex="patter*n" text="patter__n" result="true"/> +<result regex="p*attern" text="pttern" result="false"/> +<result regex="p*attern" text="pattern" result="true"/> +<result regex="patter*n" text="patter" result="false"/> +<result regex="p*attern" text="attern" result="false"/> +<result regex="p*attern" text="p_ttern" result="false"/> + + diff --git a/tools/regression/xsl_reports/test/test-components/test_re_match/test-driver.xsl b/tools/regression/xsl_reports/test/test-components/test_re_match/test-driver.xsl new file mode 100644 index 0000000000..83409521fa --- /dev/null +++ b/tools/regression/xsl_reports/test/test-components/test_re_match/test-driver.xsl @@ -0,0 +1,33 @@ +<?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:str="http://exslt.org/strings" + xmlns:meta="http://www.meta-comm.com" + extension-element-prefixes="func" + exclude-result-prefixes="str meta exsl" + version="1.0"> + + <xsl:import href="../../../xsl/v2/common.xsl"/> + + <xsl:template match="/"> + <xsl:apply-templates /> + </xsl:template> + <xsl:template match='test'> + <xsl:variable name="result" select="meta:re_match( @pattern, @text )"/> + <xsl:variable name="expected-result" select="@result = 'true'"/> + <result regex="{@pattern}" text="{@text}" result="{$result}"/> + </xsl:template> + +</xsl:stylesheet> diff --git a/tools/regression/xsl_reports/test/test-components/test_re_match/test_re_match.xml b/tools/regression/xsl_reports/test/test-components/test_re_match/test_re_match.xml new file mode 100644 index 0000000000..3841f782d7 --- /dev/null +++ b/tools/regression/xsl_reports/test/test-components/test_re_match/test_re_match.xml @@ -0,0 +1,57 @@ +<!-- + +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) + +--> + +<root> + +<test pattern="" text="" result="true"/> +<test pattern="pattern" text="pattern" result="true"/> +<test pattern="" text="pattern" result="false"/> +<test pattern="pattern" text="" result="false"/> + +<test pattern="*" text="" result="true"/> +<test pattern="*" text="pattern" result="true"/> + +<test pattern="*pattern*" text="" result="false"/> +<test pattern="*pattern*" text="__pattern__" result="true"/> +<test pattern="*pattern*" text="pattern" result="true"/> +<test pattern="*pattern*" text="patter" result="false"/> +<test pattern="*pattern*" text="patte__" result="false"/> +<test pattern="*pattern*" text="attern" result="false"/> +<test pattern="*pattern*" text="__ttern" result="false"/> + +<test pattern="*pattern" text="" result="false"/> +<test pattern="*pattern" text="__pattern" result="true"/> +<test pattern="*pattern" text="pattern" result="true"/> +<test pattern="*pattern" text="pattern__" result="false"/> +<test pattern="*pattern" text="patter" result="false"/> +<test pattern="*pattern" text="patte__" result="false"/> +<test pattern="*pattern" text="attern" result="false"/> +<test pattern="*pattern" text="__ttern" result="false"/> + +<test pattern="pattern*" text="" result="false"/> +<test pattern="pattern*" text="pattern__" result="true"/> +<test pattern="pattern*" text="pattern" result="true"/> +<test pattern="pattern*" text="patter" result="false"/> +<test pattern="pattern*" text="__pattern" result="false"/> +<test pattern="pattern*" text="attern" result="false"/> +<test pattern="pattern*" text="patter_" result="false"/> +<test pattern="pattern*" text="patte__" result="false"/> + +<test pattern="patt*ern" text="" result="false"/> +<test pattern="patt*ern" text="patt__ern" result="true"/> +<test pattern="patt*ern" text="pattern" result="true"/> +<test pattern="patter*n" text="patter__n" result="true"/> +<test pattern="p*attern" text="pttern" result="false"/> +<test pattern="p*attern" text="pattern" result="true"/> +<test pattern="patter*n" text="patter" result="false"/> +<test pattern="p*attern" text="attern" result="false"/> +<test pattern="p*attern" text="p_ttern" result="false"/> + +</root> diff --git a/tools/regression/xsl_reports/test/test-components/test_test_case_status/a.xml b/tools/regression/xsl_reports/test/test-components/test_test_case_status/a.xml new file mode 100644 index 0000000000..dd1535442a --- /dev/null +++ b/tools/regression/xsl_reports/test/test-components/test_test_case_status/a.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<test-run source="CVS" runner="BoostConsulting" timestamp="2007-01-13T06:25:21Z" platform="Windows" tag="RC_1_34_0" run-type="incremental"> + <test-log status="expected" result="success" /> + <test-log status="expected" /> + <test-log status="expected" result="fail" /> + <test-log status="unexpected" result="success" /> + <test-log status="unexpected" result="fail" is-new="no" /> + <test-log status="unexpected" result="fail" toolset="old_compiler" library="unusable_library" /> + +</test-run>
\ No newline at end of file diff --git a/tools/regression/xsl_reports/test/test-components/test_test_case_status/expected/a.xml b/tools/regression/xsl_reports/test/test-components/test_test_case_status/expected/a.xml new file mode 100644 index 0000000000..77cfcb857f --- /dev/null +++ b/tools/regression/xsl_reports/test/test-components/test_test_case_status/expected/a.xml @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<results xmlns:exsl="http://exslt.org/common"><result>expected</result><result>expected</result><result>expected</result><result>success-unexpected</result><result>fail-unexpected</result><result>unusable</result></results> diff --git a/tools/regression/xsl_reports/test/test-components/test_test_case_status/explicit-failures-markup.xml.test b/tools/regression/xsl_reports/test/test-components/test_test_case_status/explicit-failures-markup.xml.test new file mode 100644 index 0000000000..f0a71b1cb9 --- /dev/null +++ b/tools/regression/xsl_reports/test/test-components/test_test_case_status/explicit-failures-markup.xml.test @@ -0,0 +1,12 @@ +<explicit-failures-markup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="explicit-failures.xsd"> + + + <library name="unusable_library"> + <mark-unusable> + <toolset name="old_compiler"/> + </mark-unusable> + </library> + + +</explicit-failures-markup> diff --git a/tools/regression/xsl_reports/test/test-components/test_test_case_status/test-driver.xsl b/tools/regression/xsl_reports/test/test-components/test_test_case_status/test-driver.xsl new file mode 100644 index 0000000000..b1212939a9 --- /dev/null +++ b/tools/regression/xsl_reports/test/test-components/test_test_case_status/test-driver.xsl @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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" + xmlns:exsl="http://exslt.org/common" + + exclude-result-prefixes="func meta" version="1.0"> + + + <xsl:import href="../../../xsl/v2/common.xsl"/> + <xsl:param name="failures_markup_file" select="'explicit-failures-markup.xml.test'" /> + <xsl:variable name="explicit_markup" select="document( $failures_markup_file )"/> + + <xsl:template match="/"> + <results> + <xsl:apply-templates select="//test-log"/> + </results> + </xsl:template> + + <xsl:template match="test-log"> + <xsl:element name="result"> + <xsl:copy-of select="meta:test_case_status( $explicit_markup, . )"/> + </xsl:element> + </xsl:template> + +</xsl:stylesheet> diff --git a/tools/regression/xsl_reports/test/test-components/test_test_structure/a.xml b/tools/regression/xsl_reports/test/test-components/test_test_structure/a.xml new file mode 100644 index 0000000000..c2fba7f225 --- /dev/null +++ b/tools/regression/xsl_reports/test/test-components/test_test_structure/a.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<test-run source="CVS" runner="BoostConsulting" timestamp="2007-01-13T06:25:21Z" platform="Windows" tag="RC_1_34_0" run-type="incremental"> + <comment>some_comment</comment> + <test-log library="date_time" test-name="testdate_dll" test-type="run" test-program="libs/date_time/test/gregorian/testdate.cpp" target-directory="boost/bin.v2/libs/date_time/test/testdate_dll.test/msvc-8.0.m/rls/adrs-mdl-64/instr-set-optrn/thrd-mlt" toolset="required_toolset" show-run-output="false"/> + <test-log library="date_time" test-name="testdate_dll" test-type="run" test-program="libs/date_time/test/gregorian/testdate.cpp" target-directory="boost/bin.v2/libs/date_time/test/testdate_dll.test/msvc-8.0.m/rls/adrs-mdl-64/instr-set-optrn/thrd-mlt" toolset="not_required_toolset" show-run-output="false"/> +</test-run>
\ No newline at end of file diff --git a/tools/regression/xsl_reports/test/test-components/test_test_structure/expected/a.xml b/tools/regression/xsl_reports/test/test-components/test_test_structure/expected/a.xml new file mode 100644 index 0000000000..67090fdb21 --- /dev/null +++ b/tools/regression/xsl_reports/test/test-components/test_test_structure/expected/a.xml @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<results xmlns:exsl="http://exslt.org/common"><platforms><platform name="Windows"><runs><run runner="BoostConsulting" timestamp="2007-01-13T06:25:21Z" platform="Windows" run-type="incremental" source="CVS"><comment>some_comment</comment></run></runs></platform></platforms><platforms><platform name="Windows"><runs><run runner="BoostConsulting" timestamp="2007-01-13T06:25:21Z" platform="Windows" run-type="incremental" source="CVS" toolset="not_required_toolset"><comment>some_comment</comment><toolset name="not_required_toolset" required="no" required_sort_hint="sort hint B"/><toolset name="required_toolset" required="no" required_sort_hint="sort hint B"/></run></runs></platform></platforms></results> diff --git a/tools/regression/xsl_reports/test/test-components/test_test_structure/explicit-failures-markup.xml.test b/tools/regression/xsl_reports/test/test-components/test_test_structure/explicit-failures-markup.xml.test new file mode 100644 index 0000000000..4872ee439f --- /dev/null +++ b/tools/regression/xsl_reports/test/test-components/test_test_structure/explicit-failures-markup.xml.test @@ -0,0 +1,6 @@ +<explicit-failures-markup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="explicit-failures.xsd"> + + <mark-toolset name="required_toolset" status="required"/> + +</explicit-failures-markup> diff --git a/tools/regression/xsl_reports/test/test-components/test_test_structure/test-driver.xsl b/tools/regression/xsl_reports/test/test-components/test_test_structure/test-driver.xsl new file mode 100644 index 0000000000..8739edb486 --- /dev/null +++ b/tools/regression/xsl_reports/test/test-components/test_test_structure/test-driver.xsl @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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" + xmlns:exsl="http://exslt.org/common" + + exclude-result-prefixes="func meta" version="1.0"> + + + <xsl:import href="../../../xsl/v2/common.xsl"/> + <xsl:param name="failures_markup_file" select="'explicit-failures-markup.xml'" /> + <xsl:variable name="explicit_markup" select="document( $failures_markup_file )"/> + + <xsl:template match="/"> + <results> + <xsl:copy-of select="meta:test_structure( ., 'yes', $explicit_markup )"/> + <xsl:copy-of select="meta:test_structure( ., 'no', $explicit_markup )"/> + </results> + </xsl:template> + +</xsl:stylesheet> diff --git a/tools/regression/xsl_reports/test/test.py b/tools/regression/xsl_reports/test/test.py new file mode 100644 index 0000000000..0a19491b94 --- /dev/null +++ b/tools/regression/xsl_reports/test/test.py @@ -0,0 +1,34 @@ +import sys + +sys.path.append( '..' ) + +import os + +import boost_wide_report +import common +import utils +import shutil +import time + +tag = "CVS-HEAD" + +if os.path.exists( "results/incoming/CVS-HEAD/processed/merged" ): + shutil.rmtree( "results/incoming/CVS-HEAD/processed/merged" ) + +boost_wide_report.ftp_task = lambda ftp_site, site_path, incoming_dir: 1 +boost_wide_report.unzip_archives_task = lambda incoming_dir, processed_dir, unzip: 1 + +boost_wide_report.execute_tasks( + tag = tag + , user = None + , run_date = common.format_timestamp( time.gmtime() ) + , comment_file = os.path.abspath( "comment.html" ) + , results_dir = os.path.abspath( "results" ) + , output_dir = os.path.abspath( "output" ) + , reports = [ "x", "ds", "dd", "dsr", "ddr", "us", "ud", "usr", "udr" ] + , warnings = [ 'Warning text 1', 'Warning text 2' ] + , extended_test_results = os.path.abspath( "output/extended_test_results.xml" ) + , dont_collect_logs = 1 + , expected_results_file = os.path.abspath( "expected_results.xml" ) + , failures_markup_file = os.path.abspath( "explicit-failures-markup.xml" ) + ) diff --git a/tools/regression/xsl_reports/test/test_boost_wide_report.py b/tools/regression/xsl_reports/test/test_boost_wide_report.py new file mode 100644 index 0000000000..f7d52fc2ff --- /dev/null +++ b/tools/regression/xsl_reports/test/test_boost_wide_report.py @@ -0,0 +1,36 @@ +import unittest +import sys +import time + +sys.path.append( ".." ) + +import boost_wide_report + +class test_boost_wide_report(unittest.TestCase): + def test_diff( self ): + test_cases = [ + ( [] + , [] + , ( [], [] ) ) + , ( [ boost_wide_report.file_info( "a", 1, time.localtime( 0 ) ) ] + , [] + , ( [ "a" ], [] ) ) + , ( [] + , [ boost_wide_report.file_info( "a", 1, time.localtime( 0 ) ) ] + , ( [], [ "a" ] ) ) + , ( [ boost_wide_report.file_info( "a", 1, time.localtime( 0 ) ) ] + , [ boost_wide_report.file_info( "a", 1, time.localtime( 1 ) ) ] + , ( [ "a" ], [] ) ) + ] + + for test_case in test_cases: + source_dir_content = test_case[0] + destination_dir_content = test_case[1] + expected_result = test_case[2] + d = boost_wide_report.diff( source_dir_content, destination_dir_content ) + self.failUnlessEqual( d, expected_result ) + +if __name__ == '__main__': + unittest.main() + + diff --git a/tools/regression/xsl_reports/test_results.xsd b/tools/regression/xsl_reports/test_results.xsd new file mode 100644 index 0000000000..bd54208488 --- /dev/null +++ b/tools/regression/xsl_reports/test_results.xsd @@ -0,0 +1,107 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> + <!-- + The following online services can be used to validate collected test results: + + - http://apps.gotdotnet.com/xmltools/xsdvalidator/ + - http://tools.decisionsoft.com/schemaValidate.html + --> + + <xs:simpleType name="test_result"> + <xs:restriction base="xs:NMTOKEN"> + <xs:enumeration value="fail"/> + <xs:enumeration value="succeed"/> + </xs:restriction> + </xs:simpleType> + + <xs:simpleType name="run_test_result"> + <xs:restriction base="xs:NMTOKEN"> + <xs:enumeration value="fail"/> + <xs:enumeration value="succeed"/> + <xs:enumeration value="note"/> + </xs:restriction> + </xs:simpleType> + + <xs:simpleType name="test_type"> + <xs:restriction base="xs:NMTOKEN"> + <xs:enumeration value="compile"/> + <xs:enumeration value="compile_fail"/> + <xs:enumeration value="lib"/> + <xs:enumeration value="pyd"/> + <xs:enumeration value="run"/> + <xs:enumeration value="run_fail"/> + <xs:enumeration value="run_pyd"/> + </xs:restriction> + </xs:simpleType> + + <xs:element name="compile"> + <xs:complexType> + <xs:simpleContent> + <xs:extension base="xs:string"> + <xs:attribute name="result" type="test_result" use="required"/> + <xs:attribute name="timestamp" type="xs:string" use="required"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + </xs:element> + + <xs:element name="link"> + <xs:complexType> + <xs:simpleContent> + <xs:extension base="xs:string"> + <xs:attribute name="result" type="test_result" use="required"/> + <xs:attribute name="timestamp" type="xs:string" use="required"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + </xs:element> + + <xs:element name="lib"> + <xs:complexType> + <xs:simpleContent> + <xs:extension base="xs:string"> + <xs:attribute name="result" type="test_result" use="required"/> + <xs:attribute name="timestamp" type="xs:string" use="required"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + </xs:element> + + <xs:element name="run"> + <xs:complexType> + <xs:simpleContent> + <xs:extension base="xs:string"> + <xs:attribute name="result" type="run_test_result" use="required"/> + <xs:attribute name="timestamp" type="xs:string" use="required"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + </xs:element> + + <xs:element name="test-log"> + <xs:complexType> + <xs:sequence> + <xs:element ref="compile" minOccurs="0"/> + <xs:element ref="link" minOccurs="0"/> + <xs:element ref="run" minOccurs="0"/> + <xs:element ref="lib" minOccurs="0"/> + </xs:sequence> + <xs:attribute name="library" type="xs:string" use="required"/> + <xs:attribute name="test-name" type="xs:string" use="required"/> + <xs:attribute name="test-type" type="test_type" use="required"/> + <xs:attribute name="test-program" type="xs:string" use="required"/> + <xs:attribute name="target-directory" type="xs:string" use="required"/> + <xs:attribute name="toolset" type="xs:string" use="required"/> + <xs:attribute name="show-run-output" type="xs:boolean" use="required"/> + </xs:complexType> + </xs:element> + + <xs:element name="tests"> + <xs:complexType> + <xs:sequence> + <xs:element ref="test-log" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:element> + +</xs:schema> diff --git a/tools/regression/xsl_reports/utils/__init__.py b/tools/regression/xsl_reports/utils/__init__.py new file mode 100644 index 0000000000..1400c638e3 --- /dev/null +++ b/tools/regression/xsl_reports/utils/__init__.py @@ -0,0 +1,12 @@ + +from accept_args import * +from char_translation_table import * +from check_existance import * +from checked_system import * +from libxslt import * +from log import * +from makedirs import * +from tar import * +from zip import * + +import sourceforge diff --git a/tools/regression/xsl_reports/utils/accept_args.py b/tools/regression/xsl_reports/utils/accept_args.py new file mode 100644 index 0000000000..b08739f40b --- /dev/null +++ b/tools/regression/xsl_reports/utils/accept_args.py @@ -0,0 +1,30 @@ + +import getopt +import re +import sys + +def accept_args( args_spec, args, options, usage ): + + defaults_num = len(options) + + ( option_pairs, rest_args ) = getopt.getopt( args, '', args_spec ) + map( lambda x: options.__setitem__( x[0], x[1] ), option_pairs ) + + if ( options.has_key( '--help' ) or len( options.keys() ) == defaults_num ): + usage() + sys.exit( 1 ) + + if len( rest_args ) > 0 and rest_args[0][0] == '@': + f = open( rest_args[0][1:], 'r' ) + config_lines = f.read().splitlines() + f.close() + for l in config_lines: + if re.search( r'^\s*#', l ): continue + if re.search( r'^\s*$', l ): continue + m = re.match( r'^(?P<name>.*?)=(?P<value>.*)', l ) + if m: + options[ '--%s' % m.group( 'name' ) ] = m.group( 'value' ) + else: + raise 'Invalid format of config line "%s"' % l + + return rest_args diff --git a/tools/regression/xsl_reports/utils/char_translation_table.py b/tools/regression/xsl_reports/utils/char_translation_table.py new file mode 100644 index 0000000000..c2d8fb6c95 --- /dev/null +++ b/tools/regression/xsl_reports/utils/char_translation_table.py @@ -0,0 +1,13 @@ + +import string + +def chr_or_question_mark( c ): + if chr(c) in string.printable and c < 128 and c not in ( 0x09, 0x0b, 0x0c ): + return chr(c) + else: + return '?' + +char_translation_table = string.maketrans( + ''.join( map( chr, range(0, 256) ) ) + , ''.join( map( chr_or_question_mark, range(0, 256) ) ) + ) diff --git a/tools/regression/xsl_reports/utils/check_existance.py b/tools/regression/xsl_reports/utils/check_existance.py new file mode 100644 index 0000000000..9e3d0e7b21 --- /dev/null +++ b/tools/regression/xsl_reports/utils/check_existance.py @@ -0,0 +1,9 @@ + +import os + +def check_existance( name ): + a = os.popen( '%s --version' % name ) + output = a.read() + rc = a.close() + if rc is not None: + raise Exception( '"%s" is required' % name ) diff --git a/tools/regression/xsl_reports/utils/checked_system.py b/tools/regression/xsl_reports/utils/checked_system.py new file mode 100644 index 0000000000..bdb8e8f8e6 --- /dev/null +++ b/tools/regression/xsl_reports/utils/checked_system.py @@ -0,0 +1,22 @@ + +import os +import string +import sys + +def system( commands ): + if sys.platform == 'win32': + f = open( 'tmp.cmd', 'w' ) + f.write( string.join( commands, '\n' ) ) + f.close() + rc = os.system( 'tmp.cmd' ) + return rc + else: + rc = os.system( '&&'.join( commands ) ) + return rc + + +def checked_system( commands, valid_return_codes = [ 0 ] ): + rc = system( commands ) + if rc not in [ 0 ] + valid_return_codes: + raise Exception( 'Command sequence "%s" failed with return code %d' % ( commands, rc ) ) + return rc diff --git a/tools/regression/xsl_reports/utils/libxslt.py b/tools/regression/xsl_reports/utils/libxslt.py new file mode 100644 index 0000000000..3ed13e6d08 --- /dev/null +++ b/tools/regression/xsl_reports/utils/libxslt.py @@ -0,0 +1,37 @@ + +import utils.makedirs +import os.path +import os +import sys + + +def xslt_param( path ): + path = path.replace( '\\', '/' ) + if sys.platform == 'win32': + path = path.replace( ' ', '%20' ) + return path + + +def libxslt( log, xml_file, xsl_file, output_file, parameters = None ): + + utils.makedirs( os.path.dirname( output_file ) ) + + if sys.platform == 'win32': + os.chdir( os.path.dirname( xsl_file ) ) + + transform_command = 'xsltproc' + transform_command = transform_command + ' -o ' + '"%s"' % xslt_param( output_file ) + + if parameters is not None: + for i in parameters: + if parameters[i]: + parameters[i] = xslt_param( parameters[i] ) + transform_command = transform_command + ' --param %s "\'%s\'" ' % ( i, parameters[ i ] ) + + transform_command = transform_command + ' "%s" ' % xslt_param( xsl_file ) + transform_command = transform_command + ' "%s" ' % xslt_param( xml_file ) + log( transform_command ) + rc = os.system( transform_command ) + if rc != 0: + raise Exception( '"%s" failed with return code %d' % ( transform_command, rc ) ) + diff --git a/tools/regression/xsl_reports/utils/log.py b/tools/regression/xsl_reports/utils/log.py new file mode 100644 index 0000000000..28b1366f88 --- /dev/null +++ b/tools/regression/xsl_reports/utils/log.py @@ -0,0 +1,18 @@ + +import inspect +import sys + +def log_level(): + frames = inspect.stack() + level = 0 + for i in frames[ 3: ]: + if i[0].f_locals.has_key( '__log__' ): + level = level + i[0].f_locals[ '__log__' ] + return level + + +def stdlog( message ): + sys.stderr.write( '# ' + ' ' * log_level() + message + '\n' ) + sys.stderr.flush() + +log = stdlog diff --git a/tools/regression/xsl_reports/utils/makedirs.py b/tools/regression/xsl_reports/utils/makedirs.py new file mode 100644 index 0000000000..94b68d32f1 --- /dev/null +++ b/tools/regression/xsl_reports/utils/makedirs.py @@ -0,0 +1,7 @@ + +import os.path +import os + +def makedirs( path ): + if not os.path.exists( path ): + os.makedirs( path ) diff --git a/tools/regression/xsl_reports/utils/send_mail.py b/tools/regression/xsl_reports/utils/send_mail.py new file mode 100644 index 0000000000..d0ed98fd18 --- /dev/null +++ b/tools/regression/xsl_reports/utils/send_mail.py @@ -0,0 +1,13 @@ + +import smtplib + +def send_mail( mail, subject, msg = '' ): + smtp_server = smtplib.SMTP( 'mail.%s' % mail.split( '@' )[-1] ) + smtp_server.sendmail( + mail + , [ mail ] + , 'Subject: %s\n' % subject + + 'To: %s\n' % mail + + '\n' + + msg + ) diff --git a/tools/regression/xsl_reports/utils/sourceforge.py b/tools/regression/xsl_reports/utils/sourceforge.py new file mode 100644 index 0000000000..0c6b085286 --- /dev/null +++ b/tools/regression/xsl_reports/utils/sourceforge.py @@ -0,0 +1,48 @@ + +import utils.checked_system +import os +import sys + +site_dir = '/home/groups/b/bo/boost/htdocs/' + +def download( source, destination, user ): + if sys.platform == 'win32': + destination = os.popen( 'cygpath "%s"' % destination ).read().splitlines()[0] + + utils.checked_system( [ + 'rsync -v -r -z --progress %(user)s@shell.sourceforge.net:%(site_dir)s%(source)s %(dest)s' + % { 'user': user, 'site_dir': site_dir, 'source': source, 'dest': destination } + ] ) + + +def upload( source, destination, user ): + if sys.platform == 'win32': + source = os.popen( 'cygpath "%s"' % source ).read().splitlines()[0] + + utils.checked_system( [ + 'rsync -v -r -z --progress %(source)s %(user)s@shell.sourceforge.net:%(site_dir)s%(dest)s' + % { 'user': user, 'site_dir': site_dir, 'source': source, 'dest': destination } + ] ) + + +def checked_system( commands, user, background = False ): + if not background: + cmd = 'ssh -l %s shell.sourceforge.net "%s"' + else: + cmd = 'ssh -f -l %s shell.sourceforge.net "%s"' + + utils.checked_system( + [ cmd % ( user, '&&'.join( commands ) ) ] + ) + + +def untar( archive, user, background ): + checked_system( + [ + 'cd %s' % os.path.join( site_dir, os.path.dirname( archive ) ) + , 'tar -x -z --overwrite --mode=+w -f %s' % os.path.basename( archive ) + , 'rm -f %s' % archive + ] + , user = user + , background = background + ) diff --git a/tools/regression/xsl_reports/utils/tar.py b/tools/regression/xsl_reports/utils/tar.py new file mode 100644 index 0000000000..19deb1992b --- /dev/null +++ b/tools/regression/xsl_reports/utils/tar.py @@ -0,0 +1,16 @@ + +import utils.checked_system +import os.path + +def tar( source_dir, archive_name ): + utils.checked_system( [ + 'cd %s' % source_dir + , 'tar -c -f ../%s -z *' % archive_name + ] ) + +def untar( archive_path ): + #utils.checked_system( [ 'tar -xjf "%s"' % archive_path ] ) + utils.checked_system( [ + 'cd %s' % os.path.dirname( archive_path ) + , 'tar -xjf "%s"' % os.path.basename( archive_path ) + ] ) diff --git a/tools/regression/xsl_reports/utils/zip.py b/tools/regression/xsl_reports/utils/zip.py new file mode 100644 index 0000000000..7473aa0051 --- /dev/null +++ b/tools/regression/xsl_reports/utils/zip.py @@ -0,0 +1,12 @@ + +import zipfile +import os.path + +def unzip( archive_path, result_dir ): + z = zipfile.ZipFile( archive_path, 'r', zipfile.ZIP_DEFLATED ) + for f in z.infolist(): + result = open( os.path.join( result_dir, f.filename ), 'wb' ) + result.write( z.read( f.filename ) ) + result.close() + + z.close() diff --git a/tools/regression/xsl_reports/xsl/add_expected_results.xsl b/tools/regression/xsl_reports/xsl/add_expected_results.xsl new file mode 100644 index 0000000000..6771f0034f --- /dev/null +++ b/tools/regression/xsl_reports/xsl/add_expected_results.xsl @@ -0,0 +1,144 @@ +<?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: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:param name="expected_results_file"/> + <xsl:param name="failures_markup_file"/> + <xsl:variable name="expected_results" select="document( $expected_results_file )" /> + <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="library" select="@library"/> + <xsl:variable name="test-name" select="@test-name"/> + <xsl:variable name="toolset" select="@toolset"/> + + <xsl:element name="{local-name()}"> + <xsl:apply-templates select="@*"/> + + <xsl:variable name="actual_result"> + <xsl:choose> + <!-- Hack: needs to be researched (and removed). See M.Wille's incident. --> + <xsl:when test="run/@result='succeed' and lib/@result='fail'"> + <xsl:text>success</xsl:text> + </xsl:when> + <xsl:when test="./*/@result = 'fail'" > + <xsl:text>fail</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:text>success</xsl:text> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="expected_results_test_case" select="$expected_results//*/test-result[ @library=$library and ( @test-name=$test-name or @test-name='*' ) and @toolset = $toolset]"/> + <xsl:variable name="new_failures_markup" select="$failures_markup//library[@name=$library]/mark-expected-failures[ meta:re_match( test/@name, $test-name ) and meta:re_match( toolset/@name, $toolset ) ]"/> + <xsl:variable name="failures_markup" select="$failures_markup//library[@name=$library]/test[ meta:re_match( @name, $test-name ) ]/mark-failure[ meta:re_match( toolset/@name, $toolset ) ]"/> + <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="expected_result"> + <xsl:choose> + <xsl:when test='count( $failures_markup ) > 0 or count( $new_failures_markup ) > 0'> + <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="count( $failures_markup ) > 0 or count( $new_failures_markup ) > 0"> + <xsl:choose> + <xsl:when test="$expected_result = $actual_result">expected</xsl:when> + <xsl:otherwise>unexpected</xsl:otherwise> + </xsl:choose> + </xsl:when> + + <xsl:otherwise> + <xsl:choose> + <xsl:when test="$expected_result = $actual_result">expected</xsl:when> + <xsl:otherwise>unexpected</xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + + </xsl:choose> + </xsl:variable> + + <xsl:variable name="notes"> + <xsl:choose> + + <xsl:when test='count( $failures_markup ) > 0'> + <xsl:for-each select="$failures_markup/note"> + <xsl:copy-of select="."/> + </xsl:for-each> + </xsl:when> + + <xsl:when test='count( $new_failures_markup ) > 0'> + <xsl:for-each select="$new_failures_markup/note"> + <xsl:copy-of select="."/> + </xsl:for-each> + </xsl:when> + + </xsl:choose> + </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="status"><xsl:value-of select="$status"/></xsl:attribute> + <xsl:attribute name="is-new"><xsl:value-of select="$is_new"/></xsl:attribute> + <!--<a><xsl:value-of select="count( $failures_markup )"/></a>--> + <xsl:element name="notes"><xsl:copy-of select="$notes"/></xsl:element> + + + <xsl:apply-templates select="node()" /> + </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/common.xsl b/tools/regression/xsl_reports/xsl/common.xsl new file mode 100644 index 0000000000..0029eeaebb --- /dev/null +++ b/tools/regression/xsl_reports/xsl/common.xsl @@ -0,0 +1,182 @@ +<?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:str="http://exslt.org/strings" + xmlns:meta="http://www.meta-comm.com" + extension-element-prefixes="func" + version="1.0"> + + <xsl:variable name="output_directory" select="'output'"/> + + <xsl:template name="get_toolsets"> + <xsl:param name="toolsets"/> + <xsl:param name="required-toolsets"/> + + <xsl:variable name="toolset_output"> + <xsl:for-each select="$toolsets"> + <xsl:variable name="toolset" select="."/> + <xsl:element name="toolset"> + <xsl:attribute name="toolset"><xsl:value-of select="$toolset"/></xsl:attribute> + <xsl:choose> + <xsl:when test="$required_toolsets[ $toolset = @name ]"> + <xsl:attribute name="required">yes</xsl:attribute> + <xsl:attribute name="sort">a</xsl:attribute> + </xsl:when> + <xsl:otherwise> + <xsl:attribute name="required">no</xsl:attribute> + <xsl:attribute name="sort">z</xsl:attribute> + </xsl:otherwise> + </xsl:choose> + </xsl:element> + </xsl:for-each> + </xsl:variable> + + <xsl:for-each select="exsl:node-set( $toolset_output )/toolset"> + <xsl:sort select="concat( @sort, ' ', @toolset)" order="ascending"/> + <xsl:copy-of select="."/> + </xsl:for-each> + + </xsl:template> + + <func:function name="meta:show_output"> + <xsl:param name="explicit_markup"/> + <xsl:param name="test_log"/> + <func:result select="$test_log/@result != 'success' and not( meta:is_unusable( $explicit_markup, $test_log/@library, $test_log/@toolset )) or $test_log/@show-run-output = 'true'"/> + </func:function> + + <func:function name="meta:is_test_log_a_test_case"> + <xsl:param name="test_log"/> + <func:result select="$test_log/@test-type='compile' or $test_log/@test-type='compile_fail' or $test_log/@test-type='run' or $test_log/@test-type='run_pyd'"/> + </func:function> + + <func:function name="meta:is_unusable"> + <xsl:param name="explicit_markup"/> + <xsl:param name="library"/> + <xsl:param name="toolset"/> + + <func:result select="$explicit_markup//library[ @name = $library ]/mark-unusable[ toolset/@name = $toolset or toolset/@name='*' ]"/> + </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) - 2 )"/> + <func:result select="substring( $text, 1, string-length($pattern_head) ) = $pattern_head "/> + </xsl:when> + </xsl:choose> + </func:function> + + <func:function name="meta:encode_path"> + <xsl:param name="path"/> + <func:result select="translate( translate( $path, '/', '-' ), './', '-' )"/> + </func:function> + + <func:function name="meta:toolset_name"> + <xsl:param name="name"/> + <func:result select="$name"/> + </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> + + <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="refid" select="@refid"/> + <xsl:call-template name="show_note"> + <xsl:with-param name="note" select="."/> + <xsl:with-param name="reference" select="$explicit_markup//note[ $refid = @id ]"/> + </xsl:call-template> + </div> + </xsl:for-each> + </div> + </xsl:template> + + <xsl:template name="show_note"> + <xsl:param name="note"/> + <xsl:param name="reference"/> + <div class="note"> + <xsl:variable name="author"> + <xsl:choose> + <xsl:when test="$note/@author"> + <xsl:value-of select="$note/@author"/> + </xsl:when> + <xsl:when test="$reference"> + <xsl:value-of select="$reference/@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:when test="$reference"> + <xsl:value-of select="$reference/@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 != ''"> + [ <xsl:value-of select="$author"/> <xsl:value-of select="$date"/> ] + </xsl:when> + <xsl:when test="$author != ''"> + [ <xsl:value-of select="$author"/> ] + </xsl:when> + <xsl:when test="$date != ''"> + [ <xsl:value-of select="$date"/> ] + </xsl:when> + </xsl:choose> + </span> + + <xsl:if test="$reference"> + <xsl:copy-of select="$reference/node()"/> + </xsl:if> + <xsl:copy-of select="$note/node()"/> + + </div> + </xsl:template> + +</xsl:stylesheet> diff --git a/tools/regression/xsl_reports/xsl/html/issues_legend.html b/tools/regression/xsl_reports/xsl/html/issues_legend.html new file mode 100644 index 0000000000..6274048b55 --- /dev/null +++ b/tools/regression/xsl_reports/xsl/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"><toolset></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"><toolset></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/html/library_developer_legend.html b/tools/regression/xsl_reports/xsl/html/library_developer_legend.html new file mode 100644 index 0000000000..405e52ab4b --- /dev/null +++ b/tools/regression/xsl_reports/xsl/html/library_developer_legend.html @@ -0,0 +1,72 @@ +<!-- + +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="success legend"> + <tr class="library-row-single"><td class="library-success-expected">pass</td></tr> + </table> + </td> + <td class="legend-item">Success.</td> + </tr> + <tr> + <td> + <table width="100%" summary="unexpected pass legend"> + <tr class="library-row-single"><td class="library-success-unexpected">pass</td></tr> + </table> + </td> + <td class="legend-item">Unexpected success.</td> + </tr> + <tr> + <td> + <table width="100%" summary="expected fail legend"> + <tr class="library-row-single"><td class="library-fail-expected">fail</td></tr> + </table> + </td> + <td class="legend-item">Expected failure.</td> + </tr> + </table> + </td> + <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">fail</td></tr> + </table> + </td> + <td class="legend-item">Failure on a newly added test/compiler.</td> + </tr> + <tr> + <td> + <table width="100%" summary="unexpected fail legend"> + <tr class="library-row-single"><td class="library-fail-unexpected">fail</td></tr> + </table> + </td> + <td class="legend-item">Unexpected failure.</td> + </tr> + <tr> + <td> + <table width="100%" summary="unusable legend"> + <tr class="library-row-single"><td class="library-unusable">n/a</td></tr> + </table> + </td> + <td class="legend-item">The library author marked it as unusable on particular platform/toolset.</td> + </tr> + </table> + </td> +</tr> +</table> +</div> diff --git a/tools/regression/xsl_reports/xsl/html/library_user_legend.html b/tools/regression/xsl_reports/xsl/html/library_user_legend.html new file mode 100644 index 0000000000..5175f04271 --- /dev/null +++ b/tools/regression/xsl_reports/xsl/html/library_user_legend.html @@ -0,0 +1,65 @@ +<!-- + +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="success legend"> + <tr class="library-row-single"><td class="library-user-success">pass</td></tr> + </table> + </td> + <td class="legend-item"> + The test passes. + </td> + </tr> + <tr> + <td> + <table width="100%" summary="fail legend"> + <tr class="library-row-single"><td class="library-user-fail-expected">fail</td></tr> + </table> + </td> + <td class="legend-item"> + A known test failure; click on the link to see the log. + </td> + </tr> + </table> + </td> + <td> + <table border="0" summary="legend"> + <tr> + <td> + <table width="100%" summary="unexpected fail legend"> + <tr class="library-row-single"><td class="library-user-fail-unexpected">unexp.</td></tr> + </table> + </td> + <td class="legend-item"> + The test is known to pass, but is currently failing; + click on the link to see the log. + </td> + </tr> + <tr> + <td> + <table width="100%" summary="unusable legend"> + <tr class="library-row-single"><td class="library-unusable">n/a</td></tr> + </table> + </td> + <td class="legend-item"> + The library author marked it as unusable on particular platform/toolset. + </td> + </tr> + </table> + </td> +</tr> +</table> +</div> diff --git a/tools/regression/xsl_reports/xsl/html/make_tinyurl.html b/tools/regression/xsl_reports/xsl/html/make_tinyurl.html new file mode 100644 index 0000000000..2de8830106 --- /dev/null +++ b/tools/regression/xsl_reports/xsl/html/make_tinyurl.html @@ -0,0 +1,24 @@ +<!-- + +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="tinyurl"> + +<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> + +</div> diff --git a/tools/regression/xsl_reports/xsl/html/master.css b/tools/regression/xsl_reports/xsl/html/master.css new file mode 100644 index 0000000000..8e643efebf --- /dev/null +++ b/tools/regression/xsl_reports/xsl/html/master.css @@ -0,0 +1,525 @@ +/* + +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) + +*/ + +/* 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: 10pt; + 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; +} + +div.legend +{ + width: 80%; + background-color: #f5f5f5; + margin-top: 10pt; +} + +div.comment +{ + width: 80%; + background-color: #f5f5f5; + padding-left: 10pt; + padding-right: 10pt; + padding-bottom: 10pt; +} + +div.tinyurl +{ + margin-top: 10pt; +} + +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-left: 5pt; +/* padding-top: 2pt;*/ +} + +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.purpose +{ + text-align: left; + margin-left: 5pt; + margin-top: 10pt; +} + + +div.library-name +{ + margin-top: 20pt; + margin-bottom: 10pt; + text-align: left; + font-size: 125%; + font-weight: bold; +} + +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; +/* text-decoration: none; */ +} + + 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.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-corner-case-header +{ +} + +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.library-fail-expected +,td.library-user-fail-expected +,td.library-user-success +,td.summary-expected +,td.summary-user-fail-expected +,td.summary-user-success +,td.summary-unknown-status +{ + 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; + font-weight: bold; + color: white; + 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 + +,tr.summary-row td.summary-user-fail-unexpected +,tr.summary-row-first td.summary-user-fail-unexpected +,tr.summary-row-last td.summary-user-fail-unexpected +,tr.summary-row-single td.summary-user-fail-unexpected + +,tr.library-row td.library-user-fail-unexpected +,tr.library-row-first td.library-user-fail-unexpected +,tr.library-row-last td.library-user-fail-unexpected +,tr.library-row-single td.library-user-fail-unexpected +{ + width: 60pt; + text-align: center; + background-color: red; + color: black; + border: 2px solid black; + padding-left: 2pt; + padding-right: 2pt; +} + + tr.summary-row td.summary-missing +, tr.summary-row-first td.summary-missing +, tr.summary-row-last td.summary-missing +, tr.summary-row-single td.summary-missing + +, tr.library-row td.library-missing +, tr.library-row-first td.library-missing +, tr.library-row-last td.library-missing +, tr.library-row-single td.library-missing +{ + width: 60pt; + text-align: center; + background-color: white; + color: black; + border: 2px solid black; + padding-left: 2pt; + padding-right: 2pt; +} + + tr.summary-row td.summary-unusable +, tr.summary-row-first td.summary-unusable +, tr.summary-row-last td.summary-unusable +, tr.summary-row-single td.summary-unusable + +, tr.library-row td.library-unusable +, tr.library-row-first td.library-unusable +, tr.library-row-last td.library-unusable +, tr.library-row-single td.library-unusable +{ + width: 60pt; + text-align: center; + background-color: silver; + color: black; + border-top: 2px solid black; + border-bottom: 2px solid black; + border-left: 2px solid black; + border-right: 2px solid black; + padding-left: 2pt; + padding-right: 2pt; +} + +/* Summary */ + +table.summary-table td.library-name +{ + width: 100pt; + padding: 0pt; + border-top: 1px solid gray; + border-bottom: 1px solid gray; +} + + tr.summary-row td.summary-user-fail-unexpected +, tr.summary-row-first td.summary-user-fail-unexpected +, tr.summary-row-last td.summary-user-fail-unexpected +, tr.summary-row-single td.summary-user-fail-unexpected +{ + width: 60pt; + text-align: center; + background-color: yellow; + color: black; + border: 2px solid black; + padding-left: 2pt; + padding-right: 2pt; +} + + 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 +{ + 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; +} + +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; +} + +td.library-user-fail-expectected +{ + width: 60pt; + text-align: center; + background-color: yellow; + color: black; + border: 0px solid black; +} + +table.library-library-notes +{ + background-color: LemonChiffon; + width: 640px; + margin-left: 5px; + margin-right: 5px; +} + +tr.library-library-note +{ +} + +div.note +{ + padding: 3pt; +} + + +span.note-header +{ + font-weight: bold; +} + +/* Log */ + +div.log-test-title +{ + font-size: 1.5em; + font-weight: bold; + border-bottom: 1px solid black; +} + +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; +} + + +/* 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/html/summary_developer_legend.html b/tools/regression/xsl_reports/xsl/html/summary_developer_legend.html new file mode 100644 index 0000000000..0f82828228 --- /dev/null +++ b/tools/regression/xsl_reports/xsl/html/summary_developer_legend.html @@ -0,0 +1,75 @@ +<!-- + +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="success legend"> + <tr class="summary-row-single"><td class="summary-expected">OK</td></tr> + </table> + </td> + <td class="legend-item"> + All expected tests pass. + </td> + </tr> + <tr> + <td> + <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-item"> + All expected tests pass, and some other tests that were expected to fail + unexpectedly pass as well. + </td> + </tr> + <tr> + <td> + <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-item"> + There are some failures on the newly added tests/compiler(s). + </td> + </tr> + </table> + </td> + <td> + <table border="0" summary="legend"> + <tr> + <td> + <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-item"> + Tests that the library author expects to pass are currently failing. + </td> + </tr> + <tr> + <td> + <table width="100%" summary="unusable legend"> + <tr class="summary-row-single"><td class="summary-unusable">n/a</td></tr> + </table> + </td> + <td class="legend-item"> + The library author marked it as unusable on particular platform/toolset. + </td> + </tr> + </table> + </td> +</tr> +</table> +</div> diff --git a/tools/regression/xsl_reports/xsl/html/summary_user_legend.html b/tools/regression/xsl_reports/xsl/html/summary_user_legend.html new file mode 100644 index 0000000000..4407608120 --- /dev/null +++ b/tools/regression/xsl_reports/xsl/html/summary_user_legend.html @@ -0,0 +1,65 @@ +<!-- + +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="success legend"> + <tr class="summary-row-single"><td class="summary-user-success"> </td></tr> + </table> + </td> + <td class="legend-item"> + All library tests are passing. + </td> + </tr> + <tr> + <td> + <table width="100%" summary="expected fail legend"> + <tr class="summary-row-single"><td class="summary-user-fail-expected">details</td></tr> + </table> + </td> + <td class="legend-item"> + There are some known failures in the tests, click on the link to see the details. + </td> + </tr> + </table> + </td> + <td> + <table border="0" summary="legend" ID="Table1"> + <tr> + <td> + <table width="100%" summary="unexpected fail legend"> + <tr class="summary-row-single"><td class="summary-user-fail-unexpected">unexp.</td></tr> + </table> + </td> + <td class="legend-item"> + Some tests that the library author expects to pass are currently failing, + click on the link to see the details. + </td> + </tr> + <tr> + <td> + <table width="100%" summary="unusable legend"> + <tr class="summary-row-single"><td class="summary-unusable">n/a</td></tr> + </table> + </td> + <td class="legend-item"> + The library author marked it as unusable on particular platform/toolset. + </td> + </tr> + </table> + </td> +</tr> +</table> +</div> diff --git a/tools/regression/xsl_reports/xsl/issues_page.xsl b/tools/regression/xsl_reports/xsl/issues_page.xsl new file mode 100644 index 0000000000..4faa410d0d --- /dev/null +++ b/tools/regression/xsl_reports/xsl/issues_page.xsl @@ -0,0 +1,223 @@ +<?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:str="http://exslt.org/strings" + xmlns:set="http://exslt.org/sets" + xmlns:meta="http://www.meta-comm.com" + extension-element-prefixes="func exsl" + exclude-result-prefixes="set str 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="comment_file"/> + <xsl:param name="expected_results_file"/> + <xsl:param name="explicit_markup_file"/> + + <!-- the author-specified expected test results --> + <xsl:variable name="explicit_markup" select="document( $explicit_markup_file )"/> + <xsl:variable name="expected_results" select="document( $expected_results_file )" /> + + <!-- necessary indexes --> + <xsl:key + name="test_name_key" + match="test-log" + use="concat( @library, '@', @test-name )"/> + <xsl:key + name="a" + match="." + 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="libraries" select="//test-log[ @library != '' and generate-id(.) = generate-id( key('library_key',@library)[1] ) ]/@library"/> + + <xsl:variable name="unexpected_test_cases" select="//test-log[ @status='unexpected' and @result='fail' and @toolset = $required_toolset_names and meta:is_test_log_a_test_case(.)]"/> + + <func:function name="meta:get_library_tests"> + <xsl:param name="tests"/> + <xsl:param name="library"/> + + <xsl:variable name="a"> + <xsl:for-each select="$tests[ @library=$library ]"> + <xsl:sort select="@test-name" order="ascending"/> + <xsl:copy-of select="."/> + </xsl:for-each> + </xsl:variable> + <func:result select="exsl:node-set( $a )/*"/> + </func:function> + + + <xsl:template match="/"> + + <xsl:variable name="issues_list" select="'issues_.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.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.html" target="_top"><xsl:value-of select="$source"/></a> + </h1> + + <div class="report-info"> + <div> + <b>Report Time: </b> <xsl:value-of select="$run_date"/> + </div> + <div> + <b>Purpose: </b> Provides a list of current unresolved test failures. + </div> + </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="meta:get_library_tests( $unexpected_test_cases, $library )"/> + <xsl:if test="count( $library_tests ) > 0"> + <xsl:variable name="library_test_names" select="set:distinct( $library_tests/@test-name )"/> + + <h2> + <a class="hover-link" href="{$library_page}.html" target="_top"> + <xsl:value-of select="$library"/> + </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 and not (meta:is_unusable( $explicit_markup, $library, @toolset )) ]/@toolset"/> + + <xsl:if test="count( $unexpected_toolsets ) > 0"> + <xsl:variable name="test_program" select="$library_tests[@test-name = $test_name]/@test-program"/> + <tr> + <td class="test-name"> + <a href="../../../{$test_program}" class="test-link"> + <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_result" select="$library_tests[@test-name = $test_name and @toolset = $toolset]"/> + <xsl:variable name="log_link" select="meta:output_file_path( $test_result/@target-directory )"/> + <xsl:variable name="class"> + <xsl:choose> + <xsl:when test="$test_result/@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="."/> + </a> + </span> + </td> + </xsl:for-each> + + </tr> + </table> + </td> + </tr> + </xsl:if> + </xsl:for-each> + </tbody> + + </table> + + + </xsl:if> + </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:template> +</xsl:stylesheet> diff --git a/tools/regression/xsl_reports/xsl/links_page.xsl b/tools/regression/xsl_reports/xsl/links_page.xsl new file mode 100644 index 0000000000..ebc4488f50 --- /dev/null +++ b/tools/regression/xsl_reports/xsl/links_page.xsl @@ -0,0 +1,134 @@ +<?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:str="http://exslt.org/strings" + xmlns:set="http://exslt.org/sets" + xmlns:meta="http://www.meta-comm.com" + extension-element-prefixes="func exsl" + exclude-result-prefixes="set str 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:template match="test-log[ meta:show_output( $explicit_markup, . ) ]"> + <xsl:variable name="document_path" select="meta:output_file_path( @target-directory )"/> + + <xsl:message>Writing log file document <xsl:value-of select="$document_path"/></xsl:message> + + <exsl:document href="{$document_path}" + method="html" + doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" + encoding="utf-8" + indent="yes"> + + <html> + <xsl:variable name="component"> + <xsl:choose> + <xsl:when test="@test-name != ''"> + <div class="log-test-title"> + <xsl:value-of select="concat( @library, ' - ', @test-name, ' / ', @toolset )"/> + </div> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="@target-dir"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <head> + <link rel="stylesheet" type="text/css" href="../master.css" title="master" /> + <title>Boost regression - test run output: <xsl:value-of select="$component"/></title> + </head> + + <body> + <div> + <div class="log-test-title"> + Boost regression - test run output: <xsl:value-of select="$component"/> + </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">Compiler output:</div> + <pre> + <xsl:copy-of select="compile/node()"/> + </pre> + </p> + </xsl:if> + + <xsl:if test="link"> + <p> + <div class="log-linker-output-title">Linker output:</div> + <pre> + <xsl:copy-of select="link/node()"/> + </pre> + </p> + </xsl:if> + + <xsl:if test="lib"> + <p> + <div class="log-linker-output-title">Lib output:</div> + <p> + See <a href="{meta:encode_path( 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 output:</div> + <pre> + <xsl:copy-of select="run/node()"/> + </pre> + </p> + </xsl:if> + + </div> + + <xsl:copy-of select="document( 'html/make_tinyurl.html' )"/> + + </body> + + </html> + </exsl:document> + + </xsl:template> + +</xsl:stylesheet> 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> diff --git a/tools/regression/xsl_reports/xsl/result_page.xsl b/tools/regression/xsl_reports/xsl/result_page.xsl new file mode 100644 index 0000000000..dbd0fbf919 --- /dev/null +++ b/tools/regression/xsl_reports/xsl/result_page.xsl @@ -0,0 +1,702 @@ +<?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:str="http://exslt.org/strings" + xmlns:set="http://exslt.org/sets" + xmlns:meta="http://www.meta-comm.com" + extension-element-prefixes="func exsl" + exclude-result-prefixes="set str 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="comment_file"/> + <xsl:param name="expected_results_file"/> + <xsl:param name="explicit_markup_file"/> + + <!-- the author-specified expected test results --> + <xsl:variable name="explicit_markup" select="document( $explicit_markup_file )"/> + <xsl:variable name="expected_results" select="document( $expected_results_file )" /> + + <xsl:variable name="alternate_mode"> + <xsl:choose> + <xsl:when test="$mode='user'">developer</xsl:when> + <xsl:otherwise>user</xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <!-- necessary indexes --> + <xsl:key + name="test_name_key" + match="test-log" + use="concat( @library, '>@<', @test-name )"/> + <xsl:key name="toolset_key" match="test-log" use="@toolset"/> + + <!-- toolsets --> + + <xsl:variable name="not_ordered_toolsets" select="//test-log[ generate-id(.) = generate-id( key('toolset_key',@toolset)[1] ) and @toolset != '' ]/@toolset"/> + + <xsl:variable name="required_toolsets" select="$explicit_markup//mark-toolset[ @status='required' ]"/> + + <xsl:variable name="ordered_toolsets_fragment"> + <xsl:call-template name="get_toolsets"> + <xsl:with-param name="toolsets" select="$not_ordered_toolsets"/> + <xsl:with-param name="required_toolsets" select="$required_toolsets"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="ordered_toolsets" select="exsl:node-set( $ordered_toolsets_fragment )"/> + + <!-- libraries --> + <xsl:variable name="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:template name="insert_toolsets_row"> + <xsl:param name="library"/> + <xsl:param name="library_marks"/> + <xsl:param name="toolsets"/> + <tr valign="middle"> + <td class="head" colspan="2">test / toolset</td> + + <!-- + we need to select not all library notes, but only ones + for toolsets present in the report + --> + <xsl:variable name="all_library_notes" select="$library_marks/note"/> + <xsl:message terminate="yes"> + !!!!!!!!!!!!!!!!!!!1 + </xsl:message> + <exsl:document href="debug2.xml" + method="xml" + encoding="utf-8" + indent="yes"> + <debug> + <xsl:copy-of select="$all_library_notes"/> + </debug> + </exsl:document> + <xsl:for-each select="$toolsets/toolset"> + <xsl:variable name="toolset" select="@toolset"/> + + <xsl:variable name="class"> + <xsl:choose> + <xsl:when test="@required='yes'"> + <xsl:text>required-toolset-name</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:text>toolset-name</xsl:text> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="toolset_notes_fragment"> + <xsl:for-each select="$all_library_notes"> + <xsl:if test="../@toolset=$toolset or ( ../toolset/@name=$toolset or ../toolset/@name = '*' )"> + <note index="{position()}"/> + </xsl:if> + </xsl:for-each> + </xsl:variable> + + <xsl:variable name="toolset_notes" select="exsl:node-set( $toolset_notes_fragment )/*"/> + + <td class="{$class}"><xsl:value-of select="meta:toolset_name( $toolset )"/> + <xsl:if test="count( $toolset_notes ) > 0"> + <span class="super"> + <xsl:for-each select="$toolset_notes"> + <xsl:variable name="note_index" select="@index"/> + <xsl:if test="generate-id( . ) != generate-id( $toolset_notes[1] )">, </xsl:if> + <a href="#{$library}-note-{$note_index}" title="Note {$note_index}"> + <xsl:value-of select="$note_index"/> + </a> + </xsl:for-each> + </span> + </xsl:if> + </td> + </xsl:for-each> + + <td class="head">toolset / test</td> + </tr> + </xsl:template> + + <xsl:template name="test_type_col"> + <td class="test-type"> + <a href="../../../status/compiler_status.html#Understanding" class="legend-link"> + <xsl:variable name="test_type" select="./@test-type"/> + <xsl:choose> + <xsl:when test="$test_type='run_pyd'"> <xsl:text>r</xsl:text> </xsl:when> + <xsl:when test="$test_type='run'"> <xsl:text>r</xsl:text> </xsl:when> + <xsl:when test="$test_type='run_fail'"> <xsl:text>rf</xsl:text> </xsl:when> + <xsl:when test="$test_type='compile'"> <xsl:text>c</xsl:text> </xsl:when> + <xsl:when test="$test_type='compile_fail'"> <xsl:text>cf</xsl:text> </xsl:when> + <xsl: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:variable name="index_path" select="'index_.html'"/> + + <!-- Index page --> + <head> + <link rel="stylesheet" type="text/css" href="../master.css" title="master" /> + <title>Boost regression: <xsl:value-of select="$source"/></title> + </head> + <frameset cols="190px,*" frameborder="0" framespacing="0" border="0"> + <frame name="tocframe" src="toc.html" scrolling="auto"/> + <frame name="docframe" src="{$index_path}" scrolling="auto"/> + </frameset> + + <!-- Index content --> + <xsl:message>Writing document <xsl:value-of select="$index_path"/></xsl:message> + + <exsl:document href="{$index_path}" + method="html" + doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" + encoding="utf-8" + indent="yes"> + + <html> + <head> + <link rel="stylesheet" type="text/css" href="../master.css" title="master" /> + </head> + <body> + + <img border="0" src="../../../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> + + <div class="report-info"> + <div> + <b>Report Time: </b> <xsl:value-of select="$run_date"/> + </div> + + <div> + <b>Purpose: </b> + <xsl:choose> + <xsl:when test="$mode='user'"> + The purpose of this report is to help a user to find out whether a particular library + works on the particular compiler(s). For CVS "health report", see + <a href="../{$alternate_mode}/index.html" target="_top">developer summary</a>. + </xsl:when> + <xsl:when test="$mode='developer'"> + Provides Boost developers with visual indication of the CVS "health". For user-level + report, see <a href="../{$alternate_mode}/index.html" target="_top">user summary</a>. + </xsl:when> + </xsl:choose> + </div> + </div> + + <div class="comment"> + <xsl:if test="$comment_file != ''"> + <xsl:copy-of select="document( $comment_file )"/> + </xsl:if> + </div> + + </body> + </html> + </exsl:document> + + + <xsl:variable name="multiple.libraries" select="count( $libraries ) > 1"/> + + <!-- TOC --> + <xsl:if test="$multiple.libraries"> + + <xsl:variable name="toc_path" select="'toc.html'"/> + <xsl:message>Writing document <xsl:value-of select="$toc_path"/></xsl:message> + + <exsl:document href="{$toc_path}" + method="html" + doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" + encoding="utf-8" + indent="yes"> + + <html> + <head> + <link rel="stylesheet" type="text/css" href="../master.css" title="master" /> + </head> + <body class="{$mode}-toc"> + <div class="toc-header-entry"> + <a href="index.html" class="toc-entry" target="_top">Report info</a> + </div> + <div class="toc-header-entry"> + <a href="summary.html" class="toc-entry" target="_top">Summary</a> + </div> + + <xsl:if test="$mode='developer'"> + <div class="toc-header-entry"> + <a href="issues.html" class="toc-entry" target="_top">Unresolved issues</a> + </div> + </xsl:if> + <hr/> + + <xsl:for-each select="$libraries"> + <xsl:sort select="." order="ascending" /> + <xsl:variable name="library_page" select="meta:encode_path(.)" /> + <div class="toc-entry"> + <a href="{$library_page}.html" class="toc-entry" target="_top"> + <xsl:value-of select="."/> + </a> + </div> + </xsl:for-each> + </body> + </html> + + </exsl:document> + </xsl:if> + + <!-- Libraries --> + <xsl:for-each select="$libraries"> + <xsl:sort select="." order="ascending" /> + <xsl:variable name="library" select="." /> + + <xsl:variable name="library_results" select="concat( meta:encode_path( $library ), '_.html' )"/> + <xsl:variable name="library_page" select="concat( meta:encode_path( $library ), '.html' )"/> + + <!-- Library page --> + <xsl:message>Writing document <xsl:value-of select="$library_page"/></xsl:message> + + <exsl:document href="{$library_page}" + method="html" + doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" + encoding="utf-8" + indent="yes"> + + <html> + <head> + <link rel="stylesheet" type="text/css" href="../master.css" title="master" /> + <title>Boost regression: <xsl:value-of select="$library"/>/<xsl:value-of select="$source"/></title> + </head> + <frameset cols="190px,*" frameborder="0" framespacing="0" border="0"> + <frame name="tocframe" src="toc.html" scrolling="auto"/> + <frame name="docframe" src="{$library_results}" scrolling="auto"/> + </frameset> + </html> + </exsl:document> + + <!-- Library results frame --> + <xsl:message>Writing document <xsl:value-of select="$library_results"/></xsl:message> + + <exsl:document href="{$library_results}" + method="html" + doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" + encoding="utf-8" + indent="yes"> + + <html> + <head> + <link rel="stylesheet" type="text/css" href="../master.css" title="master" /> + </head> + + <body> + + <h1 class="page-title"> + <a class="hover-link" name="{$library}" href="../../../libs/{$library}"> + <xsl:value-of select="$library" /> + </a> + <xsl:text>/</xsl:text> + <a class="hover-link" href="summary.html" target="_top"><xsl:value-of select="$source"/></a> + </h1> + + <div class="report-info"> + <b>Report Time: </b> <xsl:value-of select="$run_date"/> + </div> + + <!-- library markup = all library-unusable markup for toolsets included in the report --> + <xsl:variable name="library_marks" select="$explicit_markup//library[ @name = $library ]/mark-unusable[ toolset/@name = $not_ordered_toolsets ]"/> + + <table border="0" cellspacing="0" cellpadding="0" class="library-table" summary="library results"> + + <thead> + <xsl:call-template name="insert_toolsets_row"> + <xsl:with-param name="library_marks" select="$library_marks"/> + <xsl:with-param name="library" select="$library"/> + <xsl:with-param name="toolsets" select="$ordered_toolsets"/> + </xsl:call-template> + </thead> + <tfoot> + <xsl:call-template name="insert_toolsets_row"> + <xsl:with-param name="library_marks" select="$library_marks"/> + <xsl:with-param name="library" select="$library"/> + <xsl:with-param name="toolsets" select="$ordered_toolsets"/> + </xsl:call-template> + </tfoot> + + <tbody> + <!-- lib_tests = test_log* --> + <xsl:variable name="lib_tests" select="$test_case_logs[@library = $library]" /> + + <!-- lib_unique_test_names = test_log* --> + <xsl:variable name="lib_unique_test_names" + select="$lib_tests[ generate-id(.) = generate-id( key('test_name_key', concat( @library, '>@<', @test-name ) ) ) ]" /> + + <xsl:variable name="lib_corner_case_tests_markup" select="$explicit_markup//library[ @name = $library ]/test[ @corner-case='yes' ]"/> + <xsl:variable name="lib_general_tests" + select="meta:order_tests_by_name( $lib_unique_test_names[ not( @test-name = $lib_corner_case_tests_markup/@name ) ] )"/> + + + <xsl:variable name="lib_corner_case_tests" select="meta:order_tests_by_name( $lib_unique_test_names[ @test-name = $lib_corner_case_tests_markup/@name ] ) " /> + + <!-- general tests section --> + + <xsl:call-template name="insert_test_section"> + <xsl:with-param name="library" select="$library"/> + <xsl:with-param name="section_tests" select="$lib_general_tests"/> + <xsl:with-param name="lib_tests" select="$lib_tests"/> + <xsl:with-param name="toolsets" select="$ordered_toolsets"/> + </xsl:call-template> + + <!-- corner-case tests section --> + + <xsl:if test="count( $lib_corner_case_tests ) > 0"> + <tr> + <td class="library-corner-case-header" colspan="{count($ordered_toolsets/toolset) + 3 }" align="center">Corner-case tests</td> + </tr> + + <xsl:call-template name="insert_test_section"> + <xsl:with-param name="library" select="$library"/> + <xsl:with-param name="section_tests" select="$lib_corner_case_tests"/> + <xsl:with-param name="lib_tests" select="$lib_tests"/> + <xsl:with-param name="toolsets" select="$ordered_toolsets"/> + </xsl:call-template> + + </xsl:if> + + </tbody> + </table> + <xsl:if test="count( $library_marks/note ) > 0 "> + <table border="0" cellpadding="0" cellspacing="0" class="library-library-notes" summary="library notes"> + <xsl:for-each select="$library_marks/note"> + <tr class="library-library-note"> + <td valign="top" width="3em"> + <a name="{$library}-note-{position()}"> + <span class="super"><xsl:value-of select="position()"/></span> + </a> + </td> + <td> + <xsl:variable name="refid" select="@refid"/> + <xsl:call-template name="show_note"> + <xsl:with-param name="note" select="." /> + <xsl:with-param name="reference" select="$explicit_markup//note[ $refid = @id ]"/> + </xsl:call-template> + </td> + </tr> + </xsl:for-each> + </table> + </xsl:if> + + <xsl:copy-of select="document( concat( 'html/library_', $mode, '_legend.html' ) )"/> + <xsl:copy-of select="document( 'html/make_tinyurl.html' )"/> + + </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 != ''"> + <a href="{$log_link}" class="log-link" target="_top"> + <xsl:value-of select="$result"/> + </a> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$result"/> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + + <!-- report developer status --> + <xsl:template name="insert_cell_developer"> + <xsl:param name="test_log"/> + <xsl:param name="log_link"/> + + <xsl:variable name="is_new"> + <xsl:if test="$test_log/@is-new = 'yes' and $test_log/@status = 'unexpected' and $test_log/@result != 'success'"> + <xsl:value-of select="'-new'"/> + </xsl:if> + </xsl:variable> + + <xsl:variable name="class"> + <xsl:choose> + <xsl:when test="not( $test_log )"> + <xsl:text>library-missing</xsl:text> + </xsl:when> + <xsl:when test="meta:is_unusable( $explicit_markup, $test_log/@library, $test_log/@toolset )"> + <xsl:text>library-unusable</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="concat( 'library-', $test_log/@result, '-', $test_log/@status, $is_new )"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <td class="{$class}"> + <xsl:choose> + <xsl:when test="not( $test_log )"> + <xsl:text>missing</xsl:text> + </xsl:when> + + <xsl:when test="$test_log/@result != 'success' and $test_log/@status = 'expected'"> + <xsl:call-template name="insert_test_result"> + <xsl:with-param name="result" select="'fail'"/> + <xsl:with-param name="log_link" select="$log_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="$log_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="$log_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="$log_link"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + <xsl:if test="count( $test_log ) > 1" > + <div class="library-conf-problem">conf. problem</div> + </xsl:if> + </td> + </xsl:template> + + <!-- report user status --> + <xsl:template name="insert_cell_user"> + <xsl:param name="test_log"/> + <xsl:param name="log_link"/> + + <xsl:variable name="class"> + <xsl:choose> + <xsl:when test="not( $test_log )"> + <xsl:text>library-missing</xsl:text> + </xsl:when> + <xsl:when test="meta:is_unusable( $explicit_markup, $test_log/@library, $test_log/@toolset )"> + <xsl:text>library-unusable</xsl:text> + </xsl:when> + <xsl:when test="$test_log[@result='fail' and @status='unexpected']"> + <xsl:text>library-user-fail-unexpected</xsl:text> + </xsl:when> + <xsl:when test="$test_log[ @result='fail' and @status='expected' ]"> + <xsl:text>library-user-fail-expected</xsl:text> + </xsl:when> + <xsl:when test="$test_log[ @result='success']"> + <xsl:text>library-user-success</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:message terminate="yes"> + Unknown status + </xsl:message> + </xsl:otherwise> + </xsl:choose> + + </xsl:variable> + + <td class="{$class}"> + <xsl:choose> + <xsl:when test="not( $test_log )"> + missing + </xsl:when> + <xsl:when test="$test_log/@result != 'success' and $test_log/@status = 'expected'"> + <a href="{$log_link}" class="log-link" target="_top"> + fail + </a> + </xsl:when> + <xsl:when test="$test_log/@result != 'success'"> + <a href="{$log_link}" class="log-link" target="_top"> + unexp. + </a> + </xsl:when> + <xsl:otherwise> + <xsl:text>pass</xsl:text> + </xsl:otherwise> + </xsl:choose> + + <xsl:if test="count( $test_log ) > 1" > + <div class="conf-problem">conf. problem</div> + </xsl:if> + </td> + </xsl:template> + + <xsl:template name="insert_test_line"> + <xsl:param name="library"/> + <xsl:param name="test_name"/> + <xsl:param name="test_results"/> + <xsl:param name="toolsets"/> + <xsl:param name="line_mod"/> + + <xsl:variable name="test_program"> + <xsl:value-of select="$test_results[1]/@test-program"/> + </xsl:variable> + + <xsl:variable name="test_header"> + <td class="test-name"> + <a href="../../../{$test_program}" class="test-link"> + <xsl:value-of select="$test_name"/> + </a> + </td> + </xsl:variable> + + <tr class="library-row{$line_mod}"> + <xsl:copy-of select="$test_header"/> + <xsl:call-template name="test_type_col"/> + + <xsl:for-each select="$toolsets/toolset"> + <xsl:variable name="toolset" select="@toolset" /> + + <!-- Write log file --> + <xsl:variable name="test_result_for_toolset" select="$test_results[ @toolset = $toolset ]"/> + + <xsl:variable name="log_file"> + <xsl:choose> + <xsl:when test="meta:show_output( $explicit_markup, $test_result_for_toolset )"> + <xsl:value-of select="meta:output_file_path( $test_result_for_toolset/@target-directory )"/> + </xsl:when> + <xsl:otherwise> + <xsl:text></xsl:text> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + + <xsl:if test="count( $test_result_for_toolset ) > 0 and $log_file != ''"> + <xsl:message>Writing log file document <xsl:value-of select="$log_file"/></xsl:message> + <exsl:document href="{$log_file}" + method="html" + doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" + encoding="utf-8" + indent="yes"> + + <html> + <head> + <link rel="stylesheet" type="text/css" href="../master.css" title="master" /> + <!--<title>Boost regression unresolved issues: <xsl:value-of select="$source"/></title>--> + </head> + <frameset cols="190px,*" frameborder="0" framespacing="0" border="0"> + <frame name="tocframe" src="../toc.html" scrolling="auto"/> + <frame name="docframe" src="../../{$log_file}" scrolling="auto"/> + </frameset> + </html> + </exsl:document> + </xsl:if> + + <!-- Insert cell --> + <xsl:choose> + <xsl:when test="$mode='user'"> + <xsl:call-template name="insert_cell_user"> + <xsl:with-param name="test_log" select="$test_result_for_toolset"/> + <xsl:with-param name="log_link" select="$log_file"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$mode='developer'"> + <xsl:call-template name="insert_cell_developer"> + <xsl:with-param name="test_log" select="$test_result_for_toolset"/> + <xsl:with-param name="log_link" select="$log_file"/> + </xsl:call-template> + </xsl:when> + </xsl:choose> + + </xsl:for-each> + <xsl:copy-of select="$test_header"/> + </tr> + </xsl:template> + + <xsl:template name="insert_test_section"> + <xsl:param name="library"/> + <xsl:param name="section_tests"/> + <xsl:param name="lib_tests"/> + <xsl:param name="toolsets"/> + + <xsl:for-each select="$section_tests"> + <xsl:variable name="test_name" select="@test-name"/> + <xsl:variable name="line_mod"> + <xsl:choose> + <xsl:when test="1 = last()"> + <xsl:text>-single</xsl:text> + </xsl:when> + <xsl:when test="generate-id( . ) = generate-id( $section_tests[1] )"> + <xsl:text>-first</xsl:text> + </xsl:when> + <xsl:when test="generate-id( . ) = generate-id( $section_tests[last()] )"> + <xsl:text>-last</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:text></xsl:text> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:call-template name="insert_test_line"> + <xsl:with-param name="library" select="$library"/> + <xsl:with-param name="test_results" select="$lib_tests[ @test-name = $test_name ]"/> + <xsl:with-param name="toolsets" select="$toolsets"/> + <xsl:with-param name="test_name" select="$test_name"/> + <xsl:with-param name="line_mod" select="$line_mod"/> + </xsl:call-template> + </xsl:for-each> + + </xsl:template> + + <func:function name="meta:order_tests_by_name"> + <xsl:param name="tests"/> + + <xsl:variable name="a"> + <xsl:for-each select="$tests"> + <xsl:sort select="@test-name" order="ascending"/> + <xsl:copy-of select="."/> + </xsl:for-each> + </xsl:variable> + <func:result select="exsl:node-set( $a )/*"/> + </func:function> + +</xsl:stylesheet> diff --git a/tools/regression/xsl_reports/xsl/summary_page.xsl b/tools/regression/xsl_reports/xsl/summary_page.xsl new file mode 100644 index 0000000000..7bf3818c29 --- /dev/null +++ b/tools/regression/xsl_reports/xsl/summary_page.xsl @@ -0,0 +1,361 @@ +<?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:str="http://exslt.org/strings" + xmlns:set="http://exslt.org/sets" + xmlns:meta="http://www.meta-comm.com" + extension-element-prefixes="func exsl" + exclude-result-prefixes="set str 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="comment_file"/> + <xsl:param name="explicit_markup_file"/> + + <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, '>@<', @test-name )"/> + <xsl:key name="toolset_key" match="test-log" use="@toolset"/> + <xsl:key name="test_name_key" match="test-log" use="@test-name "/> + + <!-- toolsets --> + + <xsl:variable name="toolsets" select="//test-log[ generate-id(.) = generate-id( key('toolset_key',@toolset)[1] ) and @toolset != '' ]/@toolset"/> + + <xsl:variable name="required_toolsets" select="$explicit_markup//mark-toolset[ @status='required' ]"/> + + <xsl:variable name="sorted_toolset_fragment"> + <xsl:call-template name="get_toolsets"> + <xsl:with-param name="toolsets" select="$toolsets"/> + <xsl:with-param name="required_toolsets" select="$required_toolsets"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="sorted_toolsets" select="exsl:node-set( $sorted_toolset_fragment )"/> + + <!-- 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="sorted_libraries_output"> + <xsl:for-each select="$libraries"> + <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"/> + + + <xsl:template match="/"> + + <xsl:variable name="summary_results" select="'summary_.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.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> + + <h1 class="page-title"> + <xsl:text>Summary: </xsl:text> + <a class="hover-link" href="summary.html" target="_top"><xsl:value-of select="$source"/></a> + </h1> + + <div class="report-info"> + <b>Report Time: </b> <xsl:value-of select="$run_date"/> + </div> + + <!-- summary table --> + + <table border="0" cellspacing="0" cellpadding="0" class="summary-table"> + + <thead> + <xsl:call-template name="insert_toolsets_row"> + <xsl:with-param name="toolsets" select="$sorted_toolsets"/> + </xsl:call-template> + </thead> + + <tfoot> + <xsl:call-template name="insert_toolsets_row"> + <xsl:with-param name="toolsets" select="$sorted_toolsets"/> + </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}.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="$sorted_toolsets/toolset"> + <xsl:variable name="toolset" select="@toolset"/> + <xsl:variable name="current_cell" select="$current_row[ @toolset=$toolset ]"/> + <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> + + <xsl:copy-of select="document( concat( 'html/summary_', $mode, '_legend.html' ) )"/> + <xsl:copy-of select="document( 'html/make_tinyurl.html' )"/> + + </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"> + <xsl:choose> + <xsl:when test="meta:is_unusable( $explicit_markup, $library, $toolset )"> + <xsl:text>summary-unusable</xsl:text> + </xsl:when> + <xsl:when test="count( $current_cell ) < $expected_test_count"> + <xsl:text>summary-missing</xsl:text> + </xsl:when> + <xsl:when test="count( $current_cell[@result='fail' and @status='unexpected' and @is-new='no'] )"> + <xsl:text>summary-fail-unexpected</xsl:text> + </xsl:when> + <xsl:when test="count( $current_cell[@result='fail' and @status='unexpected' and @is-new='yes'] )"> + <xsl:text>summary-fail-unexpected-new</xsl:text> + </xsl:when> + <xsl:when test="count( $current_cell[@result='success' and @status='unexpected'] )"> + <xsl:text>summary-success-unexpected</xsl:text> + </xsl:when> + <xsl:when test="count( $current_cell[@status='expected'] )"> + <xsl:text>summary-expected</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:text>summary-unknown-status</xsl:text> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="library_page" select="meta:encode_path( $library )" /> + + <td class="{$class}"> + <xsl:choose> + <xsl:when test="$class='summary-unusable'"> + <a href="{$library_page}.html" class="log-link" target="_top"> + <xsl:text>n/a</xsl:text> + </a> + </xsl:when> + <xsl:when test="$class='summary-missing'"> + <xsl:text>missing</xsl:text> + </xsl:when> + <xsl:when test="$class='summary-fail-unexpected'"> + <a href="{$library_page}.html" class="log-link" target="_top"> + <xsl:text>broken</xsl:text> + </a> + </xsl:when> + <xsl:when test="$class='summary-fail-unexpected-new' "> + <a href="{$library_page}.html" class="log-link" target="_top"> + <xsl:text>fail</xsl:text> + </a> + </xsl:when> + <xsl:otherwise> + <xsl:text>OK</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"> + <xsl:choose> + <xsl:when test="meta:is_unusable( $explicit_markup, $library, $toolset )"> + <xsl:text>summary-unusable</xsl:text> + </xsl:when> + <xsl:when test="count( $current_cell ) < $expected_test_count"> + <xsl:text>summary-missing</xsl:text> + </xsl:when> + <xsl:when test="count( $current_cell[@result='fail' and @status='unexpected' ] )"> + <xsl:text>summary-user-fail-unexpected</xsl:text> + </xsl:when> + <xsl:when test="count( $current_cell[ @result='fail'] )"> + <xsl:text>summary-user-fail-expected</xsl:text> + </xsl:when> + <xsl:when test="count( $current_cell[ @result='success'] )"> + <xsl:text>summary-user-success</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:text>summary-unknown-status</xsl:text> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="library_page" select="meta:encode_path( $library )" /> + + <td class="{$class}"> + <xsl:choose> + <xsl:when test="$class='summary-unusable'"> + <a href="{$library_page}.html" class="log-link" target="_top"> + <xsl:text>unusable</xsl:text> + </a> + </xsl:when> + + <xsl:when test="$class='summary-missing'"> + <xsl:text>missing</xsl:text> + </xsl:when> + + <xsl:when test="$class='summary-user-fail-unexpected'"> + <a href="{$library_page}.html" class="log-link" target="_top"> + <xsl:text>unexp.</xsl:text> + </a> + </xsl:when> + + <xsl:when test="$class='summary-user-fail-expected'"> + <a href="{$library_page}.html" class="log-link" target="_top"> + <xsl:text>details</xsl:text> + </a> + </xsl:when> + + <xsl:otherwise> + <xsl:text> </xsl:text> + </xsl:otherwise> + </xsl:choose> + </td> + + </xsl:template> + + <xsl:template name="insert_toolsets_row"> + <xsl:param name="toolsets"/> + <tr> + <td class="head">library / toolset</td> + + <xsl:for-each select="$toolsets/toolset"> + <xsl:variable name="class"> + <xsl:choose> + <xsl:when test="@required='yes'"> + <xsl:text>required-toolset-name</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:text>toolset-name</xsl:text> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <td class="{$class}"><xsl:value-of select="meta:toolset_name( @toolset )"/></td> + </xsl:for-each> + + <td class="head">toolset / library</td> + </tr> + </xsl:template> + +</xsl:stylesheet> diff --git a/tools/regression/xsl_reports/xsl/test/test_re_match.xml b/tools/regression/xsl_reports/xsl/test/test_re_match.xml new file mode 100644 index 0000000000..3841f782d7 --- /dev/null +++ b/tools/regression/xsl_reports/xsl/test/test_re_match.xml @@ -0,0 +1,57 @@ +<!-- + +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) + +--> + +<root> + +<test pattern="" text="" result="true"/> +<test pattern="pattern" text="pattern" result="true"/> +<test pattern="" text="pattern" result="false"/> +<test pattern="pattern" text="" result="false"/> + +<test pattern="*" text="" result="true"/> +<test pattern="*" text="pattern" result="true"/> + +<test pattern="*pattern*" text="" result="false"/> +<test pattern="*pattern*" text="__pattern__" result="true"/> +<test pattern="*pattern*" text="pattern" result="true"/> +<test pattern="*pattern*" text="patter" result="false"/> +<test pattern="*pattern*" text="patte__" result="false"/> +<test pattern="*pattern*" text="attern" result="false"/> +<test pattern="*pattern*" text="__ttern" result="false"/> + +<test pattern="*pattern" text="" result="false"/> +<test pattern="*pattern" text="__pattern" result="true"/> +<test pattern="*pattern" text="pattern" result="true"/> +<test pattern="*pattern" text="pattern__" result="false"/> +<test pattern="*pattern" text="patter" result="false"/> +<test pattern="*pattern" text="patte__" result="false"/> +<test pattern="*pattern" text="attern" result="false"/> +<test pattern="*pattern" text="__ttern" result="false"/> + +<test pattern="pattern*" text="" result="false"/> +<test pattern="pattern*" text="pattern__" result="true"/> +<test pattern="pattern*" text="pattern" result="true"/> +<test pattern="pattern*" text="patter" result="false"/> +<test pattern="pattern*" text="__pattern" result="false"/> +<test pattern="pattern*" text="attern" result="false"/> +<test pattern="pattern*" text="patter_" result="false"/> +<test pattern="pattern*" text="patte__" result="false"/> + +<test pattern="patt*ern" text="" result="false"/> +<test pattern="patt*ern" text="patt__ern" result="true"/> +<test pattern="patt*ern" text="pattern" result="true"/> +<test pattern="patter*n" text="patter__n" result="true"/> +<test pattern="p*attern" text="pttern" result="false"/> +<test pattern="p*attern" text="pattern" result="true"/> +<test pattern="patter*n" text="patter" result="false"/> +<test pattern="p*attern" text="attern" result="false"/> +<test pattern="p*attern" text="p_ttern" result="false"/> + +</root> diff --git a/tools/regression/xsl_reports/xsl/test/test_re_match.xsl b/tools/regression/xsl_reports/xsl/test/test_re_match.xsl new file mode 100644 index 0000000000..eefd313166 --- /dev/null +++ b/tools/regression/xsl_reports/xsl/test/test_re_match.xsl @@ -0,0 +1,60 @@ +<?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:str="http://exslt.org/strings" + xmlns:meta="http://www.meta-comm.com" + extension-element-prefixes="func" + exclude-result-prefixes="str meta exsl" + version="1.0"> + + <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> + + <xsl:template match='test'> + <xsl:variable name="result" select="meta:re_match( @pattern, @text )"/> + <xsl:variable name="expected-result" select="@result = 'true'"/> + <xsl:if test="$result != $expected-result"> + <failed regex="{@pattern}" text="{@text}" result="{$result}" expected-result="{$expected-result}"/> + </xsl:if> + </xsl:template> + +</xsl:stylesheet> 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..646b413203 --- /dev/null +++ b/tools/regression/xsl_reports/xsl/v2/add_expected_results.xsl @@ -0,0 +1,269 @@ +<?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: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'"> + <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://cvs.sourceforge.net/viewcvs.py/boost/boost/status/explicit-failures-markup.xml"> + status/explicit-failures-markup.xml</a> file in the Boost CVS 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://cvs.sourceforge.net/viewcvs.py/boost/boost/status/explicit-failures-markup.xml"> + status/explicit-failures-markup.xml</a> file in the Boost CVS. + 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..83da5df7ad --- /dev/null +++ b/tools/regression/xsl_reports/xsl/v2/common.xsl @@ -0,0 +1,657 @@ +<?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}"> + + <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'"/> + </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 ) < 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> | </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> | </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> | </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}"> </td> + <xsl:for-each select="$run_toolsets/platforms/platform"> + <xsl:if test="count(./runs/run/toolset) > 0"> + <td colspan="{count(./runs/run/toolset)}" class="runner"> + <xsl:value-of select="@name"/> + </td> + </xsl:if> + </xsl:for-each> + <td colspan="{$colspan}"> </td> + </tr> + </xsl:if> + + <tr> + <td colspan="{$colspan}"> </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}"> </td> + </tr> + + <tr> + <td colspan="{$colspan}"> </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 < 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}"> </td> + </tr> + + <xsl:if test="$top_or_bottom = 'bottom'"> + <tr> + <td colspan="{$colspan}"> </td> + <xsl:for-each select="$run_toolsets/platforms/platform"> + <xsl:if test="count(./runs/run/toolset) > 0"> + <td colspan="{count(./runs/run/toolset)}" class="runner"> + <xsl:value-of select="@name"/> + </td> + </xsl:if> + </xsl:for-each> + <td colspan="{$colspan}"> </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'"> library / toolset </xsl:when> + <xsl:when test="$mode = 'details'"> test / toolset </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 != ''"> + [ <xsl:value-of select="$author"/> <xsl:value-of select="$date"/> ] + </xsl:when> + <xsl:when test="$author != ''"> + [ <xsl:value-of select="$author"/> ] + </xsl:when> + <xsl:when test="$date != ''"> + [ <xsl:value-of select="$date"/> ] + </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"><toolset></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"><toolset></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..6bc90b22c4 --- /dev/null +++ b/tools/regression/xsl_reports/xsl/v2/html/master.css @@ -0,0 +1,649 @@ +/* + +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; + border-bottom: 1px solid black; +} + +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"> pass </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..58b6ce537a --- /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) > 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://cvs.sourceforge.net/viewcvs.py/*checkout*/boost/boost/{$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://engineering.meta-comm.com/boost-regression/</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) > 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) > 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..364b51e629 --- /dev/null +++ b/tools/regression/xsl_reports/xsl/v2/links_page.xsl @@ -0,0 +1,377 @@ +<?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"/> + + <!-- 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, '>@<', @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/* ) > 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: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: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}"> + <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: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 )"/> + + <head> + <link rel="stylesheet" type="text/css" href="../master.css" title="master" /> + <title>Test output: <xsl:value-of select="$component"/></title> + </head> + + <body> + <div> + <div class="log-test-title"> + Test output: <xsl:value-of select="$component"/> + </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: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 )"/> + + <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-title"> + Test output: <xsl:value-of select="$component"/> + </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..bfb70dd6bf --- /dev/null +++ b/tools/regression/xsl_reports/xsl/v2/result_page.xsl @@ -0,0 +1,690 @@ +<?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 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, '>@<', @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, '>@<', @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'"> <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 CVS "health report", see + <a href="../{$alternate_mode}/index.html" target="_top">developer summary</a>. + </xsl:when> + <xsl:when test="$mode='developer'"> + Provides Boost developers with visual indication of the CVS "health". For user-level + report, see <a href="../{$alternate_mode}/index.html" target="_top">user summary</a>. + </xsl:when> + </xsl:choose> + </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, '>@<', @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>  </xsl:text> + <a href="{$log_link}" class="log-link" target="_top"> + <xsl:copy-of select="$result"/> + </a> + <xsl:text>  </xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:text>  </xsl:text> + <xsl:copy-of select="$result"/> + <xsl:text>  </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 ) > 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 ) < 1"> + <xsl:text>    </xsl:text> + </xsl:when> + + <xsl:when test="count( $test_log[ @result != 'success' and @status = 'expected' ] ) > 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 ) > 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 ) < 1"> + <xsl:text>    </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://cvs.sourceforge.net/viewcvs.py/*checkout*/boost/boost/{$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, '>@<', @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, '>@<', @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' ] )"/> +  |  + Regressions: <xsl:value-of select="count( $test_case_logs[ meta:test_case_status( $explicit_markup, . ) = 'fail-unexpected' ] )"/> +  |  + 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>  </xsl:text> + <a href="{$library_page}{$release_postfix}.html" class="log-link" target="_top"> + <xsl:text>n/a</xsl:text> + </a> + <xsl:text>  </xsl:text> + </xsl:when> + <xsl:when test="$class='summary-missing'"> + <xsl:text>    </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>  </xsl:text> + <a href="{$library_page}{$release_postfix}.html" class="log-link" target="_top"> + <xsl:text>fail</xsl:text> + </a> + <xsl:text>  </xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:text>  OK  </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> </xsl:text> + <a href="{$library_page}{$release_postfix}.html" class="log-link" target="_top"> + <xsl:text>unusable</xsl:text> + </a> + <xsl:text> </xsl:text> + </xsl:when> + <xsl:when test="$class='summary-missing'"> + <xsl:text> no results </xsl:text> + </xsl:when> + <xsl:when test="$class='summary-fail-unexpected'"> + <xsl:text> </xsl:text> + <a href="{$library_page}{$release_postfix}.html" class="log-link" target="_top"> + <xsl:text>regress.</xsl:text> + </a> + <xsl:text> </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> </xsl:text> + <a href="{$library_page}{$release_postfix}.html" class="log-link" target="_top"> + <xsl:text>details</xsl:text> + </a> + <xsl:text> </xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:text> pass </xsl:text> + </xsl:otherwise> + </xsl:choose> + </td> + + </xsl:template> + +</xsl:stylesheet> diff --git a/tools/release/make_tarballs.py b/tools/release/make_tarballs.py new file mode 100644 index 0000000000..10c1bd6acb --- /dev/null +++ b/tools/release/make_tarballs.py @@ -0,0 +1,373 @@ +# Copyright (c) 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) + +import sys +import os +import shutil +import optparse + + +import utils + +my_location = os.path.abspath( os.path.dirname( sys.argv[0] ) ) + +def accept_args( args ): + #( release_version, cvs_tag, sf_user, temp_dir, start_step ) = accept_args( sys.argv[ 1: ] ) + parser = optparse.OptionParser() + parser.add_option( "-v", "--release-version", dest="release_version", metavar="release-version", help="release version (e.g. 1.32.0)") + parser.add_option( "", "--tag", dest="tag", help="CVS tag" ) + parser.add_option( "-r", "--cvs-branch", dest="cvs_branch", metavar="cvs-branch" + , help = "cvs branch to get the sources from (e.g RC_1_32_0). Important: it is case sensitive" ) + parser.add_option( "-u", "--sf-user", dest="sf_user", metavar="sf-user" + , help = "SourceForge user name (for CVS)" ) + parser.add_option( "-t", "--toolset", dest="toolset", help="toolset to use to build needed tools" ) + parser.add_option( "-s", "--start-step", dest="start_step" ) + parser.usage = "make_tarballs [options] target_directory \n\n" + \ + "Requirements:\n" + \ + " CVS:\n"+ \ + " cvs - (windows) to export sources with windows newlines \n" + \ + " /usr/bin/cvs - (cygwin) to export sources with posix newlines\n" + \ + " Utilities:\n" + \ + " mv - (cygwin) posix move\n" + \ + " /usr/bin/find - (cygwin) to export sources with posix newlines\n" + \ + " 7z - to create zipball\n" + \ + " BoostBook generation:\n" + \ + " bjam\n" + \ + " user-config.jam - in user directory ($HOME/%HOME%) for BoostBook generation\n" + \ + " java\n" + \ + " doxygen\n" + + + + ( options, args ) = parser.parse_args( args ) + + temp_dir = None + start_step = None + if ( len( args ) > 0 ): temp_dir = args[0] + + + ( version, tag, user, toolset, start_step ) = ( options.release_version + , options.cvs_branch + , options.sf_user + , options.toolset + , options.start_step ) + + if ( start_step is None ): start_step = "" + + def required( value, name ): + if ( value is None ): + print "%s should be specified." % name + parser.print_help() + sys.exit( 1 ) + + required( version, "version" ) + required( tag, "tag" ) + required( user, "user" ) + required( temp_dir, "temp_dir" ) + required( toolset, "toolset" ) + + return ( version, tag, user, toolset, temp_dir, start_step ) + + +def remove_directory( directory ): + if os.path.exists( directory ): + print " Removing directory %s" % directory + os.system( 'rd /s /q "%s"' % directory ) + +def clean_directory( directory ): + remove_directory( directory ) + print " Creating directory %s" % directory + os.makedirs( directory ) + +def listdir_recursively( root, path="" ): + # recursive listdir + files = [] + try: + for file in os.listdir(os.path.join(root, path)): + pathname = os.path.join(path, file) + if os.path.isdir(os.path.join(root, pathname)): + files.extend(listdir_recursively(root, pathname)) + else: + files.append(pathname) + except OSError: + pass + return files + +def find_file( root, name ): + print root + files = listdir_recursively( root ) + for file in files: + # print file + if os.path.basename( file ) == name: + return os.path.join( root, file ) + return None + +start_dir = os.getcwd() + +class make_tarballs( utils.step_controller ): + def __init__( self, release_version, cvs_tag, sf_user, toolset, temp_dir, start_step ): + utils.step_controller.__init__( self, start_step ) + self.release_version_ = release_version + self.cvs_tag_ = cvs_tag + self.sf_user_ = sf_user + self.toolset_ = toolset + self.temp_dir_ = temp_dir + + def run( self ): + archives = [] + + win_build_results = self.build_win( self.release_version_ + , self.cvs_tag_ + , self.sf_user_ + , self.temp_dir_ ) + archives.extend( win_build_results[1] ) + + archives.extend( self.build_unix( self.release_version_ + , self.cvs_tag_ + , self.sf_user_ + , self.temp_dir_ + , win_build_results[0] ) ) + + + # os.chdir( start_dir ) + # for archive in archives: + # shutil.copy( archive, start_dir ) + + + def make_temp_platform( self, temp, platform ): + temp_platform = os.path.join( temp, platform ) + if not self.is_skipping(): + clean_directory( temp_platform ) + return temp_platform + + def cvs_export( self, sf_user, cvs_tag, release_version, shell = "%s" ): + if not self.is_skipping(): + print " Exporting..." + cvs_export_template = 'cvs -d:ext:%(user)s@cvs.sourceforge.net:/cvsroot/boost -z9 export -r %(branch)s boost' + + cmd = cvs_export_template % { "user": sf_user + , "branch" : cvs_tag } + + print cmd + os.system( shell % cmd ) + os.system( "del /S/F/Q .cvsignore >nul" ) + # have to use mv instead of os.rename - cygwin cvs sets strange directory permssions + # which Windows rename or Python's os.rename cannot deal with + os.system( "mv boost boost_%s" % release_version ) + return "boost_%s" % release_version + + def build_win( self, release_version, cvs_tag, sf_user, temp_dir ): + + if "win.export": + self.start_step( "win.export", "Exporting windows copy" ) + + temp_win = self.make_temp_platform( temp_dir, "win" ) + os.chdir( temp_win ) + + exported_dir = self.cvs_export( sf_user, cvs_tag, release_version ) + self.finish_step( "win.export" ) + + self.make_docs( os.path.abspath( exported_dir ), temp_dir ) + + if self.start_step( "win.make_readonly", "Making all files writable" ): + os.chdir( temp_win ) + utils.checked_system( [ "attrib /S -R *.*" ] ) + self.finish_step( "win.make_readonly" ) + + zip_name = "boost_%s.zip" % release_version + os.chdir( temp_win ) + + + if self.start_step( "win.zip", " Zipping" ): + print " Zipping" + if os.path.exists( zip_name ): os.unlink( zip_name ) + + utils.checked_system( ["7z a -r -tzip %s %s\* > %s" % ( zip_name, "boost_%s" % release_version, zip_name + ".log" ) ] ) + self.finish_step( "win.zip" ) + + + return ( os.path.abspath( exported_dir ), [ os.path.abspath( zip_name ) ] ) + + def make_docs( self, boost_directory, temp_dir ): + boostbook_temp = os.path.join( boost_directory, "bin.v2" ) + tools_directory = os.path.join( temp_dir, "tools" ) + if not os.path.exists( tools_directory ): + os.makedirs( tools_directory ) + + if self.start_step( "win.make_docs.setup_tools", "Setting up BoostBook tools" ): + sys.path.append( sys.path[0] + "/../boostbook" ) + print sys.path + import setup_boostbook + os.environ[ "BOOST_ROOT" ] = boost_directory + setup_boostbook.setup_boostbook( os.path.join( temp_dir, "tools" ) ) + + if self.start_step( "win.make_docs.clean", "Clearing \"bin.v2" ): + if os.path.exists( boostbook_temp ): + shutil.rmtree( boostbook_temp ) + self.finish_step( "win.make_docs.clean" ) + + + cd = os.getcwd() + os.chdir( os.path.join( boost_directory, "doc" ) ) + + if self.start_step( "win.make_docs.correct_permissions", "Making html's writable" ): + utils.checked_system( + [ + "cd html" + , "attrib -R *" + , "cd .." + ] ) + self.finish_step( "win.make_docs.correct_permissions" ) + + def generate( output_format ): + if self.start_step( "win.make_docs.%s" % output_format, ' Generating %s' % output_format ): + utils.checked_system( [ + # "set HOME=%s" % my_location + "%s -d2 --v2 %s " % ( bjam_path(), output_format ) + ] ) + self.finish_step( "win.make_docs.%s" % output_format ) + + generate( "html" ) + generate( "docbook" ) + generate( "fo" ) + + if self.start_step( "win.make_docs.copy_docs", "Copying docs into doc directory" ): + shutil.copy( os.path.join( boostbook_temp, "doc", self.toolset_, "debug", "boost.docbook" ), "boost.docbook" ) + shutil.copy( os.path.join( boostbook_temp, "doc", self.toolset_, "debug", "boost.fo" ), "boost.fo" ) + self.finish_step( "win.make_docs.copy_docs" ) + + + if self.start_step( "win.make_docs.clean2", "Copying docs into doc directory" ): + shutil.rmtree( boostbook_temp ) + shutil.rmtree( "xml" ) + self.finish_step( "win.make_docs.clean2" ) + + if self.start_step( "win.make_docs.bb_userman", "Creating Boost.Build user manual" ): + os.chdir( os.path.join( boost_directory, "tools", "build", "v2", "doc" ) ) + + utils.checked_system( [ +# "set HOME=%s" % my_location + "%s -d2 --v2 pdf" % bjam_path() + ] ) + + for f in [ "userman.pdf" ]: + shutil.copy( find_file( os.path.join( boostbook_temp ), f ), f ) + + shutil.rmtree( boostbook_temp ) + self.finish_step( "win.make_docs.bb_userman" ) + + if self.start_step( "win.make_docs.clean3", boost_directory ): + for i in os.walk( boost_directory ): + for f in i[2]: + full_path = os.path.join( i[0], f ) + if os.path.splitext( f )[1] in [ ".boostbook" ] \ + and os.access( full_path, os.W_OK ): + os.unlink( full_path ) + self.finish_step( "win.make_docs.clean3" ) + + + def correct_executable_permissions( self, path ): + if not self.is_skipping(): + print " Correcting permissions" + for i in os.walk( path ): + for f in i[2]: + if os.path.splitext( f )[1] in ( ".css", ".hpp", ".cpp",\ + ".html", ".htm", ".rst", \ + ".pdf", ".xml", ".png",\ + ".jpg", ".vcproj", ".pattern2", \ + ".jam", ".bat", ".sty", ".diff" ) \ + or os.path.basename( f ).lower() in ( "jamfile", "todo", "makefile", "jamrules", "gnumakefile" ): + print os.path.join( i[0], f ) + os.system( "chmod a-x %s" % os.path.join( i[0], f ) ) + + + def build_unix( self, release_version, cvs_tag, sf_user, temp_dir, win_build_dir ): + + self.start_step( "unix.export", "Exporting unix copy" ) + + temp_unix = self.make_temp_platform( temp_dir, "unix" ) + os.chdir( temp_unix ) + + exported_dir = self.cvs_export( sf_user, cvs_tag, release_version, "bash -c \"/usr/bin/%s\"" ) + self.correct_executable_permissions( "." ) + self.finish_step( "unix.export" ) + + self.copy_docs_to_unix( os.path.abspath( exported_dir ) + , win_build_dir ) + + if self.start_step( "unix.make_readonly", "Making all files readonly" ): + utils.checked_system( [ "chmod -R a-w+r,u+w %s" % temp_unix ] ) + utils.checked_system( [ "bash -c /usr/bin/find %s -type d -exec chmod u+w {} ;" % temp_unix ] ) + self.finish_step( "unix.make_readonly" ) + + gz_archive_name = "boost_%s" % release_version + ".tar.gz" + if self.start_step( "unix.gz", " Making .gz" ): + if os.path.exists( gz_archive_name ): os.unlink( gz_archive_name ) + os.system( "tar cfz %s %s" % ( gz_archive_name, "boost_%s" % release_version ) ) + self.finish_step( "unix.gz" ) + + bz2_archive_name = "boost_%s" % release_version + ".tar.bz2" + if self.start_step( "unix.bz2", " Making .bz2" ): + if os.path.exists( bz2_archive_name ): os.unlink( bz2_archive_name ) + os.system( 'bash -c "gunzip -c %s | bzip2 > %s"' % ( gz_archive_name, bz2_archive_name ) ) + self.finish_step( "unix.bz2" ) + + return [ os.path.abspath( x ) for x in ( gz_archive_name, bz2_archive_name ) ] + + def remove_x_permission( self, directory ): + for i in os.walk( directory ): + for f in i[1]: + os.system( "chmod a=xr,u=rwx %s" % os.path.join( i[0], f ) ) + for f in i[2]: + os.system( "chmod a=r,u=rw %s" % os.path.join( i[0], f ) ) + + def copy_docs_to_unix( self, unix_boost_directory, win_boost_directory ): + if self.start_step( "unix.copy_docs", "Copying docs to unix copy" ): + doc_directory = os.path.join( unix_boost_directory, "doc" ) + doc_html_directory = os.path.join( doc_directory, "html" ) + remove_directory( doc_html_directory ) + utils.checked_system( [ + "cp -R %s %s " % ( os.path.join( win_boost_directory, "doc", "html" ) + , doc_html_directory ) + ] ) + for f in [ "boost.docbook", "boost.fo" ]: + utils.checked_system( [ + "cp %s %s" % ( os.path.join( win_boost_directory, "doc", f ) + , os.path.join( doc_directory, f ) ) + ] ) + + self.remove_x_permission( doc_directory ) + + boost_build_doc_directory = os.path.join( unix_boost_directory, "tools", "build", "v2", "doc" ) + boost_build_doc_html_directory = os.path.join( boost_build_doc_directory, "html" ) + + remove_directory( boost_build_doc_html_directory ) + utils.checked_system( [ + "cp -R %s %s " % ( os.path.join( win_boost_directory, "tools", "build", "v2", "doc", "html" ) + , boost_build_doc_html_directory ) ] ) + + for f in [ "userman.pdf" ]: + utils.checked_system( [ + "cp %s %s " % ( os.path.join( win_boost_directory, "tools", "build", "v2", "doc", f ) + , os.path.join( boost_build_doc_directory, f ) ) ] ) + + self.remove_x_permission( boost_build_doc_directory ) + self.finish_step( "unix.copy_docs" ) + + +def bjam_path(): + if os.path.exists( os.path.join( my_location, "bjam.exe" ) ): + return os.path.join( my_location, "bjam.exe" ) + else: + return "bjam.exe" + +def main(): + ( release_version, cvs_tag, sf_user, toolset, temp_dir, start_step ) = accept_args( sys.argv[ 1: ] ) + + make_tarballs( release_version, cvs_tag, sf_user, toolset, temp_dir, start_step ).run() + +if __name__ == "__main__": + main() diff --git a/tools/release/user-config.jam b/tools/release/user-config.jam new file mode 100644 index 0000000000..09b667991a --- /dev/null +++ b/tools/release/user-config.jam @@ -0,0 +1,73 @@ +# Copyright 2003 Vladimir Prus +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) + +# This file is used to configure your Boost.Build installation. Please read +# the user manual to find out where to put it. + +# Toolset declarations are most important in this file. The tell Boost.Build +# what compilers are available and where to look for them. The first toolset +# will become "default" one. +# Some important libraries can also be configured. +# Uncomment relevant parts to suite your local configuration and preferences. + +import toolset : using ; + +# GCC configuration + +# Configure gcc (default version) +# using gcc ; + +# Configure specific gcc version, giving alternative name to use +# using gcc : 3.2 g++-3.2 ; + +# MSVC configuration + +# Configure msvc (default version, searched in standard location +# and PATH). +# using msvc ; + +# Borland configuration +# using borland ; + + +# STLPort configuration + +# Configure, specifying location of STLPort headers. +# Libraries must be either not needed, or available to +# the compiler by default +# using stlport : /usr/include/stlport ; + +# Configure, specifying locatioh of both headers and libraries +# using stlport : /usr/include/stlport : /usr/lib ; + + +# QT configuration + +# Configure, assuming QTDIR gives the installation prefix +# using qt ; + +# Configure with explicit installation prefix +# using qt : /usr/opt/qt ; + +# xsltproc (from libxslt) configuration +using xsltproc ; + +# BoostBook configuration +# using boostbook ; + using boostbook : C:/Progra~1/docbook-xsl/docbook-xsl-1.66.1 + : C:/Progra~1/docbook/4.2 + ; + using doxygen : C:/Progra~1/doxygen/bin/doxygen.exe ; + + using fop : C:/PROGRA~1/fop/FOP-02~1.4 + : C:/WINDOWS/system32/java.exe + ; + + + + + + + + diff --git a/tools/release/utils.py b/tools/release/utils.py new file mode 100644 index 0000000000..c72ab2d91f --- /dev/null +++ b/tools/release/utils.py @@ -0,0 +1,52 @@ +import string + +import os + +class failure_exception: + def __init__( self, rc ): + self.rc_ = rc + + def __str__( self ): + return "rc: %d" % self.rc_ + +def system( commands ): + if os.path.exists( "tmp.cmd" ): + os.chmod( "tmp.cmd", 0777 ) + os.unlink( "tmp.cmd" ) + + f = open( "tmp.cmd", "w" ) + f.write( string.join( commands, "\n" ) ) + f.close() + rc = os.system( "tmp.cmd" ) + os.chmod( "tmp.cmd", 0777 ) + os.unlink( "tmp.cmd" ) + return rc + +def checked_system( commands, valid_return_codes = [ 0 ] ): + rc = system( commands ) + if rc not in [ 0 ] + valid_return_codes: raise failure_exception( rc ) + return rc + +class step_controller: + def __init__( self, start_step ): + self.current_step_ = None; + self.skip_to_step_ = start_step + + def start_step( self, step_name, start_message ): + self.current_step_ = step_name + if self.is_skipping( step_name ): + print "[%s] Skipping." % step_name + return 0 + else: + self.skip_to_step_ = "" + print "[%s] %s" % ( step_name, start_message ) + return 1 + + def finish_step( self, step_name ): + print "[%s] Finished" % step_name + + def is_skipping( self, step_name = None ): + if step_name is None: step_name = self.current_step_ + return self.skip_to_step_ != "" and self.skip_to_step_ != step_name + + |