Commit 7d1a8d3f authored by KOBAYASHI Shuji's avatar KOBAYASHI Shuji

Add bintest header

parent 6a0ae792
...@@ -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