summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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 ->