From: Petri Latvala <petri.latvala@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Petri Latvala <petri.latvala@intel.com>
Subject: [igt-dev] [PATCH i-g-t 2/2] H4X: Default overall-timeout 900s
Date: Wed, 10 Oct 2018 13:41:01 +0300 [thread overview]
Message-ID: <20181010104101.3648-2-petri.latvala@intel.com> (raw)
In-Reply-To: <20181010104101.3648-1-petri.latvala@intel.com>
---
runner/runner_tests.c | 4 ++--
runner/settings.c | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/runner/runner_tests.c b/runner/runner_tests.c
index 9c0f9eb0..9554de16 100644
--- a/runner/runner_tests.c
+++ b/runner/runner_tests.c
@@ -219,7 +219,7 @@ igt_main
igt_assert(!settings.overwrite);
igt_assert(!settings.multiple_mode);
igt_assert_eq(settings.inactivity_timeout, 0);
- igt_assert_eq(settings.overall_timeout, 0);
+ igt_assert_eq(settings.overall_timeout, 900);
igt_assert(!settings.use_watchdog);
igt_assert(strstr(settings.test_root, "test-root-dir") != NULL);
igt_assert(strstr(settings.results_path, "path-to-results") != NULL);
@@ -334,7 +334,7 @@ igt_main
igt_assert(!settings.overwrite);
igt_assert(!settings.multiple_mode);
igt_assert_eq(settings.inactivity_timeout, 0);
- igt_assert_eq(settings.overall_timeout, 0);
+ igt_assert_eq(settings.overall_timeout, 900);
igt_assert(!settings.use_watchdog);
igt_assert(strstr(settings.test_root, testdatadir) != NULL);
igt_assert(strstr(settings.results_path, "path-to-results") != NULL);
diff --git a/runner/settings.c b/runner/settings.c
index e2401455..91a04559 100644
--- a/runner/settings.c
+++ b/runner/settings.c
@@ -166,6 +166,7 @@ static bool readable_file(char *filename)
void init_settings(struct settings *settings)
{
memset(settings, 0, sizeof(*settings));
+ settings->overall_timeout = 900;
}
void free_settings(struct settings *settings)
--
2.18.0
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
next prev parent reply other threads:[~2018-10-10 10:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-10 10:41 [igt-dev] [PATCH i-g-t 1/2] runner: Add --overall-timeout Petri Latvala
2018-10-10 10:41 ` Petri Latvala [this message]
2018-10-10 11:30 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/2] " Patchwork
2018-10-10 14:27 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2018-10-19 12:15 ` [igt-dev] [PATCH i-g-t 1/2] " Arkadiusz Hiler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181010104101.3648-2-petri.latvala@intel.com \
--to=petri.latvala@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox