forked from espressif/esp-idf
ci: fix ttfw ignoring test failure if exception in print_debug_info
This commit is contained in:
@@ -185,9 +185,9 @@ class Env(object):
|
|||||||
dut_close_errors = []
|
dut_close_errors = []
|
||||||
for dut_name in self.allocated_duts:
|
for dut_name in self.allocated_duts:
|
||||||
dut = self.allocated_duts[dut_name]["dut"]
|
dut = self.allocated_duts[dut_name]["dut"]
|
||||||
if dut_debug:
|
|
||||||
dut.print_debug_info()
|
|
||||||
try:
|
try:
|
||||||
|
if dut_debug:
|
||||||
|
dut.print_debug_info()
|
||||||
dut.close()
|
dut.close()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
dut_close_errors.append(e)
|
dut_close_errors.append(e)
|
||||||
|
Reference in New Issue
Block a user