mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 04:39:40 +01:00
oeqa/selftest: Standardize json logging output directory
Currently sdk & sdkext will output json file to LOG_DIR, while selftest will output json file to TOPDIR/log. Standardize selftest json output file to LOG_DIR. (From OE-Core rev: 2012d6b076fc833864a0254d56d78536314a6799) Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
7373dc71b6
commit
b1c3b40146
@@ -205,7 +205,7 @@ class OESelftestTestContextExecutor(OETestContextExecutor):
|
||||
runCmd("bitbake -e")
|
||||
|
||||
def get_json_result_dir(self, args):
|
||||
json_result_dir = os.path.join(os.path.dirname(os.path.abspath(args.output_log)), 'log', 'oeqa')
|
||||
json_result_dir = os.path.join(self.tc.td["LOG_DIR"], 'oeqa')
|
||||
if "OEQA_JSON_RESULT_DIR" in self.tc.td:
|
||||
json_result_dir = self.tc.td["OEQA_JSON_RESULT_DIR"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user