From ee97d87bdf6941384dbe03b460e6dfeaa1780c36 Mon Sep 17 00:00:00 2001 From: mrg Date: Sun, 6 Feb 2022 12:36:22 -0800 Subject: [PATCH] Fix total regress pass or fail check. --- compiler/tests/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/tests/Makefile b/compiler/tests/Makefile index ac0c2ff2..2fb7f4e1 100644 --- a/compiler/tests/Makefile +++ b/compiler/tests/Makefile @@ -41,7 +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." + @ls $(TOP_DIR)/compiler/tests/results/*.bad 1> /dev/null 2>&1 && echo "REGRESSION FAIL" && exit 1 || echo "REGRESSION PASS" .PHONY: all # Targets for each individual test