Sha256: a6f7890bfafece52d5e078445cd4be65ec7f5d72a8566cb04c3c18cddf9ac201
Contents?: true
Size: 567 Bytes
Versions: 12
Compression:
Stored size: 567 Bytes
Contents
# $Id$ require 'test/unit' module EmTestRunner @em_root = File.expand_path(File.dirname(__FILE__) + '/../') @lib_dir = File.join(@em_root, 'lib') @ext_dir = File.join(@em_root, 'ext') @java_dir = File.join(@em_root, 'java') def self.run(glob = 'test_*.rb') $:.unshift(@lib_dir) $:.unshift(@ext_dir) $:.unshift(@java_dir) case glob when Array files = glob else files = Dir[File.dirname(__FILE__) + '/' + glob] end files.each do |tc| require tc end end end if __FILE__ == $0 EmTestRunner.run end
Version data entries
12 entries across 12 versions & 5 rubygems