From 51097b2c8b94c3f1e436d950d2e1a26f3b44bd82 Mon Sep 17 00:00:00 2001 From: mrg Date: Wed, 2 Feb 2022 09:38:27 -0800 Subject: [PATCH] Revert rm in makefile --- compiler/tests/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/compiler/tests/Makefile b/compiler/tests/Makefile index cbe79439..9a90d16d 100644 --- a/compiler/tests/Makefile +++ b/compiler/tests/Makefile @@ -3,7 +3,6 @@ include $(TOP_DIR)/openram.mk .DEFAULT_GOAL := all -RM ?= "rm -rf" ARGS ?= TECH ?= scn4m_subm TECHS = scn4m_subm freepdk45 @@ -105,7 +104,7 @@ $(TEST_BASES): sh -c ". /home/cad-user/.bashrc && python3 -u $(OPENRAM_DIR)/$(getfile).py \ -t $(gettech) -k $(ARGS) -p $(OPENRAM_DIR)/results/$* > $(OPENRAM_DIR)/results/$*.out 2>&1 && touch $(OPENRAM_DIR)/results/$*.ok || touch $(OPENRAM_DIR)/results/$*.bad" @test -f $(TOP_DIR)/compiler/tests/results/$*.ok && echo "$* ... PASS!" && \ - $(RM) $(TOP_DIR)/compiler/tests/results/$* || echo "$* ... FAIL!" + rm -rf $(TOP_DIR)/compiler/tests/results/$* || echo "$* ... FAIL!" .DELETE_ON_ERROR: $(TEST_STAMPS) # Mount environment for debug