Skip to content

Commit f1b442e

Browse files
junarugaeregon
authored andcommitted
Document running specs on s390x CPU architecture [ci skip]
Fixes ruby#1083
1 parent d353e7e commit f1b442e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,12 @@ MSpec can automatically add new top-level constants in this file with:
128128

129129
$ CHECK_LEAKS=save mspec ../mspec/bin/mspec file
130130

131+
### Running Specs on S390x CPU Architecture
132+
133+
Run the specs with `DFLTCC=0` if you see failing specs related to the zlib library on s390x CPU architecture. The failures can happen with the zlib library applying the patch madler/zlib#410 to enable the deflate algorithm producing a different compressed byte stream.
134+
135+
$ DFLTCC=0 ../mspec/bin/mspec
136+
131137
### Contributing and Writing Specs
132138

133139
See [CONTRIBUTING.md](https://github.com/ruby/spec/blob/master/CONTRIBUTING.md) for documentation about contributing and writing specs (guards, matchers, etc).

0 commit comments

Comments
 (0)