diff options
author | Martin Holst Swende <martin@swende.se> | 2017-09-05 17:24:26 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-09-05 17:24:26 +0800 |
commit | 8cab3ab4350fe06f5dd1e9bb9ce5f559c08bc4cf (patch) | |
tree | 6267317ecc6cdb573868d71880fbe88f1db4037a /tests/state_test.go | |
parent | 504278e8398ef787d4f6f73178afa342a31a88ed (diff) | |
download | dexon-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.go | 3 |
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) }) }) } |