[PATCH v2 0/4] tests/decode: Convert tests to meson

Richard Henderson posted 4 patches 10 months, 4 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230526021228.1777917-1-richard.henderson@linaro.org
Maintainers: Richard Henderson <richard.henderson@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, John Snow <jsnow@redhat.com>, Cleber Rosa <crosa@redhat.com>
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
[PATCH v2 0/4] tests/decode: Convert tests to meson
Posted by Richard Henderson 10 months, 4 weeks ago
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
Re: [PATCH v2 0/4] tests/decode: Convert tests to meson
Posted by Philippe Mathieu-Daudé 10 months, 4 weeks ago
On 26/5/23 04:12, Richard Henderson wrote:

> 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

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>