diff options
Diffstat (limited to 'test/core_deps.mk')
-rw-r--r-- | test/core_deps.mk | 295 |
1 files changed, 211 insertions, 84 deletions
diff --git a/test/core_deps.mk b/test/core_deps.mk index 973ff5d..02eff53 100644 --- a/test/core_deps.mk +++ b/test/core_deps.mk @@ -1,10 +1,10 @@ # Core: Packages and dependencies. -CORE_DEPS_TARGETS = $(call list_targets,core-deps) +core_deps_TARGETS = $(call list_targets,core-deps) -.PHONY: core-deps $(CORE_DEPS_TARGETS) +.PHONY: core-deps $(core_deps_TARGETS) -core-deps: $(CORE_DEPS_TARGETS) +core-deps: $(core_deps_TARGETS) ifneq ($(PLATFORM),msys2) core-deps-build-c-8cc: init @@ -106,6 +106,119 @@ core-deps-build-js: init false = lists:member(jquery, Deps), \ halt()" +core-deps-cache-git: init + + $i "Bootstrap a new OTP library named $(APP)" + $t mkdir $(APP)/ + $t cp ../erlang.mk $(APP)/ + $t $(MAKE) -C $(APP) -f erlang.mk bootstrap-lib $v + + $i "Add Cowlib to the list of dependencies" + $t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = cowlib\n"}' $(APP)/Makefile + + $i "Add CACHE_DEPS = 1 to the Makefile" + $t perl -ni.bak -e 'print;if ($$.==1) {print "CACHE_DEPS = 1\n"}' $(APP)/Makefile + + $i "Check that the cache doesn't exist yet" + $t test ! -d $(CACHE_DIR) + + $i "Build the dependencies" + $t $(MAKE) -C $(APP) deps $v + + $i "Check that the cache has been created" + $t test -d $(CACHE_DIR) + + $i "Check that Cowlib was cloned in the cache" + $t test -d $(CACHE_DIR)/git/cowlib + + $i "Distclean the application" + $t $(MAKE) -C $(APP) distclean $v + + $i "Check that Cowlib is still in the cache" + $t test -d $(CACHE_DIR)/git/cowlib + + $i "Break the Cowlib git link so we're forced to use the cache" + $t echo 'dep_cowlib = git bad_url master' >> $(APP)/Makefile + + $i "Build the dependencies" + $t $(MAKE) -C $(APP) deps $v + +core-deps-cache-git-reuse: init + + $i "Bootstrap a new OTP library named $(APP)_1" + $t mkdir $(APP)_1/ + $t cp ../erlang.mk $(APP)_1/ + $t $(MAKE) -C $(APP)_1 -f erlang.mk bootstrap-lib $v + + $i "Add Cowlib 1.0.0 to the list of dependencies" + $t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = cowlib\ndep_cowlib = git \$$(pkg_cowlib_repo) 1.0.0\n"}' $(APP)_1/Makefile + + $i "Add CACHE_DEPS = 1 to the Makefile" + $t perl -ni.bak -e 'print;if ($$.==1) {print "CACHE_DEPS = 1\n"}' $(APP)_1/Makefile + + $i "Bootstrap a new OTP library named $(APP)_2" + $t mkdir $(APP)_2/ + $t cp ../erlang.mk $(APP)_2/ + $t $(MAKE) -C $(APP)_2 -f erlang.mk bootstrap-lib $v + + $i "Add Cowlib 2.15.0 to the list of dependencies" + $t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = cowlib\ndep_cowlib = git \$$(pkg_cowlib_repo) 2.15.0\n"}' $(APP)_2/Makefile + + $i "Add CACHE_DEPS = 1 to the Makefile" + $t perl -ni.bak -e 'print;if ($$.==1) {print "CACHE_DEPS = 1\n"}' $(APP)_2/Makefile + + $i "Build the dependencies in $(APP)_1" + $t $(MAKE) -C $(APP)_1 deps $v + + $i "Check that the cache has been created" + $t test -d $(CACHE_DIR) + + $i "Check that Cowlib was cloned in the cache" + $t test -d $(CACHE_DIR)/git/cowlib + + $i "Build the dependencies in $(APP)_2" + $t $(MAKE) -C $(APP)_2 deps $v + + $i "Check that $(APP)_1 cloned Cowlib 1.0.0" + $t test "$$(cat $(APP)_1/deps/cowlib/.git/HEAD)" = "d544a494af4dbc810fc9c15eaf5cc050cced1501" + + $i "Check that $(APP)_2 cloned Cowlib 2.15.0" + $t test "$$(cat $(APP)_2/deps/cowlib/.git/HEAD)" = "f8d0ad7f19b5dddd33cbfb089ebd2e2be2a81a5d" + +core-deps-cache-hex: init + + $i "Bootstrap a new OTP library named $(APP)" + $t mkdir $(APP)/ + $t cp ../erlang.mk $(APP)/ + $t $(MAKE) -C $(APP) -f erlang.mk bootstrap-lib $v + + $i "Add Cowlib to the list of dependencies using Hex" + $t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = cowlib\ndep_cowlib = hex 2.12.1\n"}' $(APP)/Makefile + + $i "Add CACHE_DEPS = 1 to the Makefile" + $t perl -ni.bak -e 'print;if ($$.==1) {print "CACHE_DEPS = 1\n"}' $(APP)/Makefile + + $i "Check that the cache doesn't exist yet" + $t test ! -d $(CACHE_DIR) + + $i "Build the dependencies" + $t $(MAKE) -C $(APP) deps $v + + $i "Check that the cache has been created" + $t test -d $(CACHE_DIR) + + $i "Check that Cowlib was cloned in the cache" + $t test -f $(CACHE_DIR)/hex/cowlib-2.12.1.tar + + $i "Distclean the application" + $t $(MAKE) -C $(APP) distclean $v + + $i "Check that Cowlib is still in the cache" + $t test -f $(CACHE_DIR)/hex/cowlib-2.12.1.tar + + $i "Build the dependencies" + $t $(MAKE) -C $(APP) deps $v + core-deps-dep-built: init $i "Bootstrap a new OTP library named $(APP)" @@ -288,8 +401,8 @@ core-deps-dep-commit: init $t cp ../erlang.mk $(APP)/ $t $(MAKE) -C $(APP) -f erlang.mk bootstrap-lib $v - $i "Add Cowboy 1.0.0 to the list of dependencies" - $t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = cowboy\ndep_cowboy_commit = 1.0.0\n"}' $(APP)/Makefile + $i "Add Cowboy 2.12.0 to the list of dependencies" + $t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = cowboy\ndep_cowboy_commit = 2.12.0\n"}' $(APP)/Makefile ifdef LEGACY $i "Add Cowboy to the applications key in the .app.src file" @@ -309,7 +422,7 @@ endif [ok = application:load(App) || App <- [$(APP), cowboy, cowlib, ranch]], \ {ok, Deps} = application:get_key($(APP), applications), \ true = lists:member(cowboy, Deps), \ - {ok, \"1.0.0\"} = application:get_key(cowboy, vsn), \ + {ok, \"2.12.0\"} = application:get_key(cowboy, vsn), \ halt()" core-deps-dir: init @@ -354,7 +467,7 @@ core-deps-doc: init $t echo "-module(girl)." > $(APP)/src/girl.erl $i "Add Edown as a documentation building dependency" - $t perl -ni.bak -e 'print;if ($$.==1) {print "DOC_DEPS = edown\nEDOC_OPTS = {doclet, edown_doclet}\n"}' $(APP)/Makefile + $t perl -ni.bak -e 'print;if ($$.==1) {print "DOC_DEPS = edown\ndep_edown = git https://github.com/uwiger/edown master\nEDOC_OPTS = {doclet, edown_doclet}\n"}' $(APP)/Makefile $i "Build the application" $t $(MAKE) -C $(APP) $v @@ -473,8 +586,8 @@ core-deps-fetch-git: init $t cp ../erlang.mk $(APP)/ $t $(MAKE) -C $(APP) -f erlang.mk bootstrap-lib $v - $i "Add Cowboy 1.0.0 to the list of dependencies" - $t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = cowboy\ndep_cowboy = git https://github.com/ninenines/cowboy 1.0.0\n"}' $(APP)/Makefile + $i "Add Cowboy 2.12.0 to the list of dependencies" + $t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = cowboy\ndep_cowboy_commit = 2.12.0\n"}' $(APP)/Makefile ifdef LEGACY $i "Add Cowboy to the applications key in the .app.src file" @@ -494,7 +607,7 @@ endif [ok = application:load(App) || App <- [$(APP), cowboy, cowlib, ranch]], \ {ok, Deps} = application:get_key($(APP), applications), \ true = lists:member(cowboy, Deps), \ - {ok, \"1.0.0\"} = application:get_key(cowboy, vsn), \ + {ok, \"2.12.0\"} = application:get_key(cowboy, vsn), \ halt()" core-deps-fetch-git-subfolder: init @@ -511,7 +624,7 @@ core-deps-fetch-git-subfolder: init # Create an empty file so src/ gets committed. $t touch $(APP)/git_repo/my_dep/src/README $t cd $(APP)/git_repo && \ - git init -q && \ + git init -q -b master && \ git config user.email "[email protected]" && \ git config user.name "test suite" && \ git add . && \ @@ -552,7 +665,7 @@ core-deps-fetch-git-submodule: init # Create an empty file so src/ gets committed. $t touch $(APP)/my_dep/src/README $t cd $(APP)/my_dep && \ - git init -q && \ + git init -q -b master && \ git config user.email "[email protected]" && \ git config user.name "test suite" && \ git add . && \ @@ -561,8 +674,8 @@ core-deps-fetch-git-submodule: init $i "Add the submodule to my_dep" $t mkdir $(APP)/deps $t cd $(APP) && \ - git init -q && \ - git submodule -q add file://$(abspath $(APP)/my_dep) deps/my_dep && \ + git init -q -b master && \ + git -c protocol.file.allow=always submodule -q add file://$(abspath $(APP)/my_dep) deps/my_dep && \ git config user.email "[email protected]" && \ git config user.name "test suite" && \ git add . && \ @@ -599,12 +712,12 @@ core-deps-fetch-hex: init $t cp ../erlang.mk $(APP)/ $t $(MAKE) -C $(APP) -f erlang.mk bootstrap-lib $v - $i "Add Cowboy 1.0.0 to the list of dependencies" - $t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = cowboy\ndep_cowboy = hex 1.0.0\n"}' $(APP)/Makefile + $i "Add Cowboy 2.12.0 and SystemD 0.6.0 to the list of dependencies" + $t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = cowboy systemd\ndep_cowboy = hex 2.12.0\ndep_systemd = hex 0.6.0\n"}' $(APP)/Makefile ifdef LEGACY - $i "Add Cowboy to the applications key in the .app.src file" - $t perl -ni.bak -e 'print;if ($$.==7) {print "\t\tcowboy,\n"}' $(APP)/src/$(APP).app.src + $i "Add Cowboy and SystemD to the applications key in the .app.src file" + $t perl -ni.bak -e 'print;if ($$.==7) {print "\t\tcowboy,\n\t\tsystemd,\n"}' $(APP)/src/$(APP).app.src endif $i "Build the application" @@ -614,13 +727,17 @@ endif $t test -d $(APP)/deps/cowboy $t test -d $(APP)/deps/cowlib $t test -d $(APP)/deps/ranch + $t test -d $(APP)/deps/systemd + $t test -d $(APP)/deps/enough $i "Check that the application was compiled correctly" $t $(ERL) -pa $(APP)/ebin/ $(APP)/deps/*/ebin/ -eval " \ - [ok = application:load(App) || App <- [$(APP), cowboy, cowlib, ranch]], \ + [ok = application:load(App) || App <- [$(APP), cowboy, cowlib, ranch, systemd, enough]], \ {ok, Deps} = application:get_key($(APP), applications), \ true = lists:member(cowboy, Deps), \ - {ok, \"1.0.0\"} = application:get_key(cowboy, vsn), \ + true = lists:member(systemd, Deps), \ + {ok, \"2.12.0\"} = application:get_key(cowboy, vsn), \ + {ok, \"0.6.0\"} = application:get_key(systemd, vsn), \ halt()" # @todo Enable this test again when a host provides Mercurial again. @@ -653,23 +770,6 @@ endif # {ok, \"4.0.3\"} = application:get_key(ehsa, vsn), \ # halt()" -# Legacy must fail for the top-level application, but work for dependencies. -core-deps-fetch-legacy: init - - $i "Bootstrap a new OTP library named $(APP)" - $t mkdir $(APP)/ - $t cp ../erlang.mk $(APP)/ - $t $(MAKE) -C $(APP) -f erlang.mk bootstrap-lib $v - - $i "Add Cowlib as a dependency using a non-existing fetch method named oops" - $t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = cowlib\ndep_cowlib = https://github.com/ninenines/cowlib 1.0.0\n"}' $(APP)/Makefile - - $i "Check that building the application fails" - $t ! $(MAKE) -C $(APP) $v - - $i "Check that building the application works with IS_DEP=1" - $t $(MAKE) -C $(APP) IS_DEP=1 $v - core-deps-fetch-ln: init $i "Bootstrap a new OTP library named $(APP)" @@ -703,34 +803,35 @@ endif true = lists:member(my_dep, Deps), \ halt()" -core-deps-fetch-svn: init - - $i "Bootstrap a new OTP library named $(APP)" - $t mkdir $(APP)/ - $t cp ../erlang.mk $(APP)/ - $t $(MAKE) -C $(APP) -f erlang.mk bootstrap-lib $v - - $i "Add Cowlib 1.0.0 to the list of dependencies" - $t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = cowlib\ndep_cowlib = svn https://github.com/ninenines/cowlib/tags/1.0.0\n"}' $(APP)/Makefile - -ifdef LEGACY - $i "Add Cowlib to the applications key in the .app.src file" - $t perl -ni.bak -e 'print;if ($$.==7) {print "\t\tcowlib,\n"}' $(APP)/src/$(APP).app.src -endif - - $i "Build the application" - $t $(MAKE) -C $(APP) $v - - $i "Check that all dependencies were fetched" - $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), cowlib]], \ - {ok, Deps} = application:get_key($(APP), applications), \ - true = lists:member(cowlib, Deps), \ - {ok, \"1.0.0\"} = application:get_key(cowlib, vsn), \ - halt()" +# @todo Enable this test again when a host provides Subversion again. +#core-deps-fetch-svn: init +# +# $i "Bootstrap a new OTP library named $(APP)" +# $t mkdir $(APP)/ +# $t cp ../erlang.mk $(APP)/ +# $t $(MAKE) -C $(APP) -f erlang.mk bootstrap-lib $v +# +# $i "Add Cowlib 1.0.0 to the list of dependencies" +# $t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = cowlib\ndep_cowlib = svn https://github.com/ninenines/cowlib/tags/1.0.0\n"}' $(APP)/Makefile +# +#ifdef LEGACY +# $i "Add Cowlib to the applications key in the .app.src file" +# $t perl -ni.bak -e 'print;if ($$.==7) {print "\t\tcowlib,\n"}' $(APP)/src/$(APP).app.src +#endif +# +# $i "Build the application" +# $t $(MAKE) -C $(APP) $v +# +# $i "Check that all dependencies were fetched" +# $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), cowlib]], \ +# {ok, Deps} = application:get_key($(APP), applications), \ +# true = lists:member(cowlib, Deps), \ +# {ok, \"1.0.0\"} = application:get_key(cowlib, vsn), \ +# halt()" core-deps-ignore: init @@ -769,7 +870,7 @@ define add_dep_and_subdep $i "Create a Git repository for $(APP)_$(1)subdep" $t (cd $(APP)_$(1)subdep && \ - git init -q && \ + git init -q -b master && \ git config user.name "Testsuite" && \ git config user.email "[email protected]" && \ git add . && \ @@ -788,7 +889,7 @@ define add_dep_and_subdep $i "Create a Git repository for $(APP)_$(1)dep" $t (cd $(APP)_$(1)dep && \ - git init -q && \ + git init -q -b master && \ git config user.name "Testsuite" && \ git config user.email "[email protected]" && \ git add . && \ @@ -827,7 +928,7 @@ dep_shelldep = git file://$(abspath $(APP)_shelldep) master\ $i "Create a Git repository for $(APP)" $t (cd $(APP) && \ - git init -q && \ + git init -q -b master && \ git config user.name "Testsuite" && \ git config user.email "[email protected]" && \ git add . && \ @@ -932,7 +1033,7 @@ dep_dep = git file://$(abspath $(APP)_dep) master\ $i "Create a Git repository for $(APP)" $t (cd $(APP) && \ - git init -q && \ + git init -q -b master && \ git config user.name "Testsuite" && \ git config user.email "[email protected]" && \ git add . && \ @@ -978,7 +1079,7 @@ dep_dep = git file://$(abspath $(APP)_dep) master\ $i "Create a Git repository for $(APP)" $t (cd $(APP) && \ - git init -q && \ + git init -q -b master && \ git config user.name "Testsuite" && \ git config user.email "[email protected]" && \ git add . && \ @@ -1105,7 +1206,7 @@ core-deps-mv-rebar: init $t $(MAKE) -C $(APP) -f erlang.mk bootstrap-lib $v $i "Add Lager to the list of dependencies" - $t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = lager\n"}' $(APP)/Makefile + $t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = lager\ndep_lager = git https://github.com/erlang-lager/lager master\n"}' $(APP)/Makefile $i "Build the application" $t $(MAKE) -C $(APP) $v @@ -1120,6 +1221,32 @@ core-deps-mv-rebar: init $i "Build the application" $t $(MAKE) -C $(APP)-moved $v +ifndef LEGACY +core-deps-optional: init + + $i "Bootstrap a new OTP application named $(APP)" + $t mkdir $(APP)/ + $t cp ../erlang.mk $(APP)/ + $t $(MAKE) -C $(APP) -f erlang.mk bootstrap $v + + $i "Add quicer to the list of optional dependencies" + $t perl -ni.bak -e 'print;if ($$.==1) {print "OPTIONAL_DEPS = quicer\n"}' $(APP)/Makefile + + $i "Build the application" + $t $(MAKE) -C $(APP) $v + + $i "Check that no dependencies were fetched" + $t test ! -e $(APP)/deps + + $i "Check that the application was compiled correctly" + $t $(ERL) -pa $(APP)/ebin/ -eval " \ + ok = application:start($(APP)), \ + {ok, Deps} = application:get_key($(APP), applications), \ + true = lists:member(quicer, Deps), \ + {ok, [quicer]} = application:get_key($(APP), optional_applications), \ + halt()" +endif + # A lower-level dependency of the first dependency always # wins over a lower-level dependency of the second dependency. core-deps-order-first: init @@ -1137,8 +1264,8 @@ core-deps-order-first: init $t cp ../erlang.mk $(APP)/my_dep/ $t $(MAKE) -C $(APP)/my_dep/ -f erlang.mk bootstrap-lib $v - $i "Add Cowlib 1.0.0 to the list of dependencies for my_dep" - $t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = cowlib\ndep_cowlib = git https://github.com/ninenines/cowlib 1.0.0\n"}' $(APP)/my_dep/Makefile + $i "Add Cowlib 2.15.0 to the list of dependencies for my_dep" + $t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = cowlib\ndep_cowlib = git https://github.com/ninenines/cowlib 2.15.0\n"}' $(APP)/my_dep/Makefile ifdef LEGACY $i "Add Cowboy and my_dep to the applications key in the .app.src file" @@ -1159,7 +1286,7 @@ endif [ok = application:load(App) || App <- [$(APP), cowboy, cowlib, my_dep, ranch]], \ {ok, Deps} = application:get_key($(APP), applications), \ true = lists:member(cowboy, Deps), \ - {ok, \"1.0.0\"} = application:get_key(cowlib, vsn), \ + {ok, \"2.15.0\"} = application:get_key(cowlib, vsn), \ halt()" # A higher-level dependency always wins. @@ -1170,8 +1297,8 @@ core-deps-order-top: init $t cp ../erlang.mk $(APP)/ $t $(MAKE) -C $(APP) -f erlang.mk bootstrap-lib $v - $i "Add Cowboy package and Cowlib 1.0.0 to the list of dependencies" - $t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = cowboy cowlib\ndep_cowlib = git https://github.com/ninenines/cowlib 1.0.0\n"}' $(APP)/Makefile + $i "Add Cowboy package and Cowlib 2.15.0 to the list of dependencies" + $t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = cowboy cowlib\ndep_cowlib = git https://github.com/ninenines/cowlib 2.15.0\n"}' $(APP)/Makefile ifdef LEGACY $i "Add Cowboy to the applications key in the .app.src file" @@ -1191,7 +1318,7 @@ endif [ok = application:load(App) || App <- [$(APP), cowboy, cowlib, ranch]], \ {ok, Deps} = application:get_key($(APP), applications), \ true = lists:member(cowboy, Deps), \ - {ok, \"1.0.0\"} = application:get_key(cowlib, vsn), \ + {ok, \"2.15.0\"} = application:get_key(cowlib, vsn), \ halt()" ifndef LEGACY @@ -1257,7 +1384,7 @@ core-deps-rel: init $t $(MAKE) -C $(APP) -f erlang.mk bootstrap-lib bootstrap-rel $v $i "Add Recon to the list of release dependencies" - $t perl -ni.bak -e 'print;if ($$.==1) {print "REL_DEPS = recon\n"}' $(APP)/Makefile + $t perl -ni.bak -e 'print;if ($$.==1) {print "REL_DEPS = recon\ndep_recon = git https://github.com/ferd/recon master\n"}' $(APP)/Makefile $i "Add Recon to the relx.config file" $t $(ERL) -eval " \ @@ -1270,8 +1397,8 @@ core-deps-rel: init $i "Build the application and its dependencies" $t $(MAKE) -C $(APP) deps app $v - $i "Check that no dependencies were fetched" - $t test ! -e $(APP)/deps + $i "Check that Recon was not fetched" + $t test ! -e $(APP)/deps/recon $i "Check that the application was compiled correctly" $t $(ERL) -pa $(APP)/ebin/ -eval " \ @@ -1283,7 +1410,7 @@ core-deps-rel: init $i "Build the release" $t $(MAKE) -C $(APP) $v - $i "Check that all dependencies were fetched" + $i "Check that Recon was fetched" $t test -d $(APP)/deps/recon $i "Check that the application was compiled correctly" @@ -1298,17 +1425,17 @@ core-deps-rel: init ifeq ($(PLATFORM),msys2) # $t $(APP)/_rel/$(APP)_release/bin/$(APP)_release.cmd install $v # $t $(APP)/_rel/$(APP)_release/bin/$(APP)_release.cmd start $v -# $t test -n "`$(APP)/_rel/$(APP)_release/bin/$(APP)_release.cmd rpcterms \ +# $t test -n "`$(APP)/_rel/$(APP)_release/bin/$(APP)_release.cmd rpc \ # application loaded_applications | grep recon`" # $t $(APP)/_rel/$(APP)_release/bin/$(APP)_release.cmd stop $v # $t $(APP)/_rel/$(APP)_release/bin/$(APP)_release.cmd uninstall $v else $i "Start the release and check that Recon is loaded" - $t $(APP)/_rel/$(APP)_release/bin/$(APP)_release start $v + $t $(APP)/_rel/$(APP)_release/bin/$(APP)_release daemon $v $t apps="Node is not running!"; \ while test "$$apps" = "Node is not running!"; do \ apps=$$($(APP)/_rel/$(APP)_release/bin/$(APP)_release \ - rpcterms \ application loaded_applications); \ + rpc application loaded_applications); \ done; \ echo "$$apps" | grep -q recon $t $(APP)/_rel/$(APP)_release/bin/$(APP)_release stop $v |