Changeset 439 for EcnlProtoTool/trunk/mruby-2.1.1/test/bintest.rb
- Timestamp:
- Jul 9, 2020, 8:51:43 AM (4 years ago)
- Location:
- EcnlProtoTool/trunk/mruby-2.1.1
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
EcnlProtoTool/trunk/mruby-2.1.1/test/bintest.rb
r331 r439 1 1 $:.unshift File.dirname(File.dirname(File.expand_path(__FILE__))) 2 2 require 'test/assert.rb' 3 4 GEMNAME = "" 3 5 4 6 def cmd(s) … … 20 22 end 21 23 24 print "bintest - Command Binary Test\n\n" 25 22 26 ARGV.each do |gem| 27 case gem 28 when '-v'; $mrbtest_verbose = true 29 end 30 23 31 case RbConfig::CONFIG['host_os'] 24 32 when /mswin(?!ce)|mingw|bccwin/ … … 27 35 28 36 Dir["#{gem}/bintest/**/*.rb"].each do |file| 37 GEMNAME.replace(File.basename(gem)) 29 38 load file 30 39 end 31 40 end 32 41 33 load 'test/report.rb' 42 exit report
Note:
See TracChangeset
for help on using the changeset viewer.