Sha256: e8a2bcfc5fb128713c8240e19467be49863a4d4b84b6ce91211d77f8481b3693

Contents?: true

Size: 719 Bytes

Versions: 10

Compression:

Stored size: 719 Bytes

Contents

$:.unshift File.dirname(File.dirname(File.expand_path(__FILE__)))
require 'test/assert.rb'

GEMNAME = ""

def cmd(s)
  case RbConfig::CONFIG['host_os']
  when /mswin(?!ce)|mingw|bccwin/
    "bin\\#{s}.exe"
  else
    "bin/#{s}"
  end
end

def shellquote(s)
  case RbConfig::CONFIG['host_os']
  when /mswin(?!ce)|mingw|bccwin/
    "\"#{s}\""
  else
    "'#{s}'"
  end
end

print "bintest - Command Binary Test\n\n"

ARGV.each do |gem|
  case gem
  when '-v'; $mrbtest_verbose = true
  end

  case RbConfig::CONFIG['host_os']
  when /mswin(?!ce)|mingw|bccwin/
    gem = gem.gsub('\\', '/')
  end

  Dir["#{gem}/bintest/**/*.rb"].each do |file|
    GEMNAME.replace(File.basename(gem))
    load file
  end
end

exit report

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
script_core-0.2.7 ext/enterprise_script_service/mruby/test/bintest.rb
script_core-0.2.6 ext/enterprise_script_service/mruby/test/bintest.rb
script_core-0.2.5 ext/enterprise_script_service/mruby/test/bintest.rb
script_core-0.2.4 ext/enterprise_script_service/mruby/test/bintest.rb
script_core-0.2.3 ext/enterprise_script_service/mruby/test/bintest.rb
script_core-0.2.2 ext/enterprise_script_service/mruby/test/bintest.rb
script_core-0.2.1 ext/enterprise_script_service/mruby/test/bintest.rb
script_core-0.2.0 ext/enterprise_script_service/mruby/test/bintest.rb
script_core-0.1.1 ext/enterprise_script_service/mruby/test/bintest.rb
script_core-0.1.0 ext/enterprise_script_service/mruby/test/bintest.rb