mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 20:21:04 +00:00
ttfw: fix DUT exception not added to junit report
This commit is contained in:
@@ -222,7 +222,7 @@ def test_method(**kwargs):
|
||||
# and raise exception in DUT close to fail test case if reset detected.
|
||||
if close_errors:
|
||||
for error in close_errors:
|
||||
junit_test_case.add_failure_info(str(error))
|
||||
junit_test_case.add_failure_info('env close error: {}'.format(error))
|
||||
result = False
|
||||
if not case_info['junit_report_by_case'] or unexpected_error:
|
||||
JunitReport.test_case_finish(junit_test_case)
|
||||
|
Reference in New Issue
Block a user