Add a simple reporter script to generate a full report.csv

This commit is contained in:
R. Tyler Croy 2014-11-20 08:24:12 -08:00
parent 9be84d45b9
commit 8ca138541b
1 changed files with 17 additions and 0 deletions

17
reporter Executable file
View File

@ -0,0 +1,17 @@
#!/usr/bin/env ruby
require 'rubygems'
require 'colorize'
require 'csv'
out = File.open('report.csv', 'w+')
out.write(File.open('bonnie-header.csv').read)
out.write("\n")
Dir['./results/*.csv'].each do |f|
puts "processing #{f}".green
out.write(File.open(f).read)
end
out.close