mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-24 11:59:58 +00:00
parent
a9cc88c19f
commit
057f344bb7
@ -399,12 +399,12 @@ func (mgr *Manager) testImage(imageDir string, info *BuildInfo) error {
|
||||
switch err := res.(type) {
|
||||
case *instance.TestError:
|
||||
if rep := err.Report; rep != nil {
|
||||
rep.Report = append([]byte(rep.Title), rep.Report...)
|
||||
what := "test"
|
||||
if err.Boot {
|
||||
rep.Title = fmt.Sprintf("%v boot error", mgr.mgrcfg.RepoAlias)
|
||||
} else {
|
||||
rep.Title = fmt.Sprintf("%v test error", mgr.mgrcfg.RepoAlias)
|
||||
what = "boot"
|
||||
}
|
||||
rep.Title = fmt.Sprintf("%v %v error: %v",
|
||||
mgr.mgrcfg.RepoAlias, what, rep.Title)
|
||||
if err := mgr.reportBuildError(rep, info, imageDir); err != nil {
|
||||
mgr.Errorf("failed to report image error: %v", err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user