kunit: tool: add test for parsing attributes
authorRae Moar <rmoar@google.com>
Thu, 7 Dec 2023 21:34:10 +0000 (21:34 +0000)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 18 Dec 2023 20:21:15 +0000 (13:21 -0700)
commit6eb0ea28c8e80ead03f08cf8cbdacf08d3073bd6
tree9eec9c6029a144ad0d79f1456e9577413d72711b
parent8ae27bc7fff4ef467a7964821a6cedb34a05d3b2
kunit: tool: add test for parsing attributes

Add test for parsing attributes to kunit_tool_test.py. Test checks
attributes are parsed and saved in the test logs.

This test also checks that the attributes have not interfered with the
parsing of other test information, specifically the suite header as
the test plan was being incorrectely parsed.

Signed-off-by: Rae Moar <rmoar@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/kunit/kunit_tool_test.py
tools/testing/kunit/test_data/test_parse_attributes.log [new file with mode: 0644]