diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-11-13 15:52:49 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-11-13 15:52:49 +0000 |
commit | 26b89a63bd15423382adfade82158797d80095fc (patch) | |
tree | 6e76f788073323640176aecdcb6cb8ef9459cb45 | |
parent | 50faa3de62d55ba93a0a8e423c919a9c090caaf9 (diff) |
Added.
-rwxr-xr-x | t/test-suite | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/t/test-suite b/t/test-suite new file mode 100755 index 0000000..39d9b39 --- /dev/null +++ b/t/test-suite @@ -0,0 +1,27 @@ +#!/usr/bin/ruby -I../worker/tests/ -I./worker/tests/ -I../../worker/tests/ -I../worker/ -I../../worker/ -I./worker/ +# +# This is a simple wrapper that will run the complete test-suite. +# +# Steve +# -- +# + + + +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 + |