From 51e1c5bc128a61831d03e585a8903f4621fcf2d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 24 Dec 2015 16:51:18 +0100 Subject: Simplify cleaning in the test suite Not only simpler but also faster, especially on Windows. --- test/core_plugins.mk | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'test/core_plugins.mk') diff --git a/test/core_plugins.mk b/test/core_plugins.mk index 3f68fc8..6d10f2a 100644 --- a/test/core_plugins.mk +++ b/test/core_plugins.mk @@ -2,18 +2,12 @@ CORE_PLUGINS_CASES = all one CORE_PLUGINS_TARGETS = $(addprefix core-plugins-,$(CORE_PLUGINS_CASES)) -CORE_PLUGINS_CLEAN_TARGETS = $(addprefix clean-,$(CORE_PLUGINS_TARGETS)) -.PHONY: core-plugins $(CORE_PLUGINS_TARGETS) clean-core-plugins $(CORE_PLUGINS_CLEAN_TARGETS) - -clean-core-plugins: $(CORE_PLUGINS_CLEAN_TARGETS) - -$(CORE_PLUGINS_CLEAN_TARGETS): - $t rm -rf $(APP_TO_CLEAN) +.PHONY: core-plugins $(CORE_PLUGINS_TARGETS) core-plugins: $(CORE_PLUGINS_TARGETS) -core-plugins-all: build clean-core-plugins-all +core-plugins-all: build clean $i "Bootstrap a new OTP library named $(APP)" $t mkdir $(APP)/ @@ -45,7 +39,7 @@ core-plugins-all: build clean-core-plugins-all $i "Run 'make plugin2' and check that it prints plugin2" $t test -n "`$(MAKE) -C $(APP) plugin2 | grep plugin2`" -core-plugins-one: build clean-core-plugins-one +core-plugins-one: build clean $i "Bootstrap a new OTP library named $(APP)" $t mkdir $(APP)/ -- cgit v1.2.3