Fix failing test output of Makefile

This commit is contained in:
mrg 2022-02-11 13:11:24 -08:00
parent ab3acb99da
commit a75d9fcc76
1 changed files with 2 additions and 1 deletions

View File

@ -70,7 +70,7 @@ WORKING_TECH_TEST_STAMPS=$(filter-out $(BROKEN_STAMPS), $(TECH_TEST_STAMPS))
# Run all technologies # Run all technologies
all: $(WORKING_TECH_TEST_STAMPS) 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 .PHONY: all
# Run a given technology # Run a given technology
@ -89,6 +89,7 @@ $(TEST_BASES):
%.ok: %.ok:
# @echo "Running $(gettech) $(getfile) ... " # @echo "Running $(gettech) $(getfile) ... "
@rm -rf results/$* @rm -rf results/$*
@rm -rf results/$*.*
@mkdir -p results/$*/tmp @mkdir -p results/$*/tmp
@docker run \ @docker run \
-v $(TOP_DIR):/openram \ -v $(TOP_DIR):/openram \