aboutsummaryrefslogtreecommitdiff
path: root/crosperf
diff options
context:
space:
mode:
authorYunlian Jiang <yunlian@google.com>2016-01-04 13:39:50 -0800
committerchrome-bot <chrome-bot@chromium.org>2016-01-04 23:32:52 +0000
commit6736a8e1044141d657aeac5916b32123da664e97 (patch)
treea090e0bcf817c0c59b6e0b1b8c63a2c1b8ebdbf7 /crosperf
parent647950a869dbc19237843382b38b2e2867a3c73b (diff)
downloadtoolchain-utils-6736a8e1044141d657aeac5916b32123da664e97.tar.gz
crosperf: fix a error.
_GetCacheDirForWrite was replaced by GetCacheDirForWrite in result_cache.py, so this needs updated too. BUG=none TEST=it passes. Change-Id: Ie3d63fbf2db2d3631644955cfa4bfda730099bdd Reviewed-on: https://chrome-internal-review.googlesource.com/243468 Commit-Ready: Yunlian Jiang <yunlian@google.com> Tested-by: Yunlian Jiang <yunlian@google.com> Reviewed-by: Han Shen <shenhan@google.com>
Diffstat (limited to 'crosperf')
-rw-r--r--crosperf/experiment_runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/crosperf/experiment_runner.py b/crosperf/experiment_runner.py
index 2a654e69..542a0a60 100644
--- a/crosperf/experiment_runner.py
+++ b/crosperf/experiment_runner.py
@@ -137,7 +137,7 @@ class ExperimentRunner(object):
br.label.board, br.cache_conditions, br._logger, br.log_level,
br.label, br.share_cache, br.benchmark.suite,
br.benchmark.show_all_results, br.benchmark.run_local)
- cache_dir = cache._GetCacheDirForWrite()
+ cache_dir = cache.GetCacheDirForWrite()
if os.path.exists(cache_dir):
self.l.LogOutput('Removing cache dir: %s' % cache_dir)
shutil.rmtree(cache_dir)