db69dcf0be
Test / Create distribution (push) Successful in 1m30s
Test / Sandbox (push) Successful in 5m13s
Test / Hakurei (push) Successful in 7m56s
Test / ShareFS (push) Successful in 7m57s
Test / Hakurei (race detector) (push) Successful in 10m12s
Test / Sandbox (race detector) (push) Successful in 3m3s
Test / Flake checks (push) Successful in 1m47s
This is replaced by decompressArtifact and is no longer necessary. Signed-off-by: Ophestra <cat@gensokyo.uk>
22 lines
356 B
Go
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 = 857
|
|
|
|
_, 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)
|
|
}
|
|
}
|