summaryrefslogtreecommitdiff
path: root/test cases/kconfig/2 subdir/dir/meson.build
blob: 12f150297004dce6677da0487079d89f63a4c6fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

k = import('unstable-kconfig')

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