diff options
author | Yunlian Jiang <yunlian@google.com> | 2013-03-28 13:23:57 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-03-28 17:25:24 -0700 |
commit | 00cc30ea5fb3a05530a3b1ec699ca7f9696ffbd0 (patch) | |
tree | dc0172d6d95075736aa049b997b9bc4b0fbb1231 /crosperf/settings_factory.py | |
parent | 006a5b0cd4ed149e7774ef2d3a29a73d0cc3cee8 (diff) | |
download | toolchain-utils-00cc30ea5fb3a05530a3b1ec699ca7f9696ffbd0.tar.gz |
Add option to specify output dir of crosperf
BUG=None
TEST=run crosperf with this option, the results are in the right dir
Change-Id: Id94251c72297f18f275564a1fd1ef0972227ddfc
Reviewed-on: https://gerrit-int.chromium.org/34621
Reviewed-by: Luis Lozano <llozano@chromium.org>
Commit-Queue: Yunlian Jiang <yunlian@google.com>
Tested-by: Yunlian Jiang <yunlian@google.com>
Diffstat (limited to 'crosperf/settings_factory.py')
-rw-r--r-- | crosperf/settings_factory.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/crosperf/settings_factory.py b/crosperf/settings_factory.py index 924bc114..5cbae5df 100644 --- a/crosperf/settings_factory.py +++ b/crosperf/settings_factory.py @@ -1,6 +1,9 @@ #!/usr/bin/python -# Copyright 2011 Google Inc. All Rights Reserved. +# Copyright (c) 2013 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + """Setting files for global, benchmark and labels.""" from field import BooleanField @@ -123,6 +126,8 @@ class GlobalSettings(Settings): self.AddField(TextField("share_users", default="", description="Who's cache data you want to " "use. It accepts multiple users seperated by \",\"")) + self.AddField(TextField("results_dir", default="", + description="The results dir")) class SettingsFactory(object): |