diff options
author | Daniel Latypov <[email protected]> | 2022-02-24 11:20:35 -0800 |
---|---|---|
committer | Shuah Khan <[email protected]> | 2022-04-04 15:22:23 -0600 |
commit | ee96d25f2fa657a29ab59345898dc4ff616cfe84 (patch) | |
tree | 46d4bd7b0451b2f7f63d4cf9f89fac478e750446 /net/lapb/lapb_timer.c | |
parent | 6bd0f52ee8f400a558f1c0f33e1f3fd3ef4922a8 (diff) |
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 <[email protected]>
Reviewed-by: David Gow <[email protected]>
Reviewed-by: Brendan Higgins <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions