summaryrefslogtreecommitdiff
path: root/test/runner.rb
diff options
context:
space:
mode:
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