diff --git a/test/test_char.py b/test/test_char.py index 703e1b17..29a0b857 100644 --- a/test/test_char.py +++ b/test/test_char.py @@ -37,7 +37,9 @@ def check_char(implementation): ast = pycparser.parse_file( os.path.join(implementation.path(), fname), use_cpp=True, + cpp_path='cc', cpp_args=[ + '-E', '-std=c99', '-nostdinc', # pycparser cannot deal with e.g. __attribute__ '-I{}'.format(os.path.join(tdir, "../common")),