blob: 5528c49774574cc46c41d504d535a39064efcf58 [file] [log] [blame]
#!/usr/bin/env ruby
stats = []
nr_test = 0
while line = STDIN.gets
case line
when /^(test-.*): (PASS|SKIP|FAIL)/
nr_test += 1
stats << "#{$1}.#{$2.downcase}: 1"
end
end
stats.each {|stat| puts stat}
puts "total_test: #{nr_test}"