2004-11-20 08:58:20 -05:00
|
|
|
require 'rbconfig'
|
|
|
|
exit if CROSS_COMPILING
|
2003-10-08 09:21:28 -04:00
|
|
|
require 'test/unit'
|
2003-09-04 21:47:41 -04:00
|
|
|
|
2003-09-04 22:38:33 -04:00
|
|
|
rcsid = %w$Id$
|
2003-09-04 22:57:49 -04:00
|
|
|
Version = rcsid[2].scan(/\d+/).collect!(&method(:Integer)).freeze
|
2003-09-04 22:38:33 -04:00
|
|
|
Release = rcsid[3].freeze
|
2003-09-04 21:47:41 -04:00
|
|
|
|
2008-10-15 00:16:28 -04:00
|
|
|
# this allows minitest and test/unit to run side by side. test/unit
|
|
|
|
# tests with fork/signal were triggering minitest multiple times.
|
|
|
|
require 'minitest/unit'
|
|
|
|
MiniTest::Unit.disable_autorun
|
|
|
|
|
|
|
|
args = ARGV.dup
|
|
|
|
result = Test::Unit::AutoRunner.run(true, File.dirname($0))
|
|
|
|
result &&= MiniTest::Unit.new.run(args)
|
|
|
|
|
|
|
|
exit result
|
|
|
|
|