Re: [PATCH] kunit: convert test results to JSON
From: Brendan Higgins
Date: Mon Mar 30 2020 - 17:45:06 EST
On Wed, Mar 25, 2020 at 3:59 PM Heidi Fahim <heidifahim@xxxxxxxxxx> wrote:
>
> Add a --json flag, which when specified when kunit_tool is run, calls
> method get_json_result. This is a method within kunit_json.py that
> formats KUnit results into a dict conforming to the following KernelCI
> API test_group spec:
> https://api.kernelci.org/schema-test-group.html#post. The user can
> specify a filename as the value to json in order to store the JSON
> results under linux/.
> Tested within kunit_tool_test.py in a new test case called
> KUnitJsonTest.
>
> Signed-off-by: Heidi Fahim <heidifahim@xxxxxxxxxx>
Reviewed-by: Brendan Higgins <brendanhiggins@xxxxxxxxxx>