[igt-dev] [PATCH i-g-t 3/4] HAX: Check all conditions to abort

Petri Latvala petri.latvala at intel.com
Mon Sep 9 11:38:08 UTC 2019


---
 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



More information about the igt-dev mailing list