blob: c92cb2670f8354b081466f3a39a92b2598af282e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
require 'rbconfig'
exit if CROSS_COMPILING
require 'test/unit'
src_testdir = File.dirname(File.expand_path(__FILE__))
srcdir = File.dirname(src_testdir)
tests = Test::Unit.new {|files, options|
options[:base_directory] = src_testdir
if files.empty?
[src_testdir]
else
files
end
}
exit tests.run(ARGV) || true
|