File 0610-erts-Skip-heavy-process-tab-tests-in-debug-emu.patch of Package erlang

From 178721284f342e9c8408c336741e73b61162b138 Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Tue, 19 Mar 2019 11:51:34 +0100
Subject: [PATCH 13/26] erts: Skip heavy process tab tests in debug emu

---
 erts/emulator/test/process_SUITE.erl | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/erts/emulator/test/process_SUITE.erl b/erts/emulator/test/process_SUITE.erl
index edf08ce0bd..e009f60860 100644
--- a/erts/emulator/test/process_SUITE.erl
+++ b/erts/emulator/test/process_SUITE.erl
@@ -133,6 +133,15 @@ init_per_group(_GroupName, Config) ->
 end_per_group(_GroupName, Config) ->
     Config.
 
+init_per_testcase(Func, Config)
+  when Func =:= processes_default_tab_test;
+       Func =:= processes_this_tab ->
+    case erlang:system_info(debug_compiled) of
+        true ->
+            {skip, "Don't run in debug"};
+        false ->
+            [{testcase, Func} | Config]
+    end;
 init_per_testcase(Func, Config) when is_atom(Func), is_list(Config) ->
     [{testcase, Func}|Config].
 
-- 
2.16.4

openSUSE Build Service is sponsored by