"README.md" did not exist on "85397f6bc4ff13a6bc5259facb8ebebb1986d666"
-
Petri Latvala authored
Don't leave the execution in a "please resume me" state if bootup causes an abort condition. Especially handle the case of abort on bootup when resuming correctly, so that it doesn't attempt to run a test on a tainted kernel if we've explicitly configured the runner to not execute when there's a taint. v2: Fudge the results directory instead to get the desired results: runner exits with nonzero, and resuming exits with "all done" instead of executing anything. v3: Use faccessat instead of open+close, use less magic strings, remember to close fds (Chris) v4: Use GRACEFUL_EXITCODE in monitor_output, remove the 'resuming' field (why was it a double?!). (Ryszard) Stop trying to execute if all tests are already run, to avoid a crash in environment validation. v5: Remember to git add so the 'resuming' field really gets removed. (Kamil) Use 0.000 in the printf format directly instead of formatting 0.0 to %.3f. (Kamil) Signed-off-by:
Petri Latvala <petri.latvala@intel.com> Cc: Arkadiusz Hiler <arek@hiler.eu> Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com> Cc: Ryszard Knop <ryszard.knop@intel.com> Reviewed-by:
Kamil Konieczny <kamil.konieczny@linux.intel.com>
Petri Latvala authoredDon't leave the execution in a "please resume me" state if bootup causes an abort condition. Especially handle the case of abort on bootup when resuming correctly, so that it doesn't attempt to run a test on a tainted kernel if we've explicitly configured the runner to not execute when there's a taint. v2: Fudge the results directory instead to get the desired results: runner exits with nonzero, and resuming exits with "all done" instead of executing anything. v3: Use faccessat instead of open+close, use less magic strings, remember to close fds (Chris) v4: Use GRACEFUL_EXITCODE in monitor_output, remove the 'resuming' field (why was it a double?!). (Ryszard) Stop trying to execute if all tests are already run, to avoid a crash in environment validation. v5: Remember to git add so the 'resuming' field really gets removed. (Kamil) Use 0.000 in the printf format directly instead of formatting 0.0 to %.3f. (Kamil) Signed-off-by:
Petri Latvala <petri.latvala@intel.com> Cc: Arkadiusz Hiler <arek@hiler.eu> Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com> Cc: Ryszard Knop <ryszard.knop@intel.com> Reviewed-by:
Kamil Konieczny <kamil.konieczny@linux.intel.com>