diff --git a/avocado/plugins/jsonresult.py b/avocado/plugins/jsonresult.py index 2917fb2ac4523ee295e9dc5846f1a6de470fbf49..178cd7fedd5cfbd15baea4f9245829082b8eb3c3 100644 --- a/avocado/plugins/jsonresult.py +++ b/avocado/plugins/jsonresult.py @@ -61,6 +61,9 @@ class JSONTestResult(TestResult): 'time': state['time_elapsed'], 'status': state['status'], 'whiteboard': state['whiteboard'], + 'logdir': state['logdir'], + 'logfile': state['logfile'], + 'fail_reason': str(state['fail_reason']) } self.json['tests'].append(t)