mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-12 01:41:36 +00:00
skip rlpgen test on win
This commit is contained in:
parent
f1165ec322
commit
05663ab790
1 changed files with 4 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue