]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oeqa/selftest/context: write testresult to json files
authorYeoh Ee Peng <ee.peng.yeoh@intel.com>
Tue, 23 Oct 2018 05:57:20 +0000 (13:57 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 Oct 2018 17:26:47 +0000 (17:26 +0000)
commitd89e06083eeea1bebdaa64f809e7e0a328e282f5
tree77c6684f6f5cbe01e59a9eeb6ca91f360d0cc76f
parent4ef72d556f706e301e5155f5f228c38431acafe6
oeqa/selftest/context: write testresult to json files

As part of the solution to replace Testopia to store testresult,
OEQA selftest 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 oe-selftest log 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.

(From OE-Core rev: 10697165c832e3dbb2913b6215164ea75e23ec23)

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