diff options
author | Yeoh Ee Peng <ee.peng.yeoh@intel.com> | 2018-11-07 15:08:31 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-11-08 22:21:01 +0000 |
commit | 2012d6b076fc833864a0254d56d78536314a6799 (patch) | |
tree | ba73b0fc4deeb26f159ceaf523b2cb28333f076b | |
parent | 4cbf901b3a127ed039371e614946002d26d56997 (diff) | |
download | openembedded-core-2012d6b076fc833864a0254d56d78536314a6799.tar.gz openembedded-core-2012d6b076fc833864a0254d56d78536314a6799.tar.bz2 openembedded-core-2012d6b076fc833864a0254d56d78536314a6799.zip |
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>
-rw-r--r-- | meta/lib/oeqa/selftest/context.py | 2 |
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): 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"] |