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

Add bintest header
This commit is contained in:
Yukihiro "Matz" Matsumoto
2019-03-10 23:51:03 +09:00
committed by GitHub
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -314,6 +314,7 @@ EOS
end
def run_bintest
puts ">>> Bintest #{name} <<<"
targets = @gems.select { |v| File.directory? "#{v.dir}/bintest" }.map { |v| filename v.dir }
targets << filename(".") if File.directory? "./bintest"
sh "ruby test/bintest.rb#{verbose_flag} #{targets.join ' '}"
+2
View File
@@ -21,6 +21,8 @@ def shellquote(s)
end
end
print "bintest - Command Binary Test\n\n"
ARGV.each do |gem|
case gem
when '-v'; $mrbtest_verbose = true