public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
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 3/4] HAX: Check all conditions to abort
Date: Mon,  9 Sep 2019 14:38:08 +0300	[thread overview]
Message-ID: <20190909113809.1229-3-petri.latvala@intel.com> (raw)
In-Reply-To: <20190909113809.1229-1-petri.latvala@intel.com>

---
 runner/executor.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/runner/executor.c b/runner/executor.c
index 6ac95663..5ed191f9 100644
--- a/runner/executor.c
+++ b/runner/executor.c
@@ -358,7 +358,7 @@ static char *need_to_abort(const struct settings* settings)
 	for (it = abort_handlers; it->condition; it++) {
 		char *abort;
 
-		if (!(settings->abort_mask & it->condition))
+		if (false && !(settings->abort_mask & it->condition))
 			continue;
 
 		abort = it->handler();
@@ -1475,6 +1475,9 @@ bool execute(struct execute_state *state,
 
 	init_watchdogs(settings);
 
+	if (true || settings->abort_mask & ABORT_PING)
+		ping_config();
+
 	if (!uname(&unamebuf)) {
 		dprintf(unamefd, "%s %s %s %s %s\n",
 			unamebuf.sysname,
-- 
2.19.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

  parent reply	other threads:[~2019-09-09 11:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-09 11:38 [igt-dev] [PATCH i-g-t 1/4] lib: Export a function for loading igtrc Petri Latvala
2019-09-09 11:38 ` [igt-dev] [PATCH i-g-t 2/4] runner: Add support for aborting on network failure Petri Latvala
2019-09-10 12:43   ` Arkadiusz Hiler
2019-09-09 11:38 ` Petri Latvala [this message]
2019-09-09 11:38 ` [igt-dev] [PATCH i-g-t 4/4] HAX: Print ping times to stderr Petri Latvala
2019-09-09 11:50   ` Petri Latvala
2019-09-09 12:12 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/4] lib: Export a function for loading igtrc Patchwork
2019-09-09 12:29 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/4] lib: Export a function for loading igtrc (rev2) Patchwork
2019-09-09 17:40 ` [igt-dev] ✓ Fi.CI.IGT: success for series starting with [i-g-t,1/4] lib: Export a function for loading igtrc Patchwork
2019-09-09 18:31 ` [igt-dev] ✓ Fi.CI.IGT: success for series starting with [i-g-t,1/4] lib: Export a function for loading igtrc (rev2) Patchwork
2019-09-10 12:41 ` [igt-dev] [PATCH i-g-t 1/4] lib: Export a function for loading igtrc Arkadiusz Hiler
2019-09-13  9:26   ` Petri Latvala
2019-09-13 10:50     ` Arkadiusz Hiler
2019-09-13 12:48       ` Petri Latvala
2019-09-16 13:00         ` 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=20190909113809.1229-3-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