From cf474bdc2fe3c6417fb64ac15e1ed4016545382c Mon Sep 17 00:00:00 2001 From: Mustafa Quraish Date: Thu, 3 Feb 2022 06:21:28 -0500 Subject: Make `make test` exit early if any of the tests fail --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 97c1baf..94f1b8e 100644 --- a/Makefile +++ b/Makefile @@ -43,7 +43,7 @@ clean: test: compile @for f in $(shell ls tests | grep -v "common"); \ do echo "Running $${f}"; \ - ./tests/$${f}; \ + ./tests/$${f} || exit 1; \ done tests/%.sh: compile -- cgit v1.2.3