We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4549d0 commit 099b87bCopy full SHA for 099b87b
Rakefile
@@ -1,16 +1,15 @@
1
require "bundler/gem_tasks"
2
require "rake/testtask"
3
4
-desc "Run tests"
5
-task :test do
+if RUBY_PLATFORM.include?("s390x")
6
# Avoid possible test failures with the zlib applying the following patch on
7
# s390x CPU architecture.
8
# https://github.com/madler/zlib/pull/410
9
- ENV["DFLTCC"] = "0" if RUBY_PLATFORM =~ /s390x/
10
- Rake::Task["test_internal"].invoke
+ ENV["DFLTCC"] = "0"
11
end
12
13
-Rake::TestTask.new(:test_internal) do |t|
+desc "Run tests"
+Rake::TestTask.new do |t|
14
t.libs << "test/lib"
15
t.ruby_opts << "-rhelper"
16
t.test_files = FileList["test/**/test_*.rb"]
0 commit comments