From a3cd50792d0ed1c5dfee66ff79ee7117057e9970 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 7 Dec 2018 19:40:02 +0100 Subject: Autopatch: allow configuring REBAR_GIT and REBAR_COMMIT And use this in the tests to fetch Rebar only once and then clone from the local repository. This should speed up tests a little. --- test/core_misc.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/core_misc.mk') diff --git a/test/core_misc.mk b/test/core_misc.mk index 0d838ac..9b7aa92 100644 --- a/test/core_misc.mk +++ b/test/core_misc.mk @@ -8,7 +8,7 @@ CORE_MISC_TARGETS = $(filter-out core-misc,$(call list_targets,core)) core-misc: $(CORE_MISC_TARGETS) -core-clean-crash-dump: build clean +core-clean-crash-dump: init $i "Bootstrap a new OTP library named $(APP)" $t mkdir $(APP)/ @@ -24,7 +24,7 @@ core-clean-crash-dump: build clean $i "Check that the crash dump is removed" $t test ! -e $(APP)/erl_crash.dump -core-distclean-tmp: build clean +core-distclean-tmp: init $i "Bootstrap a new OTP application named $(APP)" $t mkdir $(APP)/ @@ -40,7 +40,7 @@ core-distclean-tmp: build clean $i "Check that .erlang.mk directory got removed" $t test ! -e $(APP)/.erlang.mk -core-help: build clean +core-help: init $i "Bootstrap a new OTP library named $(APP)" $t mkdir $(APP)/ -- cgit v1.2.3