From a75d9fcc76cba41491b024416ef33de273ec06e5 Mon Sep 17 00:00:00 2001 From: mrg Date: Fri, 11 Feb 2022 13:11:24 -0800 Subject: [PATCH] Fix failing test output of Makefile --- compiler/tests/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/tests/Makefile b/compiler/tests/Makefile index c18e1f98..a57b4478 100644 --- a/compiler/tests/Makefile +++ b/compiler/tests/Makefile @@ -70,7 +70,7 @@ WORKING_TECH_TEST_STAMPS=$(filter-out $(BROKEN_STAMPS), $(TECH_TEST_STAMPS)) # Run all technologies all: $(WORKING_TECH_TEST_STAMPS) - @ls $(TOP_DIR)/compiler/tests/results/*/*.bad 1> /dev/null 2>&1 && echo "FAILING TESTS" && ls $(TOP_DIR)/compiler/tests/results/*/*.bad && sed -e "s/^.*\/results\///" && exit 1 + @ls -1 $(TOP_DIR)/compiler/tests/results/*/*.bad 1> /dev/null 2>&1 && echo "FAILING TESTS" && ls -1 $(TOP_DIR)/compiler/tests/results/*/*.bad | sed -e "s#^.*results\/##" && exit 1 || exit 0 .PHONY: all # Run a given technology @@ -89,6 +89,7 @@ $(TEST_BASES): %.ok: # @echo "Running $(gettech) $(getfile) ... " @rm -rf results/$* + @rm -rf results/$*.* @mkdir -p results/$*/tmp @docker run \ -v $(TOP_DIR):/openram \