The Meson Build System http://mesonbuild.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
374 B

project('kconfig basic test')
k = import('unstable-kconfig')
conf = k.load('.config')
if not conf.has_key('CONFIG_VAL1')
error('Expected CONFIG_VAL1 to be set, but it wasn\'t')
endif
if conf.has_key('CONFIG_VAL2')
error('Expected CONFIG_VAL2 not be set, but it was')
endif
if conf.get('CONFIG_VAL_VAL').to_int() != 4
error('Expected CONFIG_VAL_VAL to be 4')
endif