Rakefile in gli-2.21.1 vs Rakefile in gli-2.21.2
- old
+ new
@@ -78,17 +78,23 @@
t.libs << "test"
t.libs << "lib"
ENV["RUBYOPT"].split(/\s/).each do |opt|
t.ruby_opts << opt
end
+ if t.ruby_opts.none? { |x| x =~ /^\-W/ }
+ t.ruby_opts << "-W0"
+ end
t.test_files = FileList["test/unit/**/*_test.rb"]
end
desc "run integration tests"
Rake::TestTask.new("test:integration") do |t|
t.libs << "test"
ENV["RUBYOPT"].split(/\s/).each do |opt|
t.ruby_opts << opt
+ end
+ if t.ruby_opts.none? { |x| x =~ /^\-W/ }
+ t.ruby_opts << "-W0"
end
explicitly_named_files = ARGV[1..-1]
if Array(explicitly_named_files).size == 0
t.test_files = FileList["test/integration/**/*_test.rb"]
else