yambar/test/meson.build
Daniel Eklöf 244eb55431 test: wip: good path try-to-exercise-as-much-as-possible test case
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.
2019-05-11 11:07:51 +02:00

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')])