mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
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: 656666dc7d
("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>
This commit is contained in:
parent
9824490ded
commit
c6a5fc2ac7
2 changed files with 12 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue