2004-11-20 16:58:20 +03:00
|
|
|
require 'rbconfig'
|
2008-10-15 08:16:28 +04:00
|
|
|
|
2008-10-16 17:55:09 +04:00
|
|
|
require 'test/unit'
|
2008-10-19 19:59:35 +04:00
|
|
|
|
2012-06-08 11:19:38 +04:00
|
|
|
src_testdir = File.dirname(File.realpath(__FILE__))
|
2011-03-10 01:32:29 +03:00
|
|
|
$LOAD_PATH << src_testdir
|
2011-07-09 03:39:42 +04:00
|
|
|
module Gem
|
|
|
|
end
|
2011-03-22 04:59:18 +03:00
|
|
|
class Gem::TestCase < MiniTest::Unit::TestCase
|
|
|
|
@@project_dir = File.dirname($LOAD_PATH.last)
|
|
|
|
end
|
2008-10-19 19:59:35 +04:00
|
|
|
|
2012-12-01 04:34:01 +04:00
|
|
|
ENV["GEM_SKIP"] = ENV["GEM_HOME"] = ENV["GEM_PATH"] = "".freeze
|
2012-07-12 07:32:28 +04:00
|
|
|
|
2010-10-29 18:35:53 +04:00
|
|
|
require_relative 'profile_test_all' if ENV['RUBY_TEST_ALL_PROFILE'] == 'true'
|
|
|
|
|
2011-02-11 15:41:58 +03:00
|
|
|
exit Test::Unit::AutoRunner.run(true, src_testdir)
|