Skip to content

Commit

Permalink
Return 1 when no test cases are found
Browse files Browse the repository at this point in the history
  • Loading branch information
jrusz committed Nov 21, 2023
1 parent c5264cd commit cb0ee42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/osbuild-image-test
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ def run_tests_cases(args):
success = True
if not tests:
print(f"{RED}FAIL{RESET}: no tests to run")
return False
return 1

# compute the bucket of tests this instance is gonna run.
# by default, the bucket size is the entire test set and the bucket number
Expand Down

0 comments on commit cb0ee42

Please sign in to comment.