Skip to content

Commit

Permalink
Check actual output status
Browse files Browse the repository at this point in the history
  • Loading branch information
Sleitnick committed Dec 10, 2024
1 parent 422eeac commit 1aac46e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ def run_tests():
exit(1)
elif state == "COMPLETE":
print(res_json)

# TODO: Format 'res_json' in a pretty way to show what failed and what succeeded

all_pass = res_json["output"]["results"][0]["AllPass"]
if not all_pass:
exit(1)

break
elif state == "FAILED":
print(res_json["error"])
Expand Down

0 comments on commit 1aac46e

Please sign in to comment.