summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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):
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