summaryrefslogtreecommitdiff
path: root/tests/warn/warningtester.py
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-11-04 13:12:12 -0400
committerColin Walters <walters@verbum.org>2010-11-09 13:23:51 -0500
commit23a81ba427c58971a4def1f068f44562d5fd67c3 (patch)
treeefc779cfda8d0a6c65432671fc4864d474683992 /tests/warn/warningtester.py
parent2681a9dcb1182d8b0fc34fbb341d77a0a13c65f2 (diff)
downloadgobject-introspection-23a81ba427c58971a4def1f068f44562d5fd67c3.tar.gz
Switch to nonrecursive make for core (i.e. not tests/)
This is cleaner and faster, and prepares us better for an incoming import of CMPH.
Diffstat (limited to 'tests/warn/warningtester.py')
-rw-r--r--tests/warn/warningtester.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/warn/warningtester.py b/tests/warn/warningtester.py
index d43b6d5e..f8f55655 100644
--- a/tests/warn/warningtester.py
+++ b/tests/warn/warningtester.py
@@ -4,6 +4,10 @@ import os.path
import sys
from StringIO import StringIO
+path=os.getenv('UNINSTALLED_INTROSPECTION_SRCDIR', None)
+assert path is not None
+sys.path.insert(0, path)
+
from giscanner.annotationparser import AnnotationParser
from giscanner.ast import Include, Namespace
from giscanner.introspectablepass import IntrospectablePass