github.com/neatlab/neatio@v1.7.3-0.20220425043230-d903e92fcc75/tests/vm_test.go (about) 1 package tests 2 3 import ( 4 "testing" 5 6 "github.com/neatlab/neatio/chain/core/vm" 7 ) 8 9 func TestVM(t *testing.T) { 10 t.Parallel() 11 vmt := new(testMatcher) 12 vmt.fails("^vmSystemOperationsTest.json/createNameRegistrator$", "fails without parallel execution") 13 14 vmt.skipLoad(`^vmInputLimits(Light)?.json`) 15 16 vmt.skipShortMode("^vmPerformanceTest.json") 17 vmt.skipShortMode("^vmInputLimits(Light)?.json") 18 19 vmt.walk(t, vmTestDir, func(t *testing.T, name string, test *VMTest) { 20 withTrace(t, test.json.Exec.GasLimit, func(vmconfig vm.Config) error { 21 return vmt.checkFailure(t, name, test.Run(vmconfig)) 22 }) 23 }) 24 }