From 93c6565b66bf1124b68a2a2fc62e9cdb2c52809c Mon Sep 17 00:00:00 2001 From: mrg Date: Sun, 6 Feb 2022 09:13:36 -0800 Subject: [PATCH] Add total failure of tests --- compiler/tests/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/tests/Makefile b/compiler/tests/Makefile index 2f6f36c4..c86a6fa5 100644 --- a/compiler/tests/Makefile +++ b/compiler/tests/Makefile @@ -41,6 +41,7 @@ getfile = $(word 2,$(subst /, ,$*)) WORKING_TECH_TEST_STAMPS=$(foreach T, $(TECHS),$(addprefix $T/,$(WORKING_TEST_STAMPS))) all: $(WORKING_TECH_TEST_STAMPS) + @test -f $(TOP_DIR)/compiler/tests/results/*.bad && echo "Regression had a failure." && exit 1 || "Regression passed." .PHONY: all # Targets for each individual test