diff options
author | Loïc Hoguin <[email protected]> | 2018-12-07 19:40:02 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-12-07 19:40:02 +0100 |
commit | a3cd50792d0ed1c5dfee66ff79ee7117057e9970 (patch) | |
tree | 79c76f50159c7d63fc313628b8b0715831537b42 /test/plugin_c_src.mk | |
parent | 1fb70e0d435e5058c558f89d223a0f6ba3bd5342 (diff) | |
download | erlang.mk-a3cd50792d0ed1c5dfee66ff79ee7117057e9970.tar.gz erlang.mk-a3cd50792d0ed1c5dfee66ff79ee7117057e9970.tar.bz2 erlang.mk-a3cd50792d0ed1c5dfee66ff79ee7117057e9970.zip |
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.
Diffstat (limited to 'test/plugin_c_src.mk')
-rw-r--r-- | test/plugin_c_src.mk | 6 |
1 files changed, 3 insertions, 3 deletions
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)/ |