[PATCH i-g-t 07/15] Allow disabling socket comms

Petri Latvala petri.latvala at intel.com
Mon Mar 1 11:32:50 UTC 2021


---
 runner/executor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runner/executor.c b/runner/executor.c
index 2f6eaf1d..5ee4dad7 100644
--- a/runner/executor.c
+++ b/runner/executor.c
@@ -1509,7 +1509,7 @@ static int execute_next_entry(struct execute_state *state,
 
 		sigprocmask(SIG_UNBLOCK, sigmask, NULL);
 
-		if (socketfd >= 0) {
+		if (socketfd >= 0 && !getenv("IGT_RUNNER_DISABLE_SOCKET_COMMUNICATION")) {
 			snprintf(envstring, sizeof(envstring), "%d", socketfd);
 			setenv("IGT_RUNNER_SOCKET_FD", envstring, 1);
 		}
-- 
2.29.2



More information about the Intel-gfx-trybot mailing list