flesh out pipe streaming + chunk for uploads
[ruby-mogilefs-client.git] / test / aggregate.rb
blobb0a1a502cf14c61f9cf5ba7e539bf0450d0911b7
1 #!/usr/bin/ruby -n
2 # -*- encoding: binary -*-
3 BEGIN { $tests = $assertions = $failures = $errors = 0 }
5 $_ =~ /(\d+) tests, (\d+) assertions, (\d+) failures, (\d+) errors/ or next
6 $tests += $1.to_i
7 $assertions += $2.to_i
8 $failures += $3.to_i
9 $errors += $4.to_i
11 END {
12   printf("\n%d tests, %d assertions, %d failures, %d errors\n",
13          $tests, $assertions, $failures, $errors)