aboutsummaryrefslogtreecommitdiff
path: root/crosperf/results_cache_unittest.py
diff options
context:
space:
mode:
authorTing-Yuan Huang <laszio@google.com>2015-07-02 13:09:03 +0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-07-16 06:52:29 +0000
commitbc2d3d13d2e1928217140a76acdf9f9917b1fa30 (patch)
tree72121d13ef4c47492318f758177ca1f40c07b3eb /crosperf/results_cache_unittest.py
parent27dc583d33d461daad462f82ab7974b07cb31117 (diff)
downloadtoolchain-utils-bc2d3d13d2e1928217140a76acdf9f9917b1fa30.tar.gz
Add 'run_local' to run the test harness locally.
The option 'run_local: True|False' will be passed into autotest. For example, this is how test_that will be invoked: test_that --arges="run_local=True ..." ... BUG=None TEST=Tested with the folllowing combinations. benchmark: sunspider, smoothness.top_25_smooth perf_args: record -e cycles,instructions / (none) Change-Id: I7315027a7c9433d17a9f3fe54d7e8c3f480ea4f4 Reviewed-on: https://chrome-internal-review.googlesource.com/217370 Reviewed-by: Caroline Tice <cmtice@google.com> Tested-by: Ting-Yuan Huang <laszio@google.com> Commit-Queue: Ting-Yuan Huang <laszio@google.com>
Diffstat (limited to 'crosperf/results_cache_unittest.py')
-rwxr-xr-xcrosperf/results_cache_unittest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/crosperf/results_cache_unittest.py b/crosperf/results_cache_unittest.py
index 04e2975f..2ca62ad7 100755
--- a/crosperf/results_cache_unittest.py
+++ b/crosperf/results_cache_unittest.py
@@ -794,7 +794,8 @@ class ResultsCacheTest(unittest.TestCase):
self.mock_label,
'', # benchmark_run.share_cache
'telemetry_Crosperf',
- True) # benchmark_run.show_all_results
+ True, # benchmark_run.show_all_results
+ False) # benchmark_run.run_local
@mock.patch.object (image_checksummer.ImageChecksummer, 'Checksum')