hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit f41bc0887e953d67023c298aadcddab7c3aceb29
parent c4d2b2c8b1cf853b5f0e324073e9cf24ca0aeeaa
Author: Drew DeVault <sir@cmpwn.com>
Date:   Thu,  4 Feb 2021 15:20:32 -0500

rt +test: exit nonzero on test failure

Diffstat:
Mrt/+test/start.ha | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/rt/+test/start.ha b/rt/+test/start.ha @@ -61,6 +61,5 @@ export fn start_ha() void = { fini_start[i](); }; - exit(0); + exit(if (nfail > 0z) 1 else 0); }; -