Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] runner: Fix handling of per-test-timeout
@ 2022-03-28  9:13 Petri Latvala
  2022-03-28  9:52 ` Mauro Carvalho Chehab
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Petri Latvala @ 2022-03-28  9:13 UTC (permalink / raw)
  To: igt-dev; +Cc: Petri Latvala

Instead of stopping execution on resume-init success, stop on
resume-init failure like intended.

Fixes: 4b88a9253443 ("runner: check if it has root permissions")
Signed-off-by: Petri Latvala <petri.latvala@intel.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
---
 runner/executor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runner/executor.c b/runner/executor.c
index b4efc4fd..6e6ca9cc 100644
--- a/runner/executor.c
+++ b/runner/executor.c
@@ -2043,7 +2043,7 @@ bool execute(struct execute_state *state,
 			}
 			close(sigfd);
 			close(testdirfd);
-			if (initialize_execute_state_from_resume(resdirfd, state, settings, job_list))
+			if (!initialize_execute_state_from_resume(resdirfd, state, settings, job_list))
 				return false;
 			state->time_left = time_left;
 			return execute(state, settings, job_list);
-- 
2.30.2

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-03-28 13:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-28  9:13 [igt-dev] [PATCH i-g-t] runner: Fix handling of per-test-timeout Petri Latvala
2022-03-28  9:52 ` Mauro Carvalho Chehab
2022-03-28 10:02 ` Mauro Carvalho Chehab
2022-03-28 11:24 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2022-03-28 13:07 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox