aboutsummaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest
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-12-06 13:57:57 +0000
commit9f2e39684cbbe9f87eeef6a81961e6db783439e3 (patch)
treeb0b62663b1bc11de7ead6d39fcc66d1fd183e142 /meta/lib/oeqa/selftest
parent3b69099edc7db99c11bfb41eab2af50bd0e3d4f2 (diff)
downloadopenembedded-core-contrib-9f2e39684cbbe9f87eeef6a81961e6db783439e3.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. 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/oeqa/selftest')
-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 a5116a7e46..9a56888c2f 100644
--- a/meta/lib/oeqa/selftest/context.py
+++ b/meta/lib/oeqa/selftest/context.py
@@ -203,7 +203,7 @@ class OESelftestTestContextExecutor(OETestContextExecutor):
runCmd("bitbake -p")
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"]