github.com/neatio-net/neatio@v1.7.3-0.20231114194659-f4d7a2226baa/tests/block_test.go (about) 1 package tests 2 3 import ( 4 "testing" 5 ) 6 7 func TestBlockchain(t *testing.T) { 8 t.Parallel() 9 10 bt := new(testMatcher) 11 12 bt.skipLoad(`^GeneralStateTests/`) 13 14 bt.skipLoad(`^bcForgedTest/bcForkUncle\.json`) 15 bt.skipLoad(`^bcMultiChainTest/(ChainAtoChainB_blockorder|CallContractFromNotBestBlock)`) 16 bt.skipLoad(`^bcTotalDifficultyTest/(lotsOfLeafs|lotsOfBranches|sideChainWithMoreTransactions)`) 17 18 bt.skipLoad(`(?i)(constantinople)`) 19 20 bt.skipLoad(`^bcWalletTest.*_Byzantium$`) 21 22 bt.walk(t, blockTestDir, func(t *testing.T, name string, test *BlockTest) { 23 if err := bt.checkFailure(t, name, test.Run()); err != nil { 24 t.Error(err) 25 } 26 }) 27 }