From 91a3cde091d4ae6ff436681f155b3907daae1c04 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 26 Jul 2012 23:44:04 +0000 Subject: remove Rails-oriented integration tests It's too much overhead to keep Rails-specific tests working, especially when it's hauling in an ancient version of SQLite3. Since Rails 3 has settled down with Rack and unicorn_rails is unlikely to need changing in the future, we can drop these tests. --- script/isolate_for_tests | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'script') diff --git a/script/isolate_for_tests b/script/isolate_for_tests index 5e6139c..00a3f2b 100755 --- a/script/isolate_for_tests +++ b/script/isolate_for_tests @@ -16,9 +16,6 @@ opts = { pid = fork do Isolate.now!(opts) do - if RUBY_VERSION.to_f < 2.0 - gem 'sqlite3-ruby', '1.2.5' - end gem 'raindrops', '0.8.0' gem 'kgio-monkey', '0.4.0' gem 'kgio', '2.7.4' @@ -33,18 +30,3 @@ File.open("#{dst}.#$$", "w") do |fp| fp.puts "ISOLATE_LIBS=#{lib_paths.join(':')}" end File.rename("#{dst}.#$$", dst) - -# pure Ruby gems can be shared across all Rubies -%w(3.0.0).each do |rails_ver| - opts[:path] = "tmp/isolate/rails-#{rails_ver}" - pid = fork do - Isolate.now!(opts) do - gem 'rake', '0.8.7' - gem 'rails', rails_ver - end - end - _, status = Process.waitpid2(pid) - status.success? or abort status.inspect - more = Dir["#{opts[:path]}/gems/*-*/lib"].map { |x| File.expand_path(x) } - lib_paths.concat(more) -end -- cgit v1.2.3-24-ge0c7