Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49772 - trunk/tools/regression/src
From: ghost_at_[hidden]
Date: 2008-11-15 10:10:20


Author: vladimir_prus
Date: 2008-11-15 10:10:20 EST (Sat, 15 Nov 2008)
New Revision: 49772
URL: http://svn.boost.org/trac/boost/changeset/49772

Log:
Work towards Boost.Build testing. Create dummy Boost.Build test results
for all toolsets.

Text files modified:
   trunk/tools/regression/src/regression.py | 16 ++++++++++++++++
   1 files changed, 16 insertions(+), 0 deletions(-)

Modified: trunk/tools/regression/src/regression.py
==============================================================================
--- trunk/tools/regression/src/regression.py (original)
+++ trunk/tools/regression/src/regression.py 2008-11-15 10:10:20 EST (Sat, 15 Nov 2008)
@@ -310,6 +310,7 @@
 
         if "test" in args:
             self.command_test_run()
+ self.command_test_boost_build()
 
         if "process" in args:
             if self.pjl_toolset != 'python':
@@ -341,6 +342,21 @@
         utils.system( [ test_cmd ] )
         os.chdir( cd )
 
+ def command_test_boost_build(self):
+ self.import_utils()
+ self.log( 'Running Boost.Build tests' )
+ # Find the true names of the toolsets used for testing
+ toolsets = os.listdir(os.path.join(self.regression_results,
+ "boost/bin.v2/libs/any/test/any_test.test"));
+ for t in toolsets:
+ d = os.path.join(self.regression_results, ("boost-build-%s" % (t)))
+ utils.makedirs (d)
+ f = open(os.path.join(d, "test_log.xml"), "w")
+ f.write("""
+<test-log library="build" test-name="module_actions" test-type="run" toolset="%s">
+<run result="succeed"/>
+</test-log>""" % (t))
+
     def command_test_process(self):
         self.import_utils()
         self.log( 'Getting test case results out of "%s"...' % self.regression_log )


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk