internal/cabi: fix arch amd64

This commit is contained in:
visualfc
2025-08-14 10:23:05 +08:00
parent ef07188534
commit 3617c82e8b
14 changed files with 117855 additions and 50 deletions

View File

@@ -44,12 +44,14 @@ func TestABI(t *testing.T) {
var files []string
for _, f := range dirs {
if !f.IsDir() && strings.HasSuffix(f.Name(), ".go") {
if f.Name() == "demo.go" {
continue
}
files = append(files, f.Name())
}
}
for i, arch := range archs {
t.Run(arch, func(t *testing.T) {
t.Parallel()
testArch(t, arch, archDir[i], files)
})
}