aboutsummaryrefslogtreecommitdiffstats
path: root/test/core_plugins.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-12-24 16:51:18 +0100
committerLoïc Hoguin <[email protected]>2015-12-24 16:51:18 +0100
commit51e1c5bc128a61831d03e585a8903f4621fcf2d6 (patch)
tree6ee24f8decd1a8314d262a6cbb49b14783198bf4 /test/core_plugins.mk
parente41632002d35049e37e318c649cf8439938c3f0d (diff)
downloaderlang.mk-51e1c5bc128a61831d03e585a8903f4621fcf2d6.tar.gz
erlang.mk-51e1c5bc128a61831d03e585a8903f4621fcf2d6.tar.bz2
erlang.mk-51e1c5bc128a61831d03e585a8903f4621fcf2d6.zip
Simplify cleaning in the test suite
Not only simpler but also faster, especially on Windows.
Diffstat (limited to 'test/core_plugins.mk')
-rw-r--r--test/core_plugins.mk12
1 files changed, 3 insertions, 9 deletions
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)/