Skip to content
This repository has been archived by the owner on Aug 24, 2024. It is now read-only.

Commit

Permalink
fix: add reporting of missing expected output files .
Browse files Browse the repository at this point in the history
  • Loading branch information
lovettchris committed Sep 1, 2022
1 parent 93447fd commit cbf73c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lakefile.lean
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ def execute (capture : Bool) : IO UInt32 := do
else
IO.println s!" FAILED: diff {expected} {actual}"
retVal := retVal + 1
else
IO.println s!" FAILED: expected output file is missing: {expected}"
retVal := retVal + 1

if retVal > 0 then
IO.println s!"FAILED: {retVal} tests failed!"
return retVal
Expand Down

0 comments on commit cbf73c9

Please sign in to comment.