Re: [PATCH 2/5] kunit: tool: make --json handling a bit clearer

From: Brendan Higgins
Date: Wed Mar 23 2022 - 16:44:45 EST


On Tue, Jan 18, 2022 at 2:09 PM Daniel Latypov <dlatypov@xxxxxxxxxx> wrote:
>
> Currently kunit_json.get_json_result() will output the JSON-ified test
> output to json_path, but iff it's not "stdout".
>
> Instead, move the responsibility entirely over to the one caller.
>
> Signed-off-by: Daniel Latypov <dlatypov@xxxxxxxxxx>

Reviewed-by: Brendan Higgins <brendanhiggins@xxxxxxxxxx>