Re: [PATCH v2] kunit: tool: Implement listing of available architectures
From: Kees Cook
Date: Tue Apr 15 2025 - 13:10:05 EST
On Tue, Apr 15, 2025 at 09:03:06AM +0200, Thomas Weißschuh wrote:
> To implement custom scripting around kunit.py it is useful to get a list of
> available architectures. While it is possible to manually inspect
> tools/testing/kunit/qemu_configs/, this is annoying to implement and
> introduces a dependency on a kunit.py implementation detail.
>
> Introduce 'kunit.py run --arch help' which lists all known architectures
> in an easy to parse list. This is equivalent on how QEMU implements
> listing of possible argument values.
>
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>
Oh nice; I like it! :)
Reviewed-by: Kees Cook <kees@xxxxxxxxxx>
--
Kees Cook