Update of /cvsroot/boost/boost/libs/python/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17603/libs/python/test

Modified Files:
      Tag: RC_1_34_0
        test_builtin_converters.py test_builtin_converters.cpp 
Log Message:
fix builtin_converters test so it can work (BBv1 allowed the
duplication of main target names; BBv2 does not)


Index: test_builtin_converters.py
===================================================================
RCS file: /cvsroot/boost/boost/libs/python/test/test_builtin_converters.py,v
retrieving revision 1.20
retrieving revision 1.20.4.1
diff -u -d -r1.20 -r1.20.4.1
--- test_builtin_converters.py  10 Feb 2006 17:26:06 -0000      1.20
+++ test_builtin_converters.py  17 Mar 2007 20:26:21 -0000      1.20.4.1
@@ -2,7 +2,7 @@
 # Software License, Version 1.0. (See accompanying
 # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 r"""
->>> from builtin_converters import *
+>>> from builtin_converters_ext import *
 
 # Synthesize idendity functions in case long long not supported
 >>> if not 'rewrap_value_long_long' in dir():
@@ -250,9 +250,9 @@
 def run(args = None):
     import sys
     import doctest
-    import builtin_converters
+    import builtin_converters_ext
     
-    if 'rewrap_value_long_long' in dir(builtin_converters):
+    if 'rewrap_value_long_long' in dir(builtin_converters_ext):
         print 'LONG_LONG supported, testing...'
     else:
         print 'LONG_LONG not supported, skipping those tests...'

Index: test_builtin_converters.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/python/test/test_builtin_converters.cpp,v
retrieving revision 1.19
retrieving revision 1.19.4.1
diff -u -d -r1.19 -r1.19.4.1
--- test_builtin_converters.cpp 14 Oct 2005 15:54:12 -0000      1.19
+++ test_builtin_converters.cpp 17 Mar 2007 20:26:21 -0000      1.19.4.1
@@ -57,7 +57,7 @@
 
 object identity_(object x) { return x; }
 
-BOOST_PYTHON_MODULE(builtin_converters)
+BOOST_PYTHON_MODULE(builtin_converters_ext)
 {    
     def("get_type", get_type);
     def("return_null_handle", return_null_handle);


-------------------------------------------------------------------------
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

Reply via email to