]> code.ossystems Code Review - openembedded-core.git/commit
testsdk.bbclass: write testresult to json files
authorYeoh Ee Peng <ee.peng.yeoh@intel.com>
Tue, 23 Oct 2018 05:57:22 +0000 (13:57 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Dec 2018 13:55:32 +0000 (13:55 +0000)
commiteefb07907873d20f2e66d3784106f6f72030b5b2
treefc8cdc1308442d5ba2c51d4359d4b910c1dec41b
parent2b8b47ec8ee835d2e70cc4ff3ec484f9e4e4d02d
testsdk.bbclass: write testresult to json files

As part of the solution to replace Testopia to store testresult,
OEQA sdk and sdkext need to output testresult into json files, where
these json testresult files will be stored into git repository
by the future test-case-management tools.

By default, json testresult file will be written to "oeqa"
directory under the "WORKDIR" directory.

To configure multiple instances of bitbake to write json testresult
to a single testresult file at custom directory, user will define
the variable "OEQA_JSON_RESULT_DIR" with the custom directory for
json testresult.

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/testsdk.bbclass