]> 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, 18 Oct 2018 15:47:59 +0000 (16:47 +0100)
commit79ee7d1c371a86edeb61c99679985118da657e5d
treec2da5ddee1dffabf7025b5eefbf23d83b6a01f50
parent405e822e9da4b53ec9ee8019364fdcb13ccc2587
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.

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