testing_ruby.md: Document running test suites on s390x CPU architecture [ci skip] (#8589)

This commit is contained in:
Jun Aruga 2023-10-09 17:05:51 +02:00 committed by GitHub
parent f44cee9048
commit 6c952ac600
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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).