# HG changeset patch # User Chris Cannam # Date 1384958584 0 # Node ID 395d644dcb7119f5f021ee5150745e08c9ea4caa # Parent f909771addc6b89ed65de3b33468b4fe70933181 Return error code when tests fail diff -r f909771addc6 -r 395d644dcb71 src/may/test/all.yeti --- a/src/may/test/all.yeti Wed Nov 20 14:25:32 2013 +0000 +++ b/src/may/test/all.yeti Wed Nov 20 14:43:04 2013 +0000 @@ -30,6 +30,7 @@ if (bad > 0) then println "\n** \(bad) test(s) failed!"; + threadExit 1 else () fi