Hi !
I'am a french PhD student who love C++ and Python... and who just discovered pygccxml and Py++ wih much delight :-)
I've downloaded current CVS release of GCC-XML then current pygccxml (0.9.5) and Py++ (0.9.5).
The pygccxml setup worked ran without any problem but some of the unittest failed (cf. below).
As for the Py++ setup it also ran without any problem but the unit test crash at lauch time :
***********
Py++-0.9.5/unittests$ python test_all.py
pygccxml INSTALLED version will be used
Traceback (most recent call last):
File "test_all.py", line 11, in <module>
import autoconfig
File "/home/at216043/Logiciels/Py++-0.9.5/unittests/autoconfig.py", line 24, in <module>
class scons_config:
File "/home/at216043/Logiciels/Py++-0.9.5/unittests/autoconfig.py", line 26, in scons_config
libpath = [ python.libs ] + boost.libs
TypeError: can only concatenate list (not "str") to list
**********
I'am running a Ubuntu box on an PC:
$ uname -a
Linux Anthony-Truchet 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux
If I can help by providing other info or by doing some tests, let me know :-)
Any way thanks to all for this very nice and powerful tools !
--
Anthony
.../pygccxml-0.9.5/unittests$ python test_all.py
[...]
======================================================================
FAIL: test_split_bug_fptr (templates_tester.tester_t)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/at216043/Logiciels/pygccxml-0.9.5/unittests/templates_tester.py", line 65, in test_split_bug_fptr
self.failUnless( len(x) == 4 )
AssertionError
======================================================================
FAIL: test_constructor_patcher (patcher_tester.tester_32_t)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/at216043/Logiciels/pygccxml-0.9.5/unittests/patcher_tester.py", line 69, in test_constructor_patcher
self.failUnless( clone_tree.arguments[0].default_value in default_values)
AssertionError
************************************
Logged In: YES
user_id=1084190
Originator: NO
Thanks for nice words. I am aware of these problems. The second one is even documented and could not be fixed. I probably need to update the unit tester.
Thank you.