Sha256: 4d25ae15ba7a4689a60dd24559955dfb8cdc7aece7830c0b88e244126a6c8ccb

Contents?: true

Size: 320 Bytes

Versions: 1

Compression:

Stored size: 320 Bytes

Contents

#!/usr/bin/env ruby

require 'test/unit'
require 'pp'

def run_tests(pattern='test/test*.rb', log_enabled=false)
  Dir["#{pattern}"].each { |fn|
    puts fn if log_enabled
    begin
      load fn
    rescue Exception => ex
      puts "Error in #{fn}: #{ex.message}"
      puts ex.backtrace
	assert false
    end
  }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubygems-update-0.8.3 scripts/runtest.rb