File 0422-stdlib-Skip-tests-that-fail-in-gh-actions.patch of Package erlang

From 140a47e270064e098659e6c44912b07daf16354a Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Wed, 2 Aug 2023 14:28:22 +0200
Subject: [PATCH 2/5] stdlib: Skip tests that fail in gh actions

---
 lib/stdlib/test/Makefile       | 2 +-
 lib/stdlib/test/stdlib_gh.spec | 9 +++++++++
 2 files changed, 10 insertions(+), 1 deletion(-)
 create mode 100644 lib/stdlib/test/stdlib_gh.spec

diff --git a/lib/stdlib/test/Makefile b/lib/stdlib/test/Makefile
index 98a7a03caa..bdac775256 100644
--- a/lib/stdlib/test/Makefile
+++ b/lib/stdlib/test/Makefile
@@ -163,7 +163,7 @@ release_spec: opt
 
 release_tests_spec: make_emakefile
 	$(INSTALL_DIR) "$(RELSYSDIR)"
-	$(INSTALL_DATA) stdlib.spec stdlib_bench.spec error_info.spec $(EMAKEFILE) \
+	$(INSTALL_DATA) stdlib.spec stdlib_bench.spec stdlib_gh.spec error_info.spec $(EMAKEFILE) \
 		$(ERL_FILES) $(COVERFILE) $(EXTRA_FILES) "$(RELSYSDIR)"
 	chmod -R u+w "$(RELSYSDIR)"
 	@tar cf - *_SUITE_data property_test | (cd "$(RELSYSDIR)"; tar xf -)
diff --git a/lib/stdlib/test/stdlib_gh.spec b/lib/stdlib/test/stdlib_gh.spec
new file mode 100644
index 0000000000..147c9209bd
--- /dev/null
+++ b/lib/stdlib/test/stdlib_gh.spec
@@ -0,0 +1,9 @@
+{suites,"../stdlib_test",all}.
+{skip_groups,"../stdlib_test",stdlib_bench_SUITE,
+             [binary,base64,gen_server,gen_statem,unicode],
+             "Benchmark only"}.
+{skip_groups,"../stdlib_test",ets_SUITE,
+             [benchmark],
+             "Benchmark only"}.
+{skip_cases, "../stdlib_test", gen_server_SUITE,
+ [multicall_remote_old1],"Broken in docker"}.
-- 
2.35.3

openSUSE Build Service is sponsored by