]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/logparser: Improve results handling
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Jan 2019 15:08:58 +0000 (15:08 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Feb 2019 22:25:04 +0000 (22:25 +0000)
commit966ffaada3e9f43a25b1361c53d4b16a521aa517
tree36b443296270e635f6b626de742e9821bb40d2a5
parentdc49021f75ed7e82713d1c9a04e045718bb9a548
oeqa/logparser: Improve results handling

Merge the results handling into the ptest log parser as a seperate
method.

Drop the weird "pass.skip.fail." prefix to the results filename, its
just bizarre.

Drop the code turning a list into a regex then searching the regex for
an item, "x in y" is perfectly capable.

Use a dict, sort the keys as needed and drop the list sorting code.

(From OE-Core rev: f317800e950b4a37b4034133bc52e0c47f04dc29)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/lib/oeqa/runtime/cases/ptest.py
meta/lib/oeqa/utils/logparser.py