From 16238af5840a2f3f370e21ee31dc4cca18802ed1 Mon Sep 17 00:00:00 2001 From: mrg Date: Tue, 8 Feb 2022 13:07:37 -0800 Subject: [PATCH] Print failing tests before exit --- compiler/tests/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/compiler/tests/Makefile b/compiler/tests/Makefile index 4b1e45de..11c4c1f8 100644 --- a/compiler/tests/Makefile +++ b/compiler/tests/Makefile @@ -42,9 +42,7 @@ WORKING_TECH_TEST_STAMPS=$(foreach T, $(TECHS),$(addprefix $T/,$(WORKING_TEST_ST # Run all technologies all: $(WORKING_TECH_TEST_STAMPS) - @ls $(TOP_DIR)/compiler/tests/results/*/*.bad 1> /dev/null 2>&1 && echo "REGRESSION FAIL" && exit 1 || echo "REGRESSION PASS" - @echo "FAILING TESTS:" - @ls $(TOP_DIR)/compiler/tests/results/*/*.bad + @ls $(TOP_DIR)/compiler/tests/results/*/*.bad 1> /dev/null 2>&1 && echo "FAILING TESTS" && ls $(TOP_DIR)/compiler/tests/results/*/*.bad && exit 1 .PHONY: all # Run a given technology