diff options
author | Jun Aruga <junaruga@users.noreply.github.com> | 2023-10-09 17:05:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-09 17:05:51 +0200 |
commit | 6c952ac600e41eeea6fdeab510829ad42b053fe1 (patch) | |
tree | f8d1b829ed9d28e290b53fd297fd685479b12b65 /doc | |
parent | f44cee90480c103d911836f92a4e0e20c0eca1e5 (diff) | |
download | ruby-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.md | 12 |
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). |