Commit 74f238df authored by Camil Staps's avatar Camil Staps 🙂

Merge branch '10-set-return-code-to-1-in-case-tests-fail' into 'master'

Resolve "set return code to 1 in case tests fail"

Closes #10

See merge request !2
parents 1fb6a56d 046d2170
......@@ -393,4 +393,7 @@ where
return :: !EndEventType !TestRun !*File !*World -> *(!RunResult, !*World)
return eet r io w
# (_,w) = fclose io w
# w = case eet of
Failed _ -> setReturnCode 1 w
_ -> w
= ({run=r, result=eet}, w)
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