[pygccxml-commit] SF.net SVN: pygccxml:[1703] pyplusplus_dev/unittests
Brought to you by:
mbaas,
roman_yakovenko
From: <rom...@us...> - 2009-04-23 10:29:21
|
Revision: 1703 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1703&view=rev Author: roman_yakovenko Date: 2009-04-23 10:29:18 +0000 (Thu, 23 Apr 2009) Log Message: ----------- porting tests to boost 1.39, Python 2.6 and Visual Studio 2008 Modified Paths: -------------- pyplusplus_dev/unittests/autoconfig.py pyplusplus_dev/unittests/test_all.py Added Paths: ----------- pyplusplus_dev/unittests/gccxml.cfg Property Changed: ---------------- pyplusplus_dev/unittests/ Property changes on: pyplusplus_dev/unittests ___________________________________________________________________ Modified: svn:ignore - *.pyc + *.pyc temp Modified: pyplusplus_dev/unittests/autoconfig.py =================================================================== --- pyplusplus_dev/unittests/autoconfig.py 2009-04-23 10:22:07 UTC (rev 1702) +++ pyplusplus_dev/unittests/autoconfig.py 2009-04-23 10:29:18 UTC (rev 1703) @@ -44,7 +44,12 @@ libs = [] libpath = [ python.libs ] + boost.libs cpppath = [ boost.include, python.include, build_directory ] #indexing_suite.include ] - include_dirs = cpppath + [data_directory] + include_dirs = cpppath + [data_directory] + cxx_parsers_cfg.gccxml.include_paths + if cxx_parsers_cfg.gccxml.compiler == 'msvc9': + libpath.append( r'C:\Program Files\Microsoft Visual Studio 9.0\VC\lib' ) + libpath.append( r'C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib' ) + include_dirs.append( r'C:\Program Files\Microsoft Visual Studio 9.0\VC\include' ) + include_dirs.append( r'C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include' ) @staticmethod def create_sconstruct(): Added: pyplusplus_dev/unittests/gccxml.cfg =================================================================== --- pyplusplus_dev/unittests/gccxml.cfg (rev 0) +++ pyplusplus_dev/unittests/gccxml.cfg 2009-04-23 10:29:18 UTC (rev 1703) @@ -0,0 +1,13 @@ +[gccxml] +#path to gccxml executable file - optional, if not provided, os.environ['PATH'] +#variable is used to find it +gccxml_path= +#gccxml working directory - optional, could be set to your source code directory +working_directory= +#additional include directories, separated by ';' or ':' +include_paths= +#gccxml has a nice algorithms, which selects what C++ compiler to emulate. +#You can explicitly set what compiler it should emulate. +#Valid options are: g++, msvc6, msvc7, msvc71, msvc8, cl. +compiler=msvc9 +#GCC-XML site: http://gccxml.org/ Modified: pyplusplus_dev/unittests/test_all.py =================================================================== --- pyplusplus_dev/unittests/test_all.py 2009-04-23 10:22:07 UTC (rev 1702) +++ pyplusplus_dev/unittests/test_all.py 2009-04-23 10:29:18 UTC (rev 1703) @@ -244,7 +244,7 @@ test_file_name = self.module.__file__ if test_file_name.endswith( 'pyc' ): test_file_name = test_file_name[:-1] - command_line = ' '.join([ sys.executable, test_file_name ]) + command_line = ' '.join([ '"%s"' % sys.executable, test_file_name ]) input_, output = os.popen4( command_line ) input_.close() report = [] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |