aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/keyval/2 subdir/dir/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/keyval/2 subdir/dir/meson.build')
-rw-r--r--meson/test cases/keyval/2 subdir/dir/meson.build13
1 files changed, 13 insertions, 0 deletions
diff --git a/meson/test cases/keyval/2 subdir/dir/meson.build b/meson/test cases/keyval/2 subdir/dir/meson.build
new file mode 100644
index 000000000..291ad93a2
--- /dev/null
+++ b/meson/test cases/keyval/2 subdir/dir/meson.build
@@ -0,0 +1,13 @@
+
+k = import('keyval')
+
+conf = k.load(meson.source_root() / '.config')
+
+if not conf.has_key('CONFIG_IS_SET')
+ error('Expected CONFIG_IS_SET to be set, but it wasn\'t')
+endif
+
+if conf.has_key('CONFIG_NOT_IS_SET')
+ error('Expected CONFIG_NOT_IS_SET not be set, but it was')
+endif
+