mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-24 04:45:41 +02:00
meson: test: must also pass '-C' (--validate)
Otherwise it will try to _run_ the bar, which we don't want.
This commit is contained in:
parent
5eef162d39
commit
217e0d2052
1 changed files with 4 additions and 4 deletions
|
@ -2,8 +2,8 @@ test('is-executable', f00bar, args: ['--version'])
|
||||||
|
|
||||||
pwd = meson.current_source_dir()
|
pwd = meson.current_source_dir()
|
||||||
|
|
||||||
# Configuratoin validation tests
|
# Configuration validation tests
|
||||||
test('no-config', f00bar, args: ['-c', 'xyz'], should_fail: true)
|
test('no-config', f00bar, args: ['-C', '-c', 'xyz'], should_fail: true)
|
||||||
test('config-isnt-file', f00bar, args: ['-c', '.'], should_fail: true)
|
test('config-isnt-file', f00bar, args: ['-C', '-c', '.'], should_fail: true)
|
||||||
test('config-no-bar', f00bar, args: ['-c', join_paths(pwd, 'no-bar.yml')],
|
test('config-no-bar', f00bar, args: ['-C', '-c', join_paths(pwd, 'no-bar.yml')],
|
||||||
should_fail: true)
|
should_fail: true)
|
||||||
|
|
Loading…
Add table
Reference in a new issue