forked from external/yambar
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
9 lines
355 B
Meson
9 lines
355 B
Meson
test('is-executable', f00bar, args: ['--version'])
|
|
|
|
pwd = meson.current_source_dir()
|
|
|
|
# Configuratoin validation tests
|
|
test('no-config', f00bar, args: ['-c', 'xyz'], should_fail: true)
|
|
test('config-isnt-file', f00bar, args: ['-c', '.'], should_fail: true)
|
|
test('config-no-bar', f00bar, args: ['-c', join_paths(pwd, 'no-bar.yml')],
|
|
should_fail: true)
|