github.com/yinchengtsinghua/golang-Eos-dpos-Ethereum@v0.0.0-20190121132951-92cc4225ed8e/tests/vm_test.go (about) 1 2 //此源码被清华学神尹成大魔王专业翻译分析并修改 3 //尹成QQ77025077 4 //尹成微信18510341407 5 //尹成所在QQ群721929980 6 //尹成邮箱 yinc13@mails.tsinghua.edu.cn 7 //尹成毕业于清华大学,微软区块链领域全球最有价值专家 8 //https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 9 // 10 // 11 // 12 // 13 // 14 // 15 // 16 // 17 // 18 // 19 // 20 // 21 // 22 // 23 // 24 25 package tests 26 27 import ( 28 "testing" 29 30 "github.com/ethereum/go-ethereum/core/vm" 31 ) 32 33 func TestVM(t *testing.T) { 34 t.Parallel() 35 vmt := new(testMatcher) 36 vmt.fails("^vmSystemOperationsTest.json/createNameRegistrator$", "fails without parallel execution") 37 38 vmt.skipLoad(`^vmInputLimits(Light)?.json`) // 39 40 vmt.skipShortMode("^vmPerformanceTest.json") 41 vmt.skipShortMode("^vmInputLimits(Light)?.json") 42 43 vmt.walk(t, vmTestDir, func(t *testing.T, name string, test *VMTest) { 44 withTrace(t, test.json.Exec.GasLimit, func(vmconfig vm.Config) error { 45 return vmt.checkFailure(t, name, test.Run(vmconfig)) 46 }) 47 }) 48 }