aboutsummaryrefslogtreecommitdiffstats
path: root/tests/state_test.go
diff options
context:
space:
mode:
authorMartin Holst Swende <martin@swende.se>2017-09-05 17:24:26 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-09-05 17:24:26 +0800
commit8cab3ab4350fe06f5dd1e9bb9ce5f559c08bc4cf (patch)
tree6267317ecc6cdb573868d71880fbe88f1db4037a /tests/state_test.go
parent504278e8398ef787d4f6f73178afa342a31a88ed (diff)
downloaddexon-8cab3ab4350fe06f5dd1e9bb9ce5f559c08bc4cf.tar
dexon-8cab3ab4350fe06f5dd1e9bb9ce5f559c08bc4cf.tar.gz
dexon-8cab3ab4350fe06f5dd1e9bb9ce5f559c08bc4cf.tar.bz2
dexon-8cab3ab4350fe06f5dd1e9bb9ce5f559c08bc4cf.tar.lz
dexon-8cab3ab4350fe06f5dd1e9bb9ce5f559c08bc4cf.tar.xz
dexon-8cab3ab4350fe06f5dd1e9bb9ce5f559c08bc4cf.tar.zst
dexon-8cab3ab4350fe06f5dd1e9bb9ce5f559c08bc4cf.zip
cmd/evm: adds ability to run individual state test file (#14998)
* cmd/evm: adds ability to run individual state test file * cmd/evm: Fix statetest runner to be more json friendly * cmd/evm, tests: minor polishes, dump state on fail
Diffstat (limited to 'tests/state_test.go')
-rw-r--r--tests/state_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/state_test.go b/tests/state_test.go
index 4b6ba8b31..1fb7f5908 100644
--- a/tests/state_test.go
+++ b/tests/state_test.go
@@ -50,7 +50,8 @@ func TestState(t *testing.T) {
t.Skip("constantinople not supported yet")
}
withTrace(t, test.gasLimit(subtest), func(vmconfig vm.Config) error {
- return st.checkFailure(t, name, test.Run(subtest, vmconfig))
+ _, err := test.Run(subtest, vmconfig)
+ return st.checkFailure(t, name, err)
})
})
}