diff options
author | Eli Bendersky <eliben@gmail.com> | 2012-03-14 06:20:58 +0200 |
---|---|---|
committer | Eli Bendersky <eliben@gmail.com> | 2012-03-14 06:20:58 +0200 |
commit | a2bafdebaa22eb092c6ff459b66fe927a2bcf2f6 (patch) | |
tree | e006fde806b43b52143cdf2c8d29173b4826d05c /tests/test_general.py | |
parent | 897898a9d1bbebbbfdb3f76c60f79ab11961e236 (diff) | |
download | pycparser-a2bafdebaa22eb092c6ff459b66fe927a2bcf2f6.tar.gz |
make test_general.py succeed also when run from the tests/ dir
Diffstat (limited to 'tests/test_general.py')
-rw-r--r-- | tests/test_general.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_general.py b/tests/test_general.py index 4b62002..bde6798 100644 --- a/tests/test_general.py +++ b/tests/test_general.py @@ -36,7 +36,9 @@ class TestParsing(unittest.TestCase): ast2 = parse_file(self._find_file('year.c'), use_cpp=True, cpp_path=CPPPATH, - cpp_args=r'-Iutils/fake_libc_include') + cpp_args=[ + r'-Iutils/fake_libc_include', + r'-I../utils/fake_libc_include']) self.failUnless(isinstance(ast2, c_ast.FileAST)) |