[igt-dev] [PATCH i-g-t 6/6] Revert "runner: Disable socket communications for now"
Petri Latvala
petri.latvala at intel.com
Tue Nov 8 10:07:33 UTC 2022
With a couple of fixes, using socket comms is now suitably ready for
prime time.
This reverts commit 372c56225e12578a7a4a6bcc5b79eb40b643fcde.
Signed-off-by: Petri Latvala <petri.latvala at intel.com>
Cc: Arkadiusz Hiler <arek at hiler.eu>
Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>
Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>
---
runner/executor.c | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/runner/executor.c b/runner/executor.c
index c5f03614..2feef2c9 100644
--- a/runner/executor.c
+++ b/runner/executor.c
@@ -1679,14 +1679,7 @@ static int execute_next_entry(struct execute_state *state,
sigprocmask(SIG_UNBLOCK, sigmask, NULL);
- if (socketfd >= 0 && !getenv("IGT_RUNNER_DISABLE_SOCKET_COMMUNICATION") &&
- getenv("IGT_RUNNER_ENABLE_SOCKET_COMMUNICATION_FIXME")) {
- /*
- * The variable for enabling socket comms is
- * temporary. Do not use unless you really
- * know what you're doing. Requiring it will
- * go away later.
- */
+ if (socketfd >= 0 && !getenv("IGT_RUNNER_DISABLE_SOCKET_COMMUNICATION")) {
snprintf(envstring, sizeof(envstring), "%d", socketfd);
setenv("IGT_RUNNER_SOCKET_FD", envstring, 1);
}
--
2.30.2
More information about the igt-dev
mailing list