meson: add a couple of expected-to-fail tests

Initial set of tests verifying we fail when trying to load:

a) a non-existing configuration
b) a non-regular file configuration (e.g. a directory)
c) configuration exists, but has no top-level 'bar' entry
This commit is contained in:
Daniel Eklöf 2019-05-09 20:37:09 +02:00
parent 937a684f9e
commit 235efd789a
3 changed files with 13 additions and 1 deletions

View file

@ -105,7 +105,7 @@ f00bar = executable(
install: true,
install_rpath: '$ORIGIN/../' + get_option('libdir') + '/f00bar')
test('f00bar-is-executable', f00bar, args: ['--version'])
subdir('test')
install_headers(
'color.h',