aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJun Aruga <junaruga@users.noreply.github.com>2023-10-09 17:05:51 +0200
committerGitHub <noreply@github.com>2023-10-09 17:05:51 +0200
commit6c952ac600e41eeea6fdeab510829ad42b053fe1 (patch)
treef8d1b829ed9d28e290b53fd297fd685479b12b65 /doc
parentf44cee90480c103d911836f92a4e0e20c0eca1e5 (diff)
downloadruby-6c952ac600e41eeea6fdeab510829ad42b053fe1.tar.gz
testing_ruby.md: Document running test suites on s390x CPU architecture [ci skip] (#8589)
Diffstat (limited to 'doc')
-rw-r--r--doc/contributing/testing_ruby.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/contributing/testing_ruby.md b/doc/contributing/testing_ruby.md
index 8decc24083..b8f3c004c9 100644
--- a/doc/contributing/testing_ruby.md
+++ b/doc/contributing/testing_ruby.md
@@ -142,3 +142,15 @@ We can run any of the make scripts [in parallel](building_ruby.md#label-Running+
```
$ make test-bundler BUNDLER_SPECS=commands/exec_spec.rb
```
+
+## Troubleshooting
+
+### Running test suites on s390x CPU Architecture
+
+If we see failing tests related to the zlib library on s390x CPU architecture, we can run the test suites with `DFLTCC=0` to pass:
+
+```
+DFLTCC=0 make check
+```
+
+The failures can happen with the zlib library applying the patch [madler/zlib#410](https://github.com/madler/zlib/pull/410) to enable the deflate algorithm producing a different compressed byte stream. We manage this issue at [[ruby-core:114942][Bug #19909]](https://bugs.ruby-lang.org/issues/19909).