diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-05-31 16:25:10 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-05-31 19:56:42 -0700 |
commit | c6a5fc2ac76c5ab709896ee1b0edd33685a67ed1 (patch) | |
tree | 0307835084f5e84c38edb769f66059573374ffc0 /tests/decode | |
parent | 9824490dede64c1398b6a52095e5d22040529250 (diff) |
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 <thuth@redhat.com>
Fixes: 656666dc7d1b ("tests/decode: Convert tests to meson")
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230531232510.66985-1-richard.henderson@linaro.org>
Diffstat (limited to 'tests/decode')
-rw-r--r-- | tests/decode/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/decode/meson.build b/tests/decode/meson.build index 38a0629d67..b13fada980 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 |