]> 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>
Thu, 31 Jan 2019 09:45:25 +0000 (09:45 +0000)
commitf317800e950b4a37b4034133bc52e0c47f04dc29
treee18143dd5ea9e27e74a479d5238e70bc81a33ff2
parenta9a67dccaa5be0f06eedcab46dcff7cbf9202850
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.

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