diff options
author | Daniel Latypov <dlatypov@google.com> | 2022-02-24 11:20:35 -0800 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2022-04-04 15:22:23 -0600 |
commit | ee96d25f2fa657a29ab59345898dc4ff616cfe84 (patch) | |
tree | 46d4bd7b0451b2f7f63d4cf9f89fac478e750446 /sound/pci/rme32.c | |
parent | 6bd0f52ee8f400a558f1c0f33e1f3fd3ef4922a8 (diff) | |
download | linux-ee96d25f2fa657a29ab59345898dc4ff616cfe84.tar.bz2 |
kunit: tool: refactor how we plumb metadata into JSON
When using --json, kunit.py run/exec/parse will produce results in
KernelCI json format.
As part of that, we include the build_dir that was used, and we
(incorrectly) hardcode in the arch, etc.
We'll want a way to plumb more values (as well as the correct `arch`),
so this patch groups those fields into kunit_json.Metadata type.
This patch should have no user visible changes.
And since we only used build_dir in KunitParseRequest for json, we can
now move it out of that struct and add it into KunitExecRequest, which
needs it and used to get it via inheritance.
Signed-off-by: Daniel Latypov <dlatypov@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'sound/pci/rme32.c')
0 files changed, 0 insertions, 0 deletions