Unverified Commit fba8ecf5 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #4321 from shuujii/add-bintest-header

Add bintest header
parents 6a0ae792 7d1a8d3f
...@@ -314,6 +314,7 @@ EOS ...@@ -314,6 +314,7 @@ EOS
end end
def run_bintest def run_bintest
puts ">>> Bintest #{name} <<<"
targets = @gems.select { |v| File.directory? "#{v.dir}/bintest" }.map { |v| filename v.dir } targets = @gems.select { |v| File.directory? "#{v.dir}/bintest" }.map { |v| filename v.dir }
targets << filename(".") if File.directory? "./bintest" targets << filename(".") if File.directory? "./bintest"
sh "ruby test/bintest.rb#{verbose_flag} #{targets.join ' '}" sh "ruby test/bintest.rb#{verbose_flag} #{targets.join ' '}"
......
...@@ -21,6 +21,8 @@ def shellquote(s) ...@@ -21,6 +21,8 @@ def shellquote(s)
end end
end end
print "bintest - Command Binary Test\n\n"
ARGV.each do |gem| ARGV.each do |gem|
case gem case gem
when '-v'; $mrbtest_verbose = true when '-v'; $mrbtest_verbose = true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment