diff options
author | Caroline Tice <cmtice@google.com> | 2015-12-10 12:09:40 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-12-11 03:51:12 +0000 |
commit | 7057cf67ba1dbdd4387f53e5fe47b43c955b1a53 (patch) | |
tree | c4dd4303b356240113781f1e0c71d1628911d7c3 /crosperf/benchmark_run.py | |
parent | 939274265fbac8c7f3d47c4e36c680d58cd578e9 (diff) | |
download | toolchain-utils-7057cf67ba1dbdd4387f53e5fe47b43c955b1a53.tar.gz |
Crosperf: Fix many broken unittests.
Apparently people have been making changes and not running the
unittests; many of the unittests were suffering from bit-rot. This
CL fixes most of the broken unittests (there are still 3 large ones
being worked on -- that will be in another CL).
BUG=chromium:567883
TEST=Verified that these unittests work now.
Change-Id: I0252a276a035894e70e04c61339cdba148c9bbfd
Reviewed-on: https://chrome-internal-review.googlesource.com/241513
Commit-Ready: Luis Lozano <llozano@chromium.org>
Tested-by: Luis Lozano <llozano@chromium.org>
Reviewed-by: Luis Lozano <llozano@chromium.org>
Diffstat (limited to 'crosperf/benchmark_run.py')
-rw-r--r-- | crosperf/benchmark_run.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crosperf/benchmark_run.py b/crosperf/benchmark_run.py index 4d0eb74f..f10326b0 100644 --- a/crosperf/benchmark_run.py +++ b/crosperf/benchmark_run.py @@ -251,7 +251,7 @@ class BenchmarkRun(threading.Thread): class MockBenchmarkRun(BenchmarkRun): - """Inherited from BenchmarkRuna.""" + """Inherited from BenchmarkRun.""" def ReadCache(self): # Just use the first machine for running the cached version, @@ -292,7 +292,7 @@ class MockBenchmarkRun(BenchmarkRun): self.test_args, self.profiler_args) self.run_completed = True - rr = MockResult("logger", self.label, self.log_level) + rr = MockResult("logger", self.label, self.log_level, machine) rr.out = out rr.err = err rr.retval = retval |