kopia lustrzana https://github.com/espressif/esp-idf
ci: Log failure to close any DUT
rodzic
0e42b856af
commit
37838803db
|
@ -18,6 +18,7 @@ import threading
|
||||||
import functools
|
import functools
|
||||||
|
|
||||||
import netifaces
|
import netifaces
|
||||||
|
import traceback
|
||||||
|
|
||||||
from . import EnvConfig
|
from . import EnvConfig
|
||||||
|
|
||||||
|
@ -190,6 +191,7 @@ class Env(object):
|
||||||
dut.print_debug_info()
|
dut.print_debug_info()
|
||||||
dut.close()
|
dut.close()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
traceback.print_exc()
|
||||||
dut_close_errors.append(e)
|
dut_close_errors.append(e)
|
||||||
self.allocated_duts = dict()
|
self.allocated_duts = dict()
|
||||||
return dut_close_errors
|
return dut_close_errors
|
||||||
|
|
Ładowanie…
Reference in New Issue