Commits

Eli Bendersky  committed 3ebbe34

finalize issue 74 fix

  • Participants
  • Parent commits 5d711b5

Comments (0)

Files changed (2)

   - Issues 64 & 65: added some more headers and typedefs to fake includes.
   - Refactoring the cpp invocation in parse_file into a separate function, which
     can also be used as a utility.
+  - Issue 74: some Windows include paths were handled incorrectly.
 
 + Version 2.07 (16.06.2012)
 

File tests/test_general.py

         self.assertTrue(isinstance(ast2, c_ast.FileAST))
 
     def test_cpp_funkydir(self):
+        # This test contains Windows specific path escapes
+        if sys.platform != 'win32':
+            return
+
         c_files_path = os.path.join('tests', 'c_files')
         ast = parse_file(self._find_file('simplemain.c'), use_cpp=True,
             cpp_path=CPPPATH, cpp_args='-I%s' % c_files_path)