summaryrefslogtreecommitdiff
path: root/runner/settings.h
diff options
context:
space:
mode:
authorPetri Latvala <petri.latvala@intel.com>2018-10-10 13:41:00 +0300
committerPetri Latvala <petri.latvala@intel.com>2018-10-19 16:04:14 +0300
commit78619fde4008424c472906041edb1d204e014f7c (patch)
tree52d1284b26f4a54bd4798d01c5f6c4b4e72d63db /runner/settings.h
parent6f27fddc6dd79c0486181b64201c6773c5c42a24 (diff)
runner: Add --overall-timeout
With --overall-timeout $foo, the runner will stop executing new tests when $foo seconds have already been used. A resumed run will start over with no time used, using the same timeout. This allows for executing a long list of tests piecemeal, in about $foo length executions. Signed-off-by: Petri Latvala <petri.latvala@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106127 Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Cc: Tomi Sarvela <tomi.p.sarvela@intel.com> Cc: Martin Peres <martin.peres@linux.intel.com> Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Diffstat (limited to 'runner/settings.h')
-rw-r--r--runner/settings.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runner/settings.h b/runner/settings.h
index e534b845..b489abc5 100644
--- a/runner/settings.h
+++ b/runner/settings.h
@@ -30,6 +30,7 @@ struct settings {
bool overwrite;
bool multiple_mode;
int inactivity_timeout;
+ int overall_timeout;
bool use_watchdog;
char *test_root;
char *results_path;