]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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>
Thu, 31 Jan 2019 23:23:26 +0000 (23:23 +0000)
commit54d4694f328a4ae07955aa68dcb6d3c183ed2edd
tree889ae89d6de707f1da3736e19c44065db5a0db88
parent3731033435b6a432b9a67da54f09761288c211e4
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>
meta/lib/oeqa/runtime/cases/ptest.py
meta/lib/oeqa/utils/logparser.py