Update of /cvsroot/boost/boost/tools/regression/xsl_reports
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv15933
Modified Files:
boost_wide_report.py
Log Message:
Do not terminate reports generation because of a particular result file's errors
Index: boost_wide_report.py
===================================================================
RCS file:
/cvsroot/boost/boost/tools/regression/xsl_reports/boost_wide_report.py,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- boost_wide_report.py 8 May 2007 11:40:34 -0000 1.23
+++ boost_wide_report.py 12 May 2007 05:35:10 -0000 1.24
@@ -304,19 +304,22 @@
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_
- }
- )
-
+ try:
+ 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_
+ }
+ )
+ except Exception, msg:
+ utils.log( ' Skipping "%s" due to errors (%s)' % ( self.source_,
msg ) )
+
open( self.file_path_, "w" ).close()
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs