aboutsummaryrefslogtreecommitdiffstats
path: root/tests/vm
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-13 02:41:56 +0800
committerobscuren <geffobscura@gmail.com>2015-03-13 02:41:56 +0800
commit347cb272bea3f5abddc6ee2f63917f3b8f655d43 (patch)
tree16e0b17bd57469589445827c9bda6161ef99be76 /tests/vm
parentd1c872bace8f3e87f34bc97167892c09ab4de193 (diff)
downloaddexon-347cb272bea3f5abddc6ee2f63917f3b8f655d43.tar
dexon-347cb272bea3f5abddc6ee2f63917f3b8f655d43.tar.gz
dexon-347cb272bea3f5abddc6ee2f63917f3b8f655d43.tar.bz2
dexon-347cb272bea3f5abddc6ee2f63917f3b8f655d43.tar.lz
dexon-347cb272bea3f5abddc6ee2f63917f3b8f655d43.tar.xz
dexon-347cb272bea3f5abddc6ee2f63917f3b8f655d43.tar.zst
dexon-347cb272bea3f5abddc6ee2f63917f3b8f655d43.zip
fixed ethtest
Diffstat (limited to 'tests/vm')
-rw-r--r--tests/vm/gh_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/vm/gh_test.go b/tests/vm/gh_test.go
index 959f20463..6195a684d 100644
--- a/tests/vm/gh_test.go
+++ b/tests/vm/gh_test.go
@@ -11,6 +11,7 @@ import (
"github.com/ethereum/go-ethereum/logger"
"github.com/ethereum/go-ethereum/state"
"github.com/ethereum/go-ethereum/tests/helper"
+ "github.com/ethereum/go-ethereum/vm"
)
type Account struct {
@@ -80,6 +81,11 @@ func RunVmTest(p string, t *testing.T) {
helper.CreateFileTests(t, p, &tests)
for name, test := range tests {
+ vm.Debug = true
+ helper.Logger.SetLogLevel(4)
+ if name != "signextend_Overflow_dj42" {
+ continue
+ }
db, _ := ethdb.NewMemDatabase()
statedb := state.New(nil, db)
for addr, account := range test.Pre {