[pygccxml-commit] SF.net SVN: pygccxml:[1489] pygccxml_dev
Brought to you by:
mbaas,
roman_yakovenko
|
From: <rom...@us...> - 2008-12-23 20:45:27
|
Revision: 1489
http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1489&view=rev
Author: roman_yakovenko
Date: 2008-12-23 20:45:17 +0000 (Tue, 23 Dec 2008)
Log Message:
-----------
commenting out pdb tests
Modified Paths:
--------------
pygccxml_dev/unittests/autoconfig.py
pygccxml_dev/unittests/core_tester.py
pygccxml_dev/unittests/declarations_tester.py
Property Changed:
----------------
pygccxml_dev/pygccxml/msvc/bsc/
pygccxml_dev/pygccxml/msvc/mspdb/
Property changes on: pygccxml_dev/pygccxml/msvc/bsc
___________________________________________________________________
Added: svn:ignore
+ *.pyc
Property changes on: pygccxml_dev/pygccxml/msvc/mspdb
___________________________________________________________________
Added: svn:ignore
+ *.pyc
Modified: pygccxml_dev/unittests/autoconfig.py
===================================================================
--- pygccxml_dev/unittests/autoconfig.py 2008-12-23 20:43:00 UTC (rev 1488)
+++ pygccxml_dev/unittests/autoconfig.py 2008-12-23 20:45:17 UTC (rev 1489)
@@ -34,11 +34,16 @@
pygccxml.declarations.class_t.USE_DEMANGLED_AS_NAME = True
class cxx_parsers_cfg:
-
keywd = { 'working_directory' : data_directory
- , 'define_symbols' : [ gccxml_version ]
+ , 'define_symbols' : [ gccxml_version ]#, '_HAS_TR1 0' ]
, 'compiler' : compiler }
+ if 'win' in sys.platform:
+ keywd['define_symbols'].append( '__PYGCCXML_%s__' % compiler.upper() )
+ if 'msvc9' == compiler:
+ keywd['define_symbols'].append( '_HAS_TR1=0' )
+
+
if os.path.exists( os.path.join( gccxml_path, 'gccxml' ) ) \
or os.path.exists( os.path.join( gccxml_path, 'gccxml.exe' ) ):
keywd[ 'gccxml_path'] = gccxml_path
@@ -52,9 +57,9 @@
#~ pdb_loader = mspdb.decl_loader_t( pdb_file )
#~ pdb_loader.read()
-def get_pdb_global_ns():
- if cxx_parsers_cfg.pdb_loader:
- return cxx_parsers_cfg.pdb_loader.global_ns
+#~ def get_pdb_global_ns():
+ #~ if cxx_parsers_cfg.pdb_loader:
+ #~ return cxx_parsers_cfg.pdb_loader.global_ns
#~ try:
#~ import pydsc
Modified: pygccxml_dev/unittests/core_tester.py
===================================================================
--- pygccxml_dev/unittests/core_tester.py 2008-12-23 20:43:00 UTC (rev 1488)
+++ pygccxml_dev/unittests/core_tester.py 2008-12-23 20:45:17 UTC (rev 1489)
@@ -21,8 +21,8 @@
root = normalize_path( root )
some_path = normalize_path( some_path )
return some_path.startswith( root )
-
+
class core_t( parser_test_case.parser_test_case_t ):
"""Tests core algorithms of GCC-XML and GCC-XML file reader.
Those most white-box testing.
@@ -392,8 +392,8 @@
suite.addTest( unittest.makeSuite(core_all_at_once_no_opt_t))
suite.addTest( unittest.makeSuite(core_file_by_file_t))
suite.addTest( unittest.makeSuite(core_file_by_file_no_opt_t))
- if autoconfig.cxx_parsers_cfg.pdb_loader:
- suite.addTest( unittest.makeSuite(pdb_based_core_tester_t))
+ #~ if autoconfig.cxx_parsers_cfg.pdb_loader:
+ #~ suite.addTest( unittest.makeSuite(pdb_based_core_tester_t))
return suite
def run_suite():
Modified: pygccxml_dev/unittests/declarations_tester.py
===================================================================
--- pygccxml_dev/unittests/declarations_tester.py 2008-12-23 20:43:00 UTC (rev 1488)
+++ pygccxml_dev/unittests/declarations_tester.py 2008-12-23 20:45:17 UTC (rev 1489)
@@ -198,8 +198,8 @@
suite = unittest.TestSuite()
suite.addTest( unittest.makeSuite(file_by_file_tester_t))
suite.addTest( unittest.makeSuite(all_at_once_tester_t))
- if sys.platform == 'win32' and autoconfig.get_pdb_global_ns():
- suite.addTest( unittest.makeSuite(pdb_based_tester_t))
+ #~ if sys.platform == 'win32' and autoconfig.get_pdb_global_ns():
+ #~ suite.addTest( unittest.makeSuite(pdb_based_tester_t))
return suite
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|