[oe-commits] [openembedded-core] 07/10: oeqa/selftest: Standardize json logging output directory
git at git.openembedded.org
git at git.openembedded.org
Wed Nov 7 23:16:08 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 775e965ee0a0dc48e2e861bf638f2bfe7e56fa1a
Author: Yeoh Ee Peng <ee.peng.yeoh at intel.com>
AuthorDate: Wed Nov 7 15:08:31 2018 +0800
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 at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/lib/oeqa/selftest/context.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/selftest/context.py b/meta/lib/oeqa/selftest/context.py
index 11d5877..302ff73 100644
--- a/meta/lib/oeqa/selftest/context.py
+++ b/meta/lib/oeqa/selftest/context.py
@@ -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"]
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list