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-12-16 14:31:27 +0000 |
commit | 152a347f8d2ae52be060c4793a026bb2a330b5a8 (patch) | |
tree | 8fcef5350e89de7a24da00f035f1522cbf16fe45 | |
parent | f50977c3b596c915b2c863fb727b678db2425f99 (diff) | |
download | poky-152a347f8d2ae52be060c4793a026bb2a330b5a8.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: 9f2e39684cbbe9f87eeef6a81961e6db783439e3)
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 a5116a7e46..9a56888c2f 100644 --- a/meta/lib/oeqa/selftest/context.py +++ b/meta/lib/oeqa/selftest/context.py | |||
@@ -203,7 +203,7 @@ class OESelftestTestContextExecutor(OETestContextExecutor): | |||
203 | runCmd("bitbake -p") | 203 | runCmd("bitbake -p") |
204 | 204 | ||
205 | def get_json_result_dir(self, args): | 205 | def get_json_result_dir(self, args): |
206 | json_result_dir = os.path.join(os.path.dirname(os.path.abspath(args.output_log)), 'log', 'oeqa') | 206 | json_result_dir = os.path.join(self.tc.td["LOG_DIR"], 'oeqa') |
207 | if "OEQA_JSON_RESULT_DIR" in self.tc.td: | 207 | if "OEQA_JSON_RESULT_DIR" in self.tc.td: |
208 | json_result_dir = self.tc.td["OEQA_JSON_RESULT_DIR"] | 208 | json_result_dir = self.tc.td["OEQA_JSON_RESULT_DIR"] |
209 | 209 | ||