summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorYeoh Ee Peng <ee.peng.yeoh@intel.com>2018-11-07 15:08:31 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-09 15:27:34 +0000
commitb1c3b40146df078a3c10d31b5a01334798951c7d (patch)
treec7b7d40826aea0a8dcea56c5ca86a5289fc7c6ef /meta/lib
parent7373dc71b69519045918c05d8329f7ea972a424d (diff)
downloadpoky-b1c3b40146df078a3c10d31b5a01334798951c7d.tar.gz
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>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/selftest/context.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/context.py b/meta/lib/oeqa/selftest/context.py
index 11d5877c5f..302ff73bed 100644
--- a/meta/lib/oeqa/selftest/context.py
+++ b/meta/lib/oeqa/selftest/context.py
@@ -205,7 +205,7 @@ class OESelftestTestContextExecutor(OETestContextExecutor):
205 runCmd("bitbake -e") 205 runCmd("bitbake -e")
206 206
207 def get_json_result_dir(self, args): 207 def get_json_result_dir(self, args):
208 json_result_dir = os.path.join(os.path.dirname(os.path.abspath(args.output_log)), 'log', 'oeqa') 208 json_result_dir = os.path.join(self.tc.td["LOG_DIR"], 'oeqa')
209 if "OEQA_JSON_RESULT_DIR" in self.tc.td: 209 if "OEQA_JSON_RESULT_DIR" in self.tc.td:
210 json_result_dir = self.tc.td["OEQA_JSON_RESULT_DIR"] 210 json_result_dir = self.tc.td["OEQA_JSON_RESULT_DIR"]
211 211