OpenCloudOS-Kernel/tools/testing/kunit
Rae Moar 29482da8ff kunit: tool: fix parsing of test attributes
[ Upstream commit 8ae27bc7fff4ef467a7964821a6cedb34a05d3b2 ]

Add parsing of attributes as diagnostic data. Fixes issue with test plan
being parsed incorrectly as diagnostic data when located after
suite-level attributes.

Note that if there does not exist a test plan line, the diagnostic lines
between the suite header and the first result will be saved in the suite
log rather than the first test case log.

Signed-off-by: Rae Moar <rmoar@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-02-05 20:14:15 +00:00
..
configs sound updates for 6.6-rc1 2023-08-30 13:45:05 -07:00
qemu_configs kunit: qemu_configs: Enable all architectural features for arm64 2023-07-18 15:37:56 -06:00
test_data kunit: tool: parse KTAP compliant test output 2022-12-12 14:13:47 -07:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
kunit.py kunit: tool: Add command line interface to filter and report attributes 2023-07-26 13:29:21 -06:00
kunit_config.py kunit: tool: fix pre-existing `mypy --strict` errors and update run_checks.py 2023-03-17 12:28:30 -06:00
kunit_json.py kunit: tool: misc cleanups 2022-05-16 13:22:36 -06:00
kunit_kernel.py kunit: tool: Add command line interface to filter and report attributes 2023-07-26 13:29:21 -06:00
kunit_parser.py kunit: tool: fix parsing of test attributes 2024-02-05 20:14:15 +00:00
kunit_printer.py kunit: tool: add subscripts for type annotations where appropriate 2023-03-17 12:28:18 -06:00
kunit_tool_test.py kunit: tool: Add command line interface to filter and report attributes 2023-07-26 13:29:21 -06:00
mypy.ini kunit: tool: undo type subscripts for subprocess.Popen 2023-05-08 08:39:41 -06:00
qemu_config.py kunit: tool: Add support for overriding the QEMU serial port 2023-04-05 12:51:06 -06:00
run_checks.py kunit: tool: undo type subscripts for subprocess.Popen 2023-05-08 08:39:41 -06:00