summaryrefslogtreecommitdiff
path: root/test/runner.rb
diff options
context:
space:
mode:
authorryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-23 21:39:21 +0000
committerryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-23 21:39:21 +0000
commit8e05c69aa1cab5cca3e725926016492aabe6f0d5 (patch)
tree242b78f76dd823c3c4894cae01968f207bbd10b6 /test/runner.rb
parentabef077ec7bbb60753f49290f90a90bb1b0a39e0 (diff)
Added changes needed for miniunit. usually from using internal calls that aren't needed anymore.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/runner.rb')
-rw-r--r--test/runner.rb13
1 files changed, 12 insertions, 1 deletions
diff --git a/test/runner.rb b/test/runner.rb
index f9ed25a931..0295260ba0 100644
--- a/test/runner.rb
+++ b/test/runner.rb
@@ -6,4 +6,15 @@ rcsid = %w$Id$
Version = rcsid[2].scan(/\d+/).collect!(&method(:Integer)).freeze
Release = rcsid[3].freeze
-exit Test::Unit::AutoRunner.run(true, File.dirname($0))
+# not sure why these are needed now... but whatever
+$:.push(*Dir["test/*"].find_all { |path| File.directory? path })
+
+class Module
+ def tu_deprecation_warning old, new = nil, kaller = nil
+ # stfu - for now...
+ end
+end
+
+(Dir["test/test_*.rb"] + Dir["test/**/test_*.rb"]).each do |test|
+ require test
+end