summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2018-10-08 14:10:17 +0800
committerKai Kang <kai.kang@windriver.com>2018-10-08 23:21:55 -0700
commit3fe995a0d38158e0ffde9772ed52fa87608ac084 (patch)
tree3d9b6f3cd2fe0aca639f2429012a5b5dbc7bfdef /tests
parent3938b86f5289c2b28a5ec42965b8da4b509445c4 (diff)
downloadgobject-introspection-3fe995a0d38158e0ffde9772ed52fa87608ac084.tar.gz
g-ir-tools: respect gir_dir_prefix
Configure option gir_dir_prefix is used to configure install dir for .gir files, so add its value to include file search paths. Fix for flake8 and meson-test at same time. Signed-off-by: Kai Kang <kai.kang@windriver.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/warn/warningtester.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/warn/warningtester.py b/tests/warn/warningtester.py
index f17c8889..be5aec13 100644
--- a/tests/warn/warningtester.py
+++ b/tests/warn/warningtester.py
@@ -18,6 +18,7 @@ sys.path.insert(0, path)
# Not correct, but enough to get the tests going uninstalled
builtins.__dict__['DATADIR'] = path
+builtins.__dict__['GIRDIR'] = ''
from giscanner.annotationparser import GtkDocCommentBlockParser
from giscanner.ast import Include, Namespace