Skip to content

Commit

Permalink
CI: Print marklog on failed validation
Browse files Browse the repository at this point in the history
  • Loading branch information
luigi311 committed Oct 27, 2024
1 parent 47a39b0 commit d57d244
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/validate_ci_marklog.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,12 @@ def main():
lines = read_marklog()
if not check_marklog(lines, expected_values):
print("Failed to validate marklog")
for line in lines:
# Remove the newline character
line = line.strip()

print(line)

exit(1)

print("Successfully validated marklog")
Expand Down

0 comments on commit d57d244

Please sign in to comment.