blob: 1d01654ffc54d041492e63892ace20e1ca91af9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#!/usr/bin/ruby
#
# This is a simple wrapper that will run the complete test-suite.
#
# Steve
# --
#
#
# Set up our include path
#
base = File.dirname(__FILE__)
%w(bin lib .).each do |d|
$LOAD_PATH << File.expand_path(File.join(base, "../#{d}"))
end
require 'test/unit'
require 'fileutils'
#
# Find where this file is located.
#
dir = File.dirname(__FILE__)
#
# Load each file in the same directory.
#
Dir.glob(File.join(dir, 't*.rb')).each do |test|
require test
end
|