aboutsummaryrefslogtreecommitdiff
path: root/crosperf/benchmark_run_unittest.py
diff options
context:
space:
mode:
authorcmtice <cmtice@google.com>2014-10-16 15:49:56 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-10-22 21:50:02 +0000
commit1a224369afcbfd0276f4c7bdc625dec7f7b30d01 (patch)
tree4e8e4cfb7a87124eed85535392d9dd552e5b83e2 /crosperf/benchmark_run_unittest.py
parentbf70b0431858abf04d9b894c6d0f060e85589dc5 (diff)
downloadtoolchain-utils-1a224369afcbfd0276f4c7bdc625dec7f7b30d01.tar.gz
Fix issue where crosperf can't find local cros_scratch.
Crosperf was assuming the user always has an NFS home directory, and was looking for the cros_scratch directory there. This makes crosperf use the user's home directory, whether it's NFS or local. Also change --share_users, which also assumed NFS home directories, to --share_cache, which requires specification of the cache path(s) to use. BUG=None TEST=Tested this with my new local homedir. Change-Id: I28d15467dfbd25b8b237cefa2979d3fd9464a7a7 Reviewed-on: https://chrome-internal-review.googlesource.com/179978 Reviewed-by: Yunlian Jiang <yunlian@google.com> Commit-Queue: Caroline Tice <cmtice@google.com> Tested-by: Caroline Tice <cmtice@google.com>
Diffstat (limited to 'crosperf/benchmark_run_unittest.py')
-rwxr-xr-xcrosperf/benchmark_run_unittest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/crosperf/benchmark_run_unittest.py b/crosperf/benchmark_run_unittest.py
index d13806e8..8bb0a3b0 100755
--- a/crosperf/benchmark_run_unittest.py
+++ b/crosperf/benchmark_run_unittest.py
@@ -85,7 +85,7 @@ class BenchmarkRunTest(unittest.TestCase):
# since the last time this test was updated:
args_list = ['self', 'name', 'benchmark', 'label', 'iteration',
'cache_conditions', 'machine_manager', 'logger_to_use',
- 'log_level', 'share_users']
+ 'log_level', 'share_cache']
arg_spec = inspect.getargspec(benchmark_run.BenchmarkRun.__init__)
self.assertEqual(len(arg_spec.args), len(args_list))
self.assertEqual (arg_spec.args, args_list)