From e4cc2f00fe85ad9f59a09ffc2d74c6cb5252816a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 21 Jun 2024 15:42:12 +0200 Subject: Comment-out core-deps-fetch-svn test It's become hard to find a host that provides Subversion. --- test/core_deps.mk | 57 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 29 insertions(+), 28 deletions(-) diff --git a/test/core_deps.mk b/test/core_deps.mk index 4d8e161..76aa763 100644 --- a/test/core_deps.mk +++ b/test/core_deps.mk @@ -820,34 +820,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 -- cgit v1.2.3