From 217e0d20521fc64db74d9da71a97aa04671f4730 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sat, 11 May 2019 11:07:15 +0200 Subject: [PATCH] meson: test: must also pass '-C' (--validate) Otherwise it will try to _run_ the bar, which we don't want. --- test/meson.build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/meson.build b/test/meson.build index c77fd0d..3427e2c 100644 --- a/test/meson.build +++ b/test/meson.build @@ -2,8 +2,8 @@ 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')], +# 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)