summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-01-24 12:10:17 +0700
committerhathach <[email protected]>2024-01-24 12:10:17 +0700
commit9d0df8ebc5f643ff0b3dd06da14d11b3c1107a21 (patch)
treefcfa8115ae8353562a76dbd51aa64512084f2b61 /test
parent64f86ef8e744e72e27b529ddb3440420ee4e3cf0 (diff)
add message when flashing failed
Diffstat (limited to 'test')
-rw-r--r--test/hil/hil_test.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/hil/hil_test.py b/test/hil/hil_test.py
index 544a4eb39..7f03ce43f 100644
--- a/test/hil/hil_test.py
+++ b/test/hil/hil_test.py
@@ -370,6 +370,7 @@ def main(config_file, board):
if ret.returncode == 0:
break
else:
+ print(f'Flashing failed, retry {i+1}')
time.sleep(1)
assert ret.returncode == 0, 'Flash failed\n' + ret.stdout.decode()