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/plugin_c_src.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/plugin_c_src.mk') diff --git a/test/plugin_c_src.mk b/test/plugin_c_src.mk index 289f08c..eeee445 100644 --- a/test/plugin_c_src.mk +++ b/test/plugin_c_src.mk @@ -13,7 +13,7 @@ else C_SRC_OUTPUT_EXECUTABLE_EXTENSION = .so endif -c-src-makefile-change: build clean +c-src-makefile-change: init $i "Bootstrap a new OTP library named $(APP)" $t mkdir $(APP)/ @@ -41,7 +41,7 @@ c-src-makefile-change: build clean $t find $(APP) -type f -newer $(APP)/Makefile -not -path "$(APP)/.erlang.mk/*" | sort | diff $(APP)/EXPECT - $t rm $(APP)/EXPECT -c-src-nif: build clean +c-src-nif: init $i "Bootstrap a new OTP library named $(APP)" $t mkdir $(APP)/ @@ -109,7 +109,7 @@ c-src-nif: build clean $i "Check that all files were removed" $t test ! -e $(APP)/c_src/env.mk -c-src-nif-missing-name: build clean +c-src-nif-missing-name: init $i "Bootstrap a new OTP library named $(APP)" $t mkdir $(APP)/ -- cgit v1.2.3