mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 13:21:37 +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"
|
"go/types"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
"runtime"
|
||||||
"testing"
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -52,6 +53,9 @@ var tests = []string{"uints", "nil", "rawvalue", "optional", "bigint", "uint256"
|
||||||
func TestOutput(t *testing.T) {
|
func TestOutput(t *testing.T) {
|
||||||
for _, test := range tests {
|
for _, test := range tests {
|
||||||
t.Run(test, func(t *testing.T) {
|
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")
|
inputFile := filepath.Join("testdata", test+".in.txt")
|
||||||
outputFile := filepath.Join("testdata", test+".out.txt")
|
outputFile := filepath.Join("testdata", test+".out.txt")
|
||||||
bctx, typ, err := loadTestSource(inputFile, "Test")
|
bctx, typ, err := loadTestSource(inputFile, "Test")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue