cmd/mbf: print extra stage3 information
All checks were successful
Test / Create distribution (push) Successful in 1m1s
Test / Sandbox (push) Successful in 2m49s
Test / Hakurei (push) Successful in 4m20s
Test / ShareFS (push) Successful in 4m37s
Test / Hpkg (push) Successful in 5m6s
Test / Sandbox (race detector) (push) Successful in 5m25s
Test / Hakurei (race detector) (push) Successful in 6m38s
Test / Flake checks (push) Successful in 1m59s
All checks were successful
Test / Create distribution (push) Successful in 1m1s
Test / Sandbox (push) Successful in 2m49s
Test / Hakurei (push) Successful in 4m20s
Test / ShareFS (push) Successful in 4m37s
Test / Hpkg (push) Successful in 5m6s
Test / Sandbox (race detector) (push) Successful in 5m25s
Test / Hakurei (race detector) (push) Successful in 6m38s
Test / Flake checks (push) Successful in 1m59s
This includes ident of all three stages and the matching checksum if check is passing. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -113,6 +113,7 @@ func main() {
|
|||||||
"stage3",
|
"stage3",
|
||||||
"Check for toolchain 3-stage non-determinism",
|
"Check for toolchain 3-stage non-determinism",
|
||||||
func(args []string) (err error) {
|
func(args []string) (err error) {
|
||||||
|
_, _, _, stage1 := (rosa.Std - 2).NewLLVM()
|
||||||
_, _, _, stage2 := (rosa.Std - 1).NewLLVM()
|
_, _, _, stage2 := (rosa.Std - 1).NewLLVM()
|
||||||
_, _, _, stage3 := rosa.Std.NewLLVM()
|
_, _, _, stage3 := rosa.Std.NewLLVM()
|
||||||
var (
|
var (
|
||||||
@@ -120,6 +121,11 @@ func main() {
|
|||||||
checksum [2]unique.Handle[pkg.Checksum]
|
checksum [2]unique.Handle[pkg.Checksum]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if pathname, _, err = cache.Cure(stage1); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
log.Println("stage1:", pathname)
|
||||||
|
|
||||||
if pathname, checksum[0], err = cache.Cure(stage2); err != nil {
|
if pathname, checksum[0], err = cache.Cure(stage2); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
@@ -134,6 +140,11 @@ func main() {
|
|||||||
Got: checksum[0].Value(),
|
Got: checksum[0].Value(),
|
||||||
Want: checksum[1].Value(),
|
Want: checksum[1].Value(),
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
log.Println(
|
||||||
|
"stage2 is identical to stage3",
|
||||||
|
"("+pkg.Encode(checksum[0].Value())+")",
|
||||||
|
)
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user