File 0871-Fix-error-handling.patch of Package erlang
From c8b1f98b92f05a80a2ba8c9bcd9675f135f49f2d Mon Sep 17 00:00:00 2001
From: Dan Gudmundsson <dgud@erlang.org>
Date: Tue, 25 Feb 2020 10:47:33 +0100
Subject: [PATCH 1/2] Fix error handling
Caused building a huge stack of error messages.
---
lib/common_test/src/ct_framework.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/common_test/src/ct_framework.erl b/lib/common_test/src/ct_framework.erl
index 0806da9684..c563bd5307 100644
--- a/lib/common_test/src/ct_framework.erl
+++ b/lib/common_test/src/ct_framework.erl
@@ -816,7 +816,7 @@ end_tc(Mod,Func00,TCPid,Result,Args,Return) ->
lists:keydelete(Func,2,Running);
({_,{suite0_failed,_}}) ->
undefined;
- ([{_,CurrTC}]) when CurrTC == Func ->
+ ([{_,_}]) ->
undefined;
(undefined) ->
undefined;
--
2.16.4