File 2202-system-Remove-special-handling-of-EDoc-in-otp_SUITE.patch of Package erlang
From f118df01b0183f5db10f15c4e852eb504a47eac8 Mon Sep 17 00:00:00 2001
From: Hans Bolinder <hasse@erlang.org>
Date: Tue, 20 Aug 2019 12:07:58 +0200
Subject: [PATCH 2/2] system: Remove special handling of EDoc in otp_SUITE.
---
erts/test/otp_SUITE.erl | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/erts/test/otp_SUITE.erl b/erts/test/otp_SUITE.erl
index 2372e8b9ac..c5e0dfe649 100644
--- a/erts/test/otp_SUITE.erl
+++ b/erts/test/otp_SUITE.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2000-2018. All Rights Reserved.
+%% Copyright Ericsson AB 2000-2019. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -79,8 +79,7 @@ undefined_functions(Config) when is_list(Config) ->
Undef1 = erts_filter(Undef0),
Undef2 = hipe_filter(Undef1),
Undef3 = ssl_crypto_filter(Undef2),
- Undef4 = edoc_filter(Undef3),
- Undef5 = eunit_filter(Undef4),
+ Undef5 = eunit_filter(Undef3),
Undef6 = dialyzer_filter(Undef5),
Undef7 = wx_filter(Undef6),
Undef8 = gs_filter(Undef7),
@@ -157,12 +156,6 @@ ssl_crypto_filter(Undef) ->
{_,_} -> Undef
end.
-edoc_filter(Undef) ->
- %% Filter away function call that is catched.
- filter(fun({{edoc_lib,uri_get_http,1},{http,request_sync,2}}) -> false;
- (_) -> true
- end, Undef).
-
eunit_filter(Undef) ->
filter(fun({{eunit_test,wrapper_test_exported_,0},
{eunit_test,nonexisting_function,0}}) -> false;
--
2.16.4