fix(cli): display test log for all artifact types
This commit is contained in:
parent
61e3e6d5e8
commit
12e269cfc1
@ -336,13 +336,14 @@ func copyArtifactAndTest(slog zerolog.Logger, q *qemu.System, ka Artifact,
|
|||||||
slog.Error().Err(err).Msg(res.Test.Output)
|
slog.Error().Err(err).Msg(res.Test.Output)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
slog.Info().Msgf("\n%v\n", res.Test.Output)
|
|
||||||
res.Run.Ok = true
|
res.Run.Ok = true
|
||||||
res.Test.Ok = true
|
res.Test.Ok = true
|
||||||
default:
|
default:
|
||||||
slog.Fatal().Msg("Unsupported artifact type")
|
slog.Fatal().Msg("Unsupported artifact type")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
slog.Info().Msgf("\n%v\n", res.Test.Output)
|
||||||
|
|
||||||
_, err = q.Command("root", "echo")
|
_, err = q.Command("root", "echo")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
slog.Error().Err(err).Msg("after-test ssh reconnect")
|
slog.Error().Err(err).Msg("after-test ssh reconnect")
|
||||||
|
Loading…
Reference in New Issue
Block a user