forked from external/yambar
This is a configuration that is expected to validate, and to exercise as much as possible of the code up until validation has completed. That is, as much as possible of the configuration validation code. It currently instantiates all modules, but not yet all particles and decorations.
10 lines
463 B
Meson
10 lines
463 B
Meson
test('is-executable', f00bar, args: ['--version'])
|
|
|
|
pwd = meson.current_source_dir()
|
|
|
|
# Configuration validation tests
|
|
test('no-config', f00bar, args: ['-C', '-c', 'xyz'], should_fail: true)
|
|
test('config-isnt-file', f00bar, args: ['-C', '-c', '.'], should_fail: true)
|
|
test('config-no-bar', f00bar, args: ['-C', '-c', join_paths(pwd, 'no-bar.yml')],
|
|
should_fail: true)
|
|
test('full-conf-good', f00bar, args: ['-C', '-c', join_paths(pwd, 'full-conf-good.yml')])
|