From 8e05c69aa1cab5cca3e725926016492aabe6f0d5 Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 23 Sep 2008 21:39:21 +0000 Subject: 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 --- test/runner.rb | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'test/runner.rb') 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 -- cgit v1.2.3