Skip to content
This repository was archived by the owner on Oct 12, 2026. It is now read-only.

Commit 187bddb

Browse files
committed
test: exit the test script with failure if tests failed
1 parent 317ea4d commit 187bddb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎tests/tests.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,5 @@ def execCommand(command):
4343
logger.error(f"Test failed '{testName}' due to output mismatch.")
4444
failCount += 1
4545
logger.info(f"Passed: {passCount}. Failed: {failCount}. Total: {totalCount}.")
46+
if failCount > 0:
47+
exit(1)

0 commit comments

Comments
 (0)