summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/hil/hil_test.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/hil/hil_test.py b/test/hil/hil_test.py
index 87cf5d0f6..8f0a8c93a 100644
--- a/test/hil/hil_test.py
+++ b/test/hil/hil_test.py
@@ -373,6 +373,10 @@ def main():
fw_name = f'{fw_dir}/{test}'
print(f' {test} ...', end='')
+ if not os.path.exists(fw_dir):
+ print('Skip')
+ continue
+
# flash firmware. It may fail randomly, retry a few times
for i in range(3):
ret = globals()[f'flash_{flasher}'](item, fw_name)