diff --git a/tool/lib/test/unit/parallel.rb b/tool/lib/test/unit/parallel.rb index d851326aca..730d7a7f3d 100644 --- a/tool/lib/test/unit/parallel.rb +++ b/tool/lib/test/unit/parallel.rb @@ -198,11 +198,5 @@ if $0 == __FILE__ end end require 'rubygems' - module Gem # :nodoc: - end - class Gem::TestCase < MiniTest::Unit::TestCase # :nodoc: - @@project_dir = File.expand_path('../../../../..', __FILE__) - end - Test::Unit::Worker.new.run(ARGV) end diff --git a/tool/test/runner.rb b/tool/test/runner.rb index 20ae9aa1a3..f8769857ad 100644 --- a/tool/test/runner.rb +++ b/tool/test/runner.rb @@ -24,12 +24,6 @@ Dir.glob("#{src_testdir}/../gems/*/*.gemspec") require 'test/unit' -module Gem -end -class Gem::TestCase < MiniTest::Unit::TestCase - @@project_dir = File.dirname($LOAD_PATH.last) -end - ENV["GEM_SKIP"] = ENV["GEM_HOME"] = ENV["GEM_PATH"] = "".freeze require_relative "#{tool_dir}/lib/profile_test_all" if ENV.has_key?('RUBY_TEST_ALL_PROFILE')