Debian Codegraph @

vendored-meson/meson/test cases/keyval/2 subdir/dir/meson.build

raw
1
2 k = import('keyval')
3
4 conf = k.load(meson.source_root() / '.config')
5
6 if not conf.has_key('CONFIG_IS_SET')
7 error('Expected CONFIG_IS_SET to be set, but it wasn\'t')
8 endif
9
10 if conf.has_key('CONFIG_NOT_IS_SET')
11 error('Expected CONFIG_NOT_IS_SET not be set, but it was')
12 endif