[pygccxml-commit] SF.net SVN: pygccxml: [1347] pygccxml_dev/unittests
Brought to you by:
mbaas,
roman_yakovenko
|
From: <rom...@us...> - 2008-06-24 05:23:35
|
Revision: 1347
http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1347&view=rev
Author: roman_yakovenko
Date: 2008-06-23 22:23:42 -0700 (Mon, 23 Jun 2008)
Log Message:
-----------
small unit tests improvements
Modified Paths:
--------------
pygccxml_dev/unittests/complex_types_tester.py
pygccxml_dev/unittests/declarations_tester.py
Modified: pygccxml_dev/unittests/complex_types_tester.py
===================================================================
--- pygccxml_dev/unittests/complex_types_tester.py 2008-06-24 05:18:03 UTC (rev 1346)
+++ pygccxml_dev/unittests/complex_types_tester.py 2008-06-24 05:23:42 UTC (rev 1347)
@@ -3,6 +3,7 @@
# accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
+import sys
import unittest
import autoconfig
import parser_test_case
@@ -30,12 +31,13 @@
pass
def create_suite():
- suite = unittest.TestSuite()
- suite.addTest( unittest.makeSuite(tester_t))
+ suite = unittest.TestSuite()
+ if sys.platform != 'win32':
+ suite.addTest( unittest.makeSuite(tester_t))
return suite
def run_suite():
unittest.TextTestRunner(verbosity=2).run( create_suite() )
if __name__ == "__main__":
- run_suite()
\ No newline at end of file
+ run_suite()
Modified: pygccxml_dev/unittests/declarations_tester.py
===================================================================
--- pygccxml_dev/unittests/declarations_tester.py 2008-06-24 05:18:03 UTC (rev 1346)
+++ pygccxml_dev/unittests/declarations_tester.py 2008-06-24 05:23:42 UTC (rev 1347)
@@ -198,7 +198,7 @@
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':
+ 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.
|