File 1040-Add-some-debug-info-to-cdv-tests.patch of Package erlang
From a3db0f878a430721abf2ae058348f30c54e599af Mon Sep 17 00:00:00 2001
From: Dan Gudmundsson <dgud@erlang.org>
Date: Tue, 16 Jun 2020 08:51:59 +0200
Subject: [PATCH 4/5] Add some debug info to cdv tests
Add pid to error printout so it's easier to debug.
---
lib/observer/test/crashdump_viewer_SUITE.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/observer/test/crashdump_viewer_SUITE.erl b/lib/observer/test/crashdump_viewer_SUITE.erl
index 31cf7011d4..19cd6bd0f7 100644
--- a/lib/observer/test/crashdump_viewer_SUITE.erl
+++ b/lib/observer/test/crashdump_viewer_SUITE.erl
@@ -650,7 +650,7 @@ lookat_all_pids([#proc{pid=Pid0}|Procs],TruncAllowed,IncompAllowed) ->
_ when TruncAllowed ->
ok; % truncated dump
TWs ->
- ct:fail({unexpected_warning,TWs})
+ ct:fail({unexpected_warning,Pid,TWs})
end,
lookat_all_pids(Procs,TruncAllowed,IncompAllowed).
--
2.26.2