aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/core_deps.mk11
1 files changed, 5 insertions, 6 deletions
diff --git a/test/core_deps.mk b/test/core_deps.mk
index dae7be9..6b95a8b 100644
--- a/test/core_deps.mk
+++ b/test/core_deps.mk
@@ -81,23 +81,22 @@ core-deps-build-erl: build clean-core-deps-build-erl
$t cp ../erlang.mk $(APP)/
$t $(MAKE) -C $(APP) -f erlang.mk bootstrap-lib $v
- $i "Add rebar to the list of build dependencies"
+ $i "Add cowlib to the list of build dependencies"
$t sed -i.bak '2i\
-BUILD_DEPS = rebar\
-dep_rebar = git https://github.com/rebar/rebar master\
+BUILD_DEPS = cowlib\
' $(APP)/Makefile
$i "Build the application"
$t $(MAKE) -C $(APP) $v
$i "Check that all dependencies were fetched"
- $t test -d $(APP)/deps/rebar
+ $t test -d $(APP)/deps/cowlib
$i "Check that the application was compiled correctly"
$t $(ERL) -pa $(APP)/ebin/ $(APP)/deps/*/ebin/ -eval " \
- [ok = application:load(App) || App <- [$(APP), rebar]], \
+ [ok = application:load(App) || App <- [$(APP), cowlib]], \
{ok, Deps} = application:get_key($(APP), applications), \
- false = lists:member(rebar, Deps), \
+ false = lists:member(cowlib, Deps), \
halt()"
core-deps-pkg: build clean-core-deps-pkg