Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55360 - in sandbox-branches/bhy/py3k: libs/python/test tools/build/v2/tools
From: divinekid_at_[hidden]
Date: 2009-08-02 02:20:15


Author: bhy
Date: 2009-08-02 02:20:14 EDT (Sun, 02 Aug 2009)
New Revision: 55360
URL: http://svn.boost.org/trac/boost/changeset/55360

Log:
some debugging code for python.jam and add a dummy enum.py as dependent of polymorphism2_auto_ptr for testing
Text files modified:
   sandbox-branches/bhy/py3k/libs/python/test/Jamfile.v2 | 2 +-
   sandbox-branches/bhy/py3k/tools/build/v2/tools/python.jam | 18 ++++++++++++++++++
   2 files changed, 19 insertions(+), 1 deletions(-)

Modified: sandbox-branches/bhy/py3k/libs/python/test/Jamfile.v2
==============================================================================
--- sandbox-branches/bhy/py3k/libs/python/test/Jamfile.v2 (original)
+++ sandbox-branches/bhy/py3k/libs/python/test/Jamfile.v2 2009-08-02 02:20:14 EDT (Sun, 02 Aug 2009)
@@ -82,7 +82,7 @@
 
 [ bpl-test wrapper_held_type ]
 [ bpl-test polymorphism2_auto_ptr
- : polymorphism2_auto_ptr.py polymorphism2.py polymorphism2_auto_ptr.cpp
+ : polymorphism2_auto_ptr.py enum.py polymorphism2.py polymorphism2_auto_ptr.cpp
 ]
 
 [ bpl-test auto_ptr ]

Modified: sandbox-branches/bhy/py3k/tools/build/v2/tools/python.jam
==============================================================================
--- sandbox-branches/bhy/py3k/tools/build/v2/tools/python.jam (original)
+++ sandbox-branches/bhy/py3k/tools/build/v2/tools/python.jam 2009-08-02 02:20:14 EDT (Sun, 02 Aug 2009)
@@ -1112,6 +1112,15 @@
         local python ;
         local other-pythons ;
     
+ #XXX(bhy) DEBUG CODE BEGIN
+ ECHO beforerun= ;
+ for local s in $(sources)
+ {
+ ECHO [ $(s).name ] ;
+ }
+ ECHO ;
+ #XXX(bhy) DEBUG CODE END
+
         # Make new target that converting Python source by 2to3 when running with Python 3.
         local rule make-2to3-source ( source )
         {
@@ -1263,7 +1272,16 @@
 
 rule bpl-test ( name : sources * : requirements * )
 {
+ local s ;
     sources ?= $(name).py $(name).cpp ;
+ #XXX(bhy) DEBUG CODE BEGIN
+ ECHO bpl-test= ;
+ for local s in $(sources)
+ {
+ ECHO $(s) ;
+ }
+ ECHO ;
+ #XXX(bhy) DEBUG CODE END
     return [ testing.make-test run-pyd : $(sources) /boost/python//boost_python
         : $(requirements) : $(name) ] ;
 }


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