From c6a5fc2ac76c5ab709896ee1b0edd33685a67ed1 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 31 May 2023 16:25:10 -0700 Subject: decodetree: Add --output-null for meson testing Using "-o /dev/null" fails on Windows. Rather that working around this in meson, add a separate command-line option so that we can use python's os.devnull. Reported-by: Thomas Huth Fixes: 656666dc7d1b ("tests/decode: Convert tests to meson") Signed-off-by: Richard Henderson Reviewed-by: Thomas Huth Message-Id: <20230531232510.66985-1-richard.henderson@linaro.org> --- tests/decode/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/decode/meson.build b/tests/decode/meson.build index 38a0629..b13fada 100644 --- a/tests/decode/meson.build +++ b/tests/decode/meson.build @@ -53,12 +53,12 @@ decodetree = find_program(meson.project_source_root() / 'scripts/decodetree.py') foreach t: err_tests test(fs.replace_suffix(t, ''), - decodetree, args: ['-o', '/dev/null', '--test-for-error', files(t)], + decodetree, args: ['--output-null', '--test-for-error', files(t)], suite: suite) endforeach foreach t: succ_tests test(fs.replace_suffix(t, ''), - decodetree, args: ['-o', '/dev/null', files(t)], + decodetree, args: ['--output-null', files(t)], suite: suite) endforeach -- cgit v1.1