Improve README a for hardware specific tests, and make fixes to picamera_tests script

This commit is contained in:
Julian Stirling 2025-07-29 18:42:15 +01:00
parent 212374a6f9
commit e7d5b8bd1f
3 changed files with 27 additions and 3 deletions

View file

@ -38,7 +38,7 @@ def _get_hashes(include_coverage: bool = False) -> dict[str, str]:
filepaths = HASHED_FILES
if include_coverage:
filepaths.append(COVERAGE_FILE)
for filepath in HASHED_FILES:
for filepath in filepaths:
if not os.path.isfile(filepath):
# Sys exit rather than raise for better command line experience
print(f"ERROR: {filepath} does not exist!")