33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
From: Peter Lemenkov <lemenkov@gmail.com>
|
|
Date: Tue, 10 Aug 2021 16:09:26 +0200
|
|
Subject: [PATCH] Disable two test suites in Erlang 24
|
|
|
|
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
|
|
|
|
diff --git a/test/rebar_eunit_tests.erl b/test/rebar_eunit_tests.erl
|
|
index d481dae..872c570 100644
|
|
--- a/test/rebar_eunit_tests.erl
|
|
+++ b/test/rebar_eunit_tests.erl
|
|
@@ -297,7 +297,7 @@ expected_cover_generated_files() ->
|
|
".eunit/myapp_mymod.COVER.html",
|
|
".eunit/myapp_sup.COVER.html"].
|
|
|
|
-cover_coverage_test_() ->
|
|
+cover_coverage_test_ERLANG_24_DISABLE() ->
|
|
{"Coverage is accurately calculated",
|
|
setup, fun() -> setup_cover_project(), rebar("-v eunit") end,
|
|
fun teardown/1,
|
|
diff --git a/test/rebar_xref_eunit.erl b/test/rebar_xref_eunit.erl
|
|
index f32ea46..5f1282e 100644
|
|
--- a/test/rebar_xref_eunit.erl
|
|
+++ b/test/rebar_xref_eunit.erl
|
|
@@ -10,7 +10,7 @@
|
|
|
|
-define(TMP_DIR, "tmp_xref_eunit/").
|
|
|
|
-xref_test_() ->
|
|
+xref_test_ERLANG_24_DISABLE() ->
|
|
{"Test the various xref warnings",
|
|
setup, fun() -> setup_project(false), rebar("compile"), rebar("skip_deps=true xref") end,
|
|
fun teardown/1,
|