mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'test/fix_ut_cant_process_test_command' into 'master'
test: fix ut can't process test command See merge request idf/esp-idf!3306
This commit is contained in:
commit
593abe0768
@ -141,6 +141,8 @@ def replace_app_bin(dut, name, new_app_bin):
|
||||
|
||||
|
||||
def reset_dut(dut):
|
||||
# We do flush before test, in case we already have bootup pattern in data cache
|
||||
dut.write("", flush=True)
|
||||
dut.reset()
|
||||
# esptool ``run`` cmd takes quite long time.
|
||||
# before reset finish, serial port is closed. therefore DUT could already bootup before serial port opened.
|
||||
|
Loading…
Reference in New Issue
Block a user