small improvement for error reporting

This commit is contained in:
IgorCielniak
2026-01-09 12:29:08 +01:00
parent c3490a37ae
commit 95f6c1dac5
2 changed files with 31 additions and 13 deletions

View File

@@ -59,6 +59,8 @@ def run_tests():
print_colored(f"Error running {file}: {e}", "red")
any_failed = True
print("All tests passed." if not any_failed else "Some tests failed.")
return 1 if any_failed else 0
if __name__ == "__main__":