diff options
author | Loïc Hoguin <[email protected]> | 2024-06-21 15:42:12 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2024-06-21 15:42:12 +0200 |
commit | e4cc2f00fe85ad9f59a09ffc2d74c6cb5252816a (patch) | |
tree | 325fcbbba906e5ed5fc8d314f49d727af49c349e | |
parent | b54e4b5d4437424a653136af5afacd92a918aaf8 (diff) | |
download | erlang.mk-e4cc2f00fe85ad9f59a09ffc2d74c6cb5252816a.tar.gz erlang.mk-e4cc2f00fe85ad9f59a09ffc2d74c6cb5252816a.tar.bz2 erlang.mk-e4cc2f00fe85ad9f59a09ffc2d74c6cb5252816a.zip |
Comment-out core-deps-fetch-svn test
It's become hard to find a host that provides Subversion.
-rw-r--r-- | test/core_deps.mk | 57 |
1 files 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 |