Merge pull request #15022 from karalabe/enable-byzantium-state-tests

tests: enable Byzantium state tests for CI
This commit is contained in:
Péter Szilágyi 2017-08-22 15:06:02 +03:00 committed by GitHub
commit fc5f8a3dda

View File

@ -50,8 +50,8 @@ func TestState(t *testing.T) {
key := fmt.Sprintf("%s/%d", subtest.Fork, subtest.Index) key := fmt.Sprintf("%s/%d", subtest.Fork, subtest.Index)
name := name + "/" + key name := name + "/" + key
t.Run(key, func(t *testing.T) { t.Run(key, func(t *testing.T) {
if subtest.Fork == "Constantinople" || subtest.Fork == "Byzantium" { if subtest.Fork == "Constantinople" {
t.Skip("constantinople, byzantium not supported yet") t.Skip("constantinople not supported yet")
} }
withTrace(t, test.gasLimit(subtest), func(vmconfig vm.Config) error { withTrace(t, test.gasLimit(subtest), func(vmconfig vm.Config) error {
return st.checkFailure(t, name, test.Run(subtest, vmconfig)) return st.checkFailure(t, name, test.Run(subtest, vmconfig))