summaryrefslogtreecommitdiff
path: root/tests/warn
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2013-03-05 18:23:25 -0500
committerColin Walters <walters@verbum.org>2013-03-05 18:23:25 -0500
commitb051c92cdfbe8255de27bba658a5a95d626accb9 (patch)
treef7a25cf5e9ac37c9ae4563f70535f8aebbdccff9 /tests/warn
parent95b03cf87efbd4fea4b7d55601c9752cefd29bfc (diff)
downloadgobject-introspection-b051c92cdfbe8255de27bba658a5a95d626accb9.tar.gz
Revert "gi-r-scanner: add support for raw CFLAGS flags option"
Doesn't work with arguments that have shell quotes. This reverts commit 95b03cf87efbd4fea4b7d55601c9752cefd29bfc.
Diffstat (limited to 'tests/warn')
-rw-r--r--tests/warn/warningtester.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/warn/warningtester.py b/tests/warn/warningtester.py
index fba8f0ce..27e0a5e6 100644
--- a/tests/warn/warningtester.py
+++ b/tests/warn/warningtester.py
@@ -40,7 +40,6 @@ class ChunkedIO(object):
class Options:
def __init__(self):
- self.cpp_cflags = ""
self.cpp_includes = []
self.cpp_defines = []
self.cpp_undefines = []
@@ -111,7 +110,7 @@ def check(args):
exit_code = process_packages(options, ['gobject-2.0'])
if exit_code:
sys.exit(exit_code)
- ss.set_cpp_options(options.cpp_cflags, options.cpp_includes, options.cpp_defines, options.cpp_undefines)
+ ss.set_cpp_options(options.cpp_includes, options.cpp_defines, options.cpp_undefines)
ss.parse_files([filename])
ss.parse_macros([filename])
transformer.parse(ss.get_symbols())