diff options
author | Caroline Tice <cmtice@chromium.org> | 2013-08-19 15:59:02 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-08-22 16:03:32 -0700 |
commit | b47bff4d3336c5fe5593a95963c0f3dc20a02f68 (patch) | |
tree | 4647d51522fa1fcc43fdd9fc40a361177105c611 /crosperf/settings_factory.py | |
parent | b0a02f4e9c3fde3198223a9fe70ca85ceaa58105 (diff) | |
download | toolchain-utils-b47bff4d3336c5fe5593a95963c0f3dc20a02f68.tar.gz |
Make test_that available for running tests.
Add a new flag, --use_test_that=True/False, to crosperf, to allow users to
tell crosperf to use the test_that script rather than the run_remote_tests.sh
script for running their tests.
BUG=None
TEST=Tested with and without the flag, to verify that it does the right thing.
Change-Id: I1a040d23adbf364b4a47320d9fd759a2d46e6689
Reviewed-on: https://gerrit-int.chromium.org/43109
Reviewed-by: Luis Lozano <llozano@chromium.org>
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 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crosperf/settings_factory.py b/crosperf/settings_factory.py index 365b8cbd..05647c96 100644 --- a/crosperf/settings_factory.py +++ b/crosperf/settings_factory.py @@ -42,6 +42,9 @@ class BenchmarkSettings(Settings): "command record or stat followed by arguments.")) self.AddField(TextField("suite", default="pyauto", description="The type of the benchmark")) + self.AddField(BooleanField("use_test_that", default=False, + description="(experimental) Whether to use the" + " new test_that script for running the test.")) class LabelSettings(Settings): @@ -130,6 +133,9 @@ class GlobalSettings(Settings): self.AddField(BooleanField("no_email", default=False, description="Whether to disable the email to " "user after crosperf finishes.")) + self.AddField(BooleanField("use_test_that", default=False, + description="(experimental) Whether to use the " + "new test_that script for running the test.")) self.AddField(TextField("share_users", default="", description="Who's cache data you want to " "use. It accepts multiple users seperated by \",\"")) |