summaryrefslogtreecommitdiff
path: root/t/test-suite
blob: 9500052e046b5e6c56954e9b5a1f0e37550b9922 (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|
  $: << 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