mogilefs-client.git about / heads / tags MogileFS client library for Ruby
blob a495c521dcf790ab0330e1a3c20d7a598e47ef7f 395 bytes (raw) $ git show pipeline:test/aggregate.rb # shows this blob on the CLI
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/usr/bin/ruby # -*- encoding: binary -*- $tests = $assertions = $failures = $errors = 0 STDIN.each_line do |l| l =~ /(\d+) tests, (\d+) assertions, (\d+) failures, (\d+) errors/ or next $tests += $1.to_i $assertions += $2.to_i $failures += $3.to_i $errors += $4.to_i end printf("\n%d tests, %d assertions, %d failures, %d errors\n", $tests, $assertions, $failures, $errors)
git clone https://yhbt.net/mogilefs-client.git