Re: [PATCH] kunit: tool: add test counts to JSON output

2025-05-20 Thread Thomas Weißschuh
On 2025-05-16 20:16:15+, Rae Moar wrote: > test_group = { > "name": test.name, > "sub_groups": sub_groups, > "test_cases": test_cases, > + "misc": counts_json Should have a trailing comma for future extensibility. In case history is

Re: [PATCH] kunit: tool: add test counts to JSON output

2025-05-17 Thread David Gow
On Sat, 17 May 2025 at 04:17, Rae Moar wrote: > > Add the test counts to the JSON output from kunit.py. For example: > > ... > "git_branch": "kselftest", > "misc": > { > "tests": 2, > "passed": 1. > "failed": 1, > "crashed": 0, > "skipped": 0, > "errors": 0, > } > ... > > T

[PATCH] kunit: tool: add test counts to JSON output

2025-05-16 Thread Rae Moar
Add the test counts to the JSON output from kunit.py. For example: ... "git_branch": "kselftest", "misc": { "tests": 2, "passed": 1. "failed": 1, "crashed": 0, "skipped": 0, "errors": 0, } ... To output the JSON using the following command: ./tools/testing/kunit/kunit.py r