mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-16 06:40:11 +00:00
skip hil test if binary not exist
This commit is contained in:
parent
30a48c57bd
commit
eb698f8cc7
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user