From: Ian Jackson Date: Fri, 5 Nov 2021 18:04:47 +0000 (+0000) Subject: sg-run-job: Do not set a step status to pass unless it's running X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=6d23cbc64d1278c0665316f414ca7d210eb02677;p=osstest.git 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 --- 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 "