From 6d23cbc64d1278c0665316f414ca7d210eb02677 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 5 Nov 2021 18:04:47 +0000 Subject: [PATCH] sg-run-job: Do not set a step status to pass unless it's running This avoids skip etc. being treated as pass. Signed-off-by: Ian Jackson --- tcl/JobDB-Executive.tcl | 1 + 1 file changed, 1 insertion(+) diff --git a/tcl/JobDB-Executive.tcl b/tcl/JobDB-Executive.tcl index 3824882..8e0062f 100644 --- a/tcl/JobDB-Executive.tcl +++ b/tcl/JobDB-Executive.tcl @@ -326,6 +326,7 @@ proc step-set-status {flight job stepno st} { AND status<>'broken' AND status<>'starved' AND status<>'fail' + AND NOT ('$st' = 'pass' AND status <> 'running') " set pause 0 db-execute-array stopinfo " -- 2.39.5