From d42b1f6a2c427ea3b0fea0116157b4fb065dda16 Mon Sep 17 00:00:00 2001 From: Martin Holst Swende Date: Mon, 8 Apr 2024 13:22:25 +0200 Subject: [PATCH] tests: avoid duplicate state-tests --- tests/block_test.go | 5 ----- tests/state_test.go | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/block_test.go b/tests/block_test.go index be4b6ee37d..43e3d99b3e 100644 --- a/tests/block_test.go +++ b/tests/block_test.go @@ -49,11 +49,6 @@ func TestBlockchain(t *testing.T) { // using 4.6 TGas bt.skipLoad(`.*randomStatetest94.json.*`) - // The tests under Pyspecs are the ones that are published as execution-spect tests. - // We run these tests separately, no need to _also_ run them as part of the - // reference tests. - bt.skipLoad(`^Pyspecs/`) - bt.walk(t, blockTestDir, func(t *testing.T, name string, test *BlockTest) { execBlockTest(t, bt, test) }) diff --git a/tests/state_test.go b/tests/state_test.go index 10f4e4ee19..6f53b88722 100644 --- a/tests/state_test.go +++ b/tests/state_test.go @@ -65,6 +65,11 @@ func initMatcher(st *testMatcher) { // Broken tests: // EOF is not part of cancun st.skipLoad(`^stEOF/`) + + // The tests under Pyspecs are the ones that are published as execution-spec tests. + // We run these tests separately, no need to _also_ run them as part of the + // reference tests. + st.skipLoad(`^Pyspecs/`) } func TestState(t *testing.T) {