summaryrefslogtreecommitdiffhomepage
path: root/test/bintest.rb
blob: e6d122047ca1b6301a0918617145a7f545166a10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$:.unshift File.dirname(File.dirname(File.expand_path(__FILE__)))
require 'test/assert.rb'

def cmd(s)
  ENV['SHELL'] ? "bin/#{s}" : "bin\\#{s}.exe"
end

def shellquote(s)
  ENV['SHELL'] ? "'#{s}'" : "\"#{s}\""
end

ARGV.each do |gem|
  Dir["#{gem}/bintest/**/*.rb"].each do |file|
    load file
  end
end

load 'test/report.rb'