Update of /cvsroot/boost/boost/tools/regression/xsl_reports/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv32023/xsl_reports/test
Modified Files:
common.py
Log Message:
Merge regression reports fixed from RC_1_34_0
Index: common.py
===================================================================
RCS file: /cvsroot/boost/boost/tools/regression/xsl_reports/test/common.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- common.py 9 May 2005 05:44:45 -0000 1.5
+++ common.py 20 Feb 2007 10:26:23 -0000 1.6
@@ -45,10 +45,9 @@
toolset_name = make_toolset_name( toolset_idx )
target_directory = ""
-
- if test_type == "run":
+ if test_type != "lib":
target_directory = make_test_target_directory( library_idx,
toolset_idx, test_name, variant )
- if test_type == "lib":
+ else:
target_directory = make_library_target_directory( library_idx,
toolset_idx, variant )
xml_generator.startElement( "test-log", { "library": library
@@ -59,25 +58,29 @@
, "target-directory": target_directory
, "show-run-output": show_run_output
} )
- if test_type == "run":
- xml_generator.startElement( "compile", { "result": "success" } );
- xml_generator.characters( "Compiling in %s" % target_directory )
- xml_generator.endElement( "compile" )
-
- xml_generator.startElement( "lib", { "result": test_result } );
- xml_generator.characters( make_library_target_directory( library_idx,
toolset_idx ) )
- xml_generator.endElement( "lib" )
+ if test_type != "lib":
- xml_generator.startElement( "link", { "result": "success" } );
- xml_generator.characters( "Linking in %s" % target_directory )
- xml_generator.endElement( "link" )
+ 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" )
- xml_generator.startElement( "run", { "result": test_result } );
- xml_generator.characters( "Running in %s" % target_directory )
- xml_generator.endElement( "run" )
+ 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" )
- if test_type == "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" )
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs