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

Petri Latvala petri.latvala at intel.com
Mon May 20 11:51:43 UTC 2019


... and remember to HAX the ping setup as well
---
 runner/executor.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/runner/executor.c b/runner/executor.c
index c07e53fa..af87e312 100644
--- a/runner/executor.c
+++ b/runner/executor.c
@@ -354,7 +354,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();
@@ -1435,7 +1435,7 @@ bool execute(struct execute_state *state,
 
 	init_watchdogs(settings);
 
-	if (settings->abort_mask & ABORT_PING)
+	if (true && settings->abort_mask & ABORT_PING)
 		ping_config();
 
 	if (!uname(&unamebuf)) {
-- 
2.19.1



More information about the igt-dev mailing list