Skip to content

Commit

Permalink
skip hil test if binary not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
hathach committed Jul 18, 2024
1 parent 30a48c5 commit eb698f8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/hil/hil_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit eb698f8

Please sign in to comment.