diff options
author | cmtice <cmtice@google.com> | 2014-10-16 15:49:56 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-10-22 21:50:02 +0000 |
commit | 1a224369afcbfd0276f4c7bdc625dec7f7b30d01 (patch) | |
tree | 4e8e4cfb7a87124eed85535392d9dd552e5b83e2 /crosperf/settings_factory.py | |
parent | bf70b0431858abf04d9b894c6d0f060e85589dc5 (diff) | |
download | toolchain-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/settings_factory.py')
-rw-r--r-- | crosperf/settings_factory.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/crosperf/settings_factory.py b/crosperf/settings_factory.py index 78abbc82..d86dc2bc 100644 --- a/crosperf/settings_factory.py +++ b/crosperf/settings_factory.py @@ -127,9 +127,10 @@ class GlobalSettings(Settings): description="When running Telemetry tests, " "whether to all the results, instead of just " "the default (summary) results.")) - self.AddField(TextField("share_users", default="", - description="Who's cache data you want to " - "use. It accepts multiple users seperated by \",\"")) + self.AddField(TextField("share_cache", default="", + description="Path to alternat cache whose data " + "you want to use. It accepts multiples directories" + " se[arated bu a \",\"")) self.AddField(TextField("results_dir", default="", description="The results dir")) self.AddField(TextField("chrome_src", |