Verified Commit 42f6e38c authored by Camil Staps's avatar Camil Staps 🚀

Fix duplicate message when children failed and test exits with non-zero exit code

parent 7609a76e
......@@ -349,6 +349,9 @@ where
# io = emit (EndEvent ee) io
| fromJust rcode <> 0
# event = Failed Nothing
| ee.event=:(Failed (Just (FailedChildren _)))
// We already have a FailedChildren message; no need for another about the exit code
= return event r io w
# io = emit ( EndEvent { name = r.TestRun.name
, event = event
, message = "Child process exited with " <+ fromJust rcode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment