summaryrefslogtreecommitdiff
path: root/test/runner.rb
blob: 0295260ba06e52c257173b01865e592edeade353 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require 'rbconfig'
exit if CROSS_COMPILING
require 'test/unit'

rcsid = %w$Id$
Version = rcsid[2].scan(/\d+/).collect!(&method(:Integer)).freeze
Release = rcsid[3].freeze

# 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