forked from rosa/hakurei
fdca05487c
This change also disables the bootstrap test because 4.4.0 broke the bootstrap test, and it makes little sense re-testing what has already succeeded. 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 = 550
|
|
|
|
_, 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)
|
|
}
|
|
}
|