diff options
Diffstat (limited to 'crosperf/settings_factory.py')
-rw-r--r-- | crosperf/settings_factory.py | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/crosperf/settings_factory.py b/crosperf/settings_factory.py index 6382bba7..b34f0b16 100644 --- a/crosperf/settings_factory.py +++ b/crosperf/settings_factory.py @@ -206,7 +206,7 @@ class GlobalSettings(Settings): self.AddField( BooleanField( "rerun_if_failed", - description="Whether to re-run failed test runs " "or not.", + description="Whether to re-run failed test runs or not.", default=False, ) ) @@ -235,6 +235,13 @@ class GlobalSettings(Settings): ) self.AddField( BooleanField( + "ignore_cache", + description='Alias of "rerun" to ignore cache.', + default=False, + ) + ) + self.AddField( + BooleanField( "same_specs", default=True, description="Ensure cached runs are run on the " @@ -246,7 +253,7 @@ class GlobalSettings(Settings): BooleanField( "same_machine", default=False, - description="Ensure cached runs are run on the " "same remote.", + description="Ensure cached runs are run on the same remote.", ) ) self.AddField( @@ -552,6 +559,15 @@ class GlobalSettings(Settings): " Useful when lock is held externally, say with crosfleet.", ) ) + self.AddField( + BooleanField( + "keep_stateful", + default=False, + description="When flashing a ChromeOS image keep the stateful" + " partition, i.e. don't use --clobber-stateful. This option" + " is useful to keep ssh keys, wi-fi settings and so on.", + ) + ) class SettingsFactory(object): |