(log_files)
| 87 | |
| 88 | |
| 89 | def process_benchmarks(log_files): |
| 90 | benchmarks = test_log_pb2.BenchmarkEntries() |
| 91 | for f in log_files: |
| 92 | content = gfile.GFile(f, "rb").read() |
| 93 | if benchmarks.MergeFromString(content) != len(content): |
| 94 | raise Exception("Failed parsing benchmark entry from %s" % f) |
| 95 | return benchmarks |
| 96 | |
| 97 | |
| 98 | def run_and_gather_logs(name, test_name, test_args, |
no test coverage detected