Files
hakurei/internal/rosa/llvm_test.go
T
cat 0d3efeb456
Test / Create distribution (push) Successful in 56s
Test / Sandbox (push) Successful in 2m54s
Test / Hakurei (push) Successful in 4m33s
Test / Sandbox (race detector) (push) Successful in 6m5s
Test / Hakurei (race detector) (push) Successful in 8m0s
Test / ShareFS (push) Successful in 8m32s
Test / Flake checks (push) Successful in 1m27s
internal/rosa: remove xz utils hack
This replaces all xz invocations with the native decompressor. This also significantly cleans up the Gentoo stage3 bootstrap path.

Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-07-25 14:14:34 +09:00

22 lines
356 B
Go

package rosa_test
import (
"testing"
"hakurei.app/internal/pkg"
"hakurei.app/internal/rosa"
)
func TestLLVMInputs(t *testing.T) {
const wantInputCount = 470
_, llvm := rosa.Native().Std().MustLoad(rosa.H("llvm"))
var n int
for range pkg.Inputs(llvm) {
n++
}
if n != wantInputCount {
t.Errorf("Inputs: %d, want %d", n, wantInputCount)
}
}