mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-07-23 15:11:19 -04:00
Print warning if the programmer device permissions are incorrect
This commit is contained in:
parent
fe1e2254d2
commit
f83f919f9e
2 changed files with 21 additions and 12 deletions
|
@ -67,10 +67,13 @@ def run_tests(test_list: list[Any]) -> bool:
|
|||
'Failure at test step "{:}"'.format(
|
||||
test.__name__))
|
||||
return False
|
||||
except Exception as e:
|
||||
except OSError as exp:
|
||||
print(exp)
|
||||
sys.exit(1)
|
||||
except Exception as exp:
|
||||
print(
|
||||
'Error while running test step "{:}", exception:{:}'.format(
|
||||
test.__name__, str(e)))
|
||||
test.__name__, str(exp)))
|
||||
return False
|
||||
|
||||
return True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue