1
0

fix(cli): display test log for all artifact types

This commit is contained in:
dump_stack() 2024-05-23 08:58:00 +00:00
parent 61e3e6d5e8
commit 12e269cfc1
Signed by: dump_stack
GPG Key ID: C9905BA72B5E02BB

View File

@ -336,13 +336,14 @@ func copyArtifactAndTest(slog zerolog.Logger, q *qemu.System, ka Artifact,
slog.Error().Err(err).Msg(res.Test.Output)
return
}
slog.Info().Msgf("\n%v\n", res.Test.Output)
res.Run.Ok = true
res.Test.Ok = true
default:
slog.Fatal().Msg("Unsupported artifact type")
}
slog.Info().Msgf("\n%v\n", res.Test.Output)
_, err = q.Command("root", "echo")
if err != nil {
slog.Error().Err(err).Msg("after-test ssh reconnect")