aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2020-10-27 17:02:38 +0100
committerLoïc Hoguin <[email protected]>2020-10-27 17:02:38 +0100
commit720220805da43f760c269859b3bf8d4e4017e8fb (patch)
treee04093293a9bfa0be3f9eb3ec45b26588f87e645
parent472c405699c14b19b9484e458fac940bde93c6f9 (diff)
downloaderlang.mk-720220805da43f760c269859b3bf8d4e4017e8fb.tar.gz
erlang.mk-720220805da43f760c269859b3bf8d4e4017e8fb.tar.bz2
erlang.mk-720220805da43f760c269859b3bf8d4e4017e8fb.zip
Disable Mercurial test
There are no popular Mercurial providers anymore. We can enable it again when things change. Gitlab might add it in the future.
-rw-r--r--test/core_deps.mk57
1 files changed, 29 insertions, 28 deletions
diff --git a/test/core_deps.mk b/test/core_deps.mk
index 31b92f6..977fcaf 100644
--- a/test/core_deps.mk
+++ b/test/core_deps.mk
@@ -623,34 +623,35 @@ endif
{ok, \"1.0.0\"} = application:get_key(cowboy, vsn), \
halt()"
-core-deps-fetch-hg: 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 Ehsa 4.0.3 to the list of dependencies"
- $t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = ehsa\ndep_ehsa = hg https://bitbucket.org/a12n/ehsa 4.0.3\n"}' $(APP)/Makefile
-
-ifdef LEGACY
- $i "Add ehsa to the applications key in the .app.src file"
- $t perl -ni.bak -e 'print;if ($$.==7) {print "\t\tehsa,\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/ehsa
-
- $i "Check that the application was compiled correctly"
- $t $(ERL) -pa $(APP)/ebin/ $(APP)/deps/*/ebin/ -eval " \
- [ok = application:load(App) || App <- [$(APP), ehsa]], \
- {ok, Deps} = application:get_key($(APP), applications), \
- true = lists:member(ehsa, Deps), \
- {ok, \"4.0.3\"} = application:get_key(ehsa, vsn), \
- halt()"
+# @todo Enable this test again when a host provides Mercurial again.
+#core-deps-fetch-hg: 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 Ehsa 4.0.3 to the list of dependencies"
+# $t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = ehsa\ndep_ehsa = hg https://bitbucket.org/a12n/ehsa 4.0.3\n"}' $(APP)/Makefile
+#
+#ifdef LEGACY
+# $i "Add ehsa to the applications key in the .app.src file"
+# $t perl -ni.bak -e 'print;if ($$.==7) {print "\t\tehsa,\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/ehsa
+#
+# $i "Check that the application was compiled correctly"
+# $t $(ERL) -pa $(APP)/ebin/ $(APP)/deps/*/ebin/ -eval " \
+# [ok = application:load(App) || App <- [$(APP), ehsa]], \
+# {ok, Deps} = application:get_key($(APP), applications), \
+# true = lists:member(ehsa, Deps), \
+# {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