skip rlpgen test on win

This commit is contained in:
Sina Mahmoodi 2026-04-17 08:28:46 +00:00
parent f1165ec322
commit 05663ab790

View file

@ -26,6 +26,7 @@ import (
"go/types"
"os"
"path/filepath"
"runtime"
"testing"
)
@ -52,6 +53,9 @@ var tests = []string{"uints", "nil", "rawvalue", "optional", "bigint", "uint256"
func TestOutput(t *testing.T) {
for _, test := range tests {
t.Run(test, func(t *testing.T) {
if test == "pkgclash" && runtime.GOOS == "windows" {
t.Skip("source-based importer is pathologically slow on Windows/NTFS")
}
inputFile := filepath.Join("testdata", test+".in.txt")
outputFile := filepath.Join("testdata", test+".out.txt")
bctx, typ, err := loadTestSource(inputFile, "Test")