aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter.py
diff options
context:
space:
mode:
authorNiklas Claesson <nicke.claesson@gmail.com>2018-03-08 16:01:06 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2018-03-10 18:05:35 +0200
commit7074bcb88a4e1f340ba7214b107b03c7f759d311 (patch)
tree760740da84683b6cfa45780a73336886ac969db6 /mesonbuild/interpreter.py
parent52c50da6c7a921e1625fff26c7844af7d941afd9 (diff)
downloadmeson-7074bcb88a4e1f340ba7214b107b03c7f759d311.zip
meson-7074bcb88a4e1f340ba7214b107b03c7f759d311.tar.gz
meson-7074bcb88a4e1f340ba7214b107b03c7f759d311.tar.bz2
Exclude subprojects when doing coverage
Diffstat (limited to 'mesonbuild/interpreter.py')
-rw-r--r--mesonbuild/interpreter.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py
index f9f25e4..1bb8aab 100644
--- a/mesonbuild/interpreter.py
+++ b/mesonbuild/interpreter.py
@@ -1945,6 +1945,8 @@ to directly access options of other subprojects.''')
raise InterpreterException('Subproject_dir must not contain a ".." segment.')
self.subproject_dir = spdirname
+ self.build.subproject_dir = self.subproject_dir
+
if 'meson_version' in kwargs:
cv = coredata.version
pv = kwargs['meson_version']