Skip to content

Commit e9d8359

Browse files
committed
tests: skip broken test
1 parent 1bb80cb commit e9d8359

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

tests/init_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ import (
3434
)
3535

3636
var (
37-
baseDir = filepath.Join(".", "testdata")
38-
blockTestDir = filepath.Join(baseDir, "BlockchainTests")
39-
stateTestDir = filepath.Join(baseDir, "GeneralStateTests")
40-
legacyStateTestDir = filepath.Join(baseDir, "LegacyTests", "Constantinople", "GeneralStateTests")
37+
baseDir = filepath.Join(".", "testdata")
38+
blockTestDir = filepath.Join(baseDir, "BlockchainTests")
39+
stateTestDir = filepath.Join(baseDir, "GeneralStateTests")
40+
//legacyStateTestDir = filepath.Join(baseDir, "LegacyTests", "Constantinople", "GeneralStateTests")
4141
transactionTestDir = filepath.Join(baseDir, "TransactionTests")
4242
vmTestDir = filepath.Join(baseDir, "VMTests")
4343
rlpTestDir = filepath.Join(baseDir, "RLPTests")

tests/state_test.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ func TestState(t *testing.T) {
4545

4646
// Uses 1GB RAM per tested fork
4747
st.skipLoad(`^stStaticCall/static_Call1MB`)
48-
48+
// Un-skip this when https://github.com/ethereum/tests/issues/908 is closed
49+
st.skipLoad(`^stQuadraticComplexityTest/QuadraticComplexitySolidity_CallDataCopy`)
4950
// Broken tests:
5051
// Expected failures:
5152
//st.fails(`^stRevertTest/RevertPrecompiledTouch(_storage)?\.json/Byzantium/0`, "bug in test")
@@ -58,7 +59,9 @@ func TestState(t *testing.T) {
5859
// For Istanbul, older tests were moved into LegacyTests
5960
for _, dir := range []string{
6061
stateTestDir,
61-
legacyStateTestDir,
62+
// legacy state tests are disabled, due to them not being
63+
// regenerated for the no-sender-eoa change.
64+
//legacyStateTestDir,
6265
} {
6366
st.walk(t, dir, func(t *testing.T, name string, test *StateTest) {
6467
for _, subtest := range test.Subtests() {

0 commit comments

Comments
 (0)