summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-06-29 09:18:32 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2019-06-29 09:20:44 +0100
commit10bc5187398e01ac5cfba5084aa70ed6794deb57 (patch)
tree9c00be62203fa20293ee693f2d62ea5e56f1066f /dev-lang/elixir
parentdev-python/pyro: Bump to 4.76 (diff)
downloadgentoo-10bc5187398e01ac5cfba5084aa70ed6794deb57.tar.gz
gentoo-10bc5187398e01ac5cfba5084aa70ed6794deb57.tar.bz2
gentoo-10bc5187398e01ac5cfba5084aa70ed6794deb57.zip
dev-lang/elixir: disable network tests
Package-Manager: Portage-2.3.67, Repoman-2.3.16 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-lang/elixir')
-rw-r--r--dev-lang/elixir/elixir-1.9.0.ebuild4
-rw-r--r--dev-lang/elixir/files/elixir-1.9.0-disable-network-tests.patch18
2 files changed, 22 insertions, 0 deletions
diff --git a/dev-lang/elixir/elixir-1.9.0.ebuild b/dev-lang/elixir/elixir-1.9.0.ebuild
index e82dfcd159dd..b78f71f1a8c0 100644
--- a/dev-lang/elixir/elixir-1.9.0.ebuild
+++ b/dev-lang/elixir/elixir-1.9.0.ebuild
@@ -18,6 +18,10 @@ RDEPEND="${DEPEND}
!!sci-biology/phylip
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.9.0-disable-network-tests.patch
+)
+
src_compile() {
emake Q=""
}
diff --git a/dev-lang/elixir/files/elixir-1.9.0-disable-network-tests.patch b/dev-lang/elixir/files/elixir-1.9.0-disable-network-tests.patch
new file mode 100644
index 000000000000..9806b5608db3
--- /dev/null
+++ b/dev-lang/elixir/files/elixir-1.9.0-disable-network-tests.patch
@@ -0,0 +1,18 @@
+--- a/lib/mix/test/mix/tasks/release_test.exs
++++ b/lib/mix/test/mix/tasks/release_test.exs
+@@ -265,6 +265,7 @@ defmodule Mix.Tasks.ReleaseTest do
+ end)
+ end
+
++ @tag :skip
+ test "executes rpc instructions" do
+ in_fixture("release_test", fn ->
+ config = [releases: [permanent1: [include_erts: false]]]
+@@ -329,6 +330,7 @@ defmodule Mix.Tasks.ReleaseTest do
+ end)
+ end
+
++ @tag :skip
+ @tag :unix
+ test "runs in daemon mode" do
+ in_fixture("release_test", fn ->