]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/core/runner: refactor for OEQA to write json testresult
authorYeoh Ee Peng <ee.peng.yeoh@intel.com>
Thu, 18 Oct 2018 09:11:05 +0000 (17:11 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Dec 2018 10:46:58 +0000 (10:46 +0000)
commitbc444181f9658423856621b2f2c60364642ae5b1
treecce77f6ac9e5e098f07013c0dcdcd7251e6e7095
parent02449e89d62a7714d30ab6e2e58c476dc9441f7a
oeqa/core/runner: refactor for OEQA to write json testresult

Refactor the original _getDetailsNotPassed method to return
testresult details (test status and log), which will be reused
by future OEQA code to write json testresult.

Take the opportunity to consolidate and simplify the logic used
to gather test status and log within the TestResult instance.

(From OE-Core rev: 79ee7d1c371a86edeb61c99679985118da657e5d)

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/core/runner.py