summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-07-24 20:08:40 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-07-24 20:08:40 +0900
commitdc954cbb75381149970e45927153829a88cbe0b5 (patch)
tree86b5319a48cae95b15f43a9243741910d64f6d44 /tool
parent99fb637c41c6301286042afbc9edaea71cd7643b (diff)
@@project_dir in Gem::TestCase is no longer used
Diffstat (limited to 'tool')
-rw-r--r--tool/lib/test/unit/parallel.rb6
-rw-r--r--tool/test/runner.rb6
2 files changed, 0 insertions, 12 deletions
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')