qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] tests/decode: Convert tests to meson
@ 2023-05-26  2:12 Richard Henderson
  2023-05-26  2:12 ` [PATCH v2 1/4] decodetree: Add --test-for-error Richard Henderson
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Richard Henderson @ 2023-05-26  2:12 UTC (permalink / raw)
  To: qemu-devel; +Cc: peter.maydell, pbonzini

Add --test-for-error to decodetree.py and convert the tests to meson.
This exposes an exception error that had been hidden by the fact that
the script as a whole did exit with error.  Which proves that this is
a better way to run the tests.


r~


Richard Henderson (4):
  decodetree: Add --test-for-error
  decodetree: Fix recursion in prop_format and build_tree
  decodetree: Diagnose empty pattern group
  tests/decode: Convert tests to meson

 scripts/decodetree.py    | 19 ++++++++++---
 tests/decode/check.sh    | 24 ----------------
 tests/decode/meson.build | 59 ++++++++++++++++++++++++++++++++++++++++
 tests/meson.build        |  5 +---
 4 files changed, 75 insertions(+), 32 deletions(-)
 delete mode 100755 tests/decode/check.sh
 create mode 100644 tests/decode/meson.build

-- 
2.34.1



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-05-26  9:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-26  2:12 [PATCH v2 0/4] tests/decode: Convert tests to meson Richard Henderson
2023-05-26  2:12 ` [PATCH v2 1/4] decodetree: Add --test-for-error Richard Henderson
2023-05-26  2:12 ` [PATCH v2 2/4] decodetree: Fix recursion in prop_format and build_tree Richard Henderson
2023-05-26  2:12 ` [PATCH v2 3/4] decodetree: Diagnose empty pattern group Richard Henderson
2023-05-26  2:12 ` [PATCH v2 4/4] tests/decode: Convert tests to meson Richard Henderson
2023-05-26  9:06 ` [PATCH v2 0/4] " Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).