aboutsummaryrefslogtreecommitdiff
path: root/crosperf/settings_factory.py
diff options
context:
space:
mode:
Diffstat (limited to 'crosperf/settings_factory.py')
-rw-r--r--crosperf/settings_factory.py23
1 files changed, 13 insertions, 10 deletions
diff --git a/crosperf/settings_factory.py b/crosperf/settings_factory.py
index e42d82a9..efbb534f 100644
--- a/crosperf/settings_factory.py
+++ b/crosperf/settings_factory.py
@@ -29,9 +29,11 @@ class BenchmarkSettings(Settings):
self.AddField(
IntegerField(
'iterations',
- default=1,
- description='Number of iterations to run the '
- 'test.'))
+ required=False,
+ default=0,
+ description='Number of iterations to run the test. '
+ 'If not set, will run each benchmark test the optimum number of '
+ 'times to get a stable result.'))
self.AddField(
TextField(
'suite', default='', description='The type of the benchmark.'))
@@ -68,8 +70,8 @@ class LabelSettings(Settings):
'autotest_path',
required=False,
description='Autotest directory path relative to chroot which '
- 'has autotest files for the image to run tests requiring autotest files'
- ))
+ 'has autotest files for the image to run tests requiring autotest '
+ 'files.'))
self.AddField(
TextField(
'chromeos_root',
@@ -186,9 +188,11 @@ class GlobalSettings(Settings):
self.AddField(
IntegerField(
'iterations',
- default=1,
- description='Number of iterations to run all '
- 'tests.'))
+ required=False,
+ default=0,
+ description='Number of iterations to run all tests. '
+ 'If not set, will run each benchmark test the optimum number of '
+ 'times to get a stable result.'))
self.AddField(
TextField(
'chromeos_root',
@@ -256,8 +260,7 @@ class GlobalSettings(Settings):
'you want to use. It accepts multiple directories '
'separated by a ",".'))
self.AddField(
- TextField(
- 'results_dir', default='', description='The results dir.'))
+ TextField('results_dir', default='', description='The results dir.'))
self.AddField(
TextField(
'locks_dir',