aboutsummaryrefslogtreecommitdiffstats
path: root/tests/vm_test_util.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-06-12 01:06:56 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-06-19 04:20:45 +0800
commitc941a39b756783d95526a74374dd2aa4283474fa (patch)
treee6d5cc83abf8924ae06fa4a0fc429182b43a33c0 /tests/vm_test_util.go
parent8507c867b9cca2b1d59182baea90ab2844d494a0 (diff)
downloadgo-tangerine-c941a39b756783d95526a74374dd2aa4283474fa.tar
go-tangerine-c941a39b756783d95526a74374dd2aa4283474fa.tar.gz
go-tangerine-c941a39b756783d95526a74374dd2aa4283474fa.tar.bz2
go-tangerine-c941a39b756783d95526a74374dd2aa4283474fa.tar.lz
go-tangerine-c941a39b756783d95526a74374dd2aa4283474fa.tar.xz
go-tangerine-c941a39b756783d95526a74374dd2aa4283474fa.tar.zst
go-tangerine-c941a39b756783d95526a74374dd2aa4283474fa.zip
Cleanup logging
Diffstat (limited to 'tests/vm_test_util.go')
-rw-r--r--tests/vm_test_util.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/vm_test_util.go b/tests/vm_test_util.go
index 28e0c3f40..4145d1ebf 100644
--- a/tests/vm_test_util.go
+++ b/tests/vm_test_util.go
@@ -10,6 +10,7 @@ import (
"github.com/ethereum/go-ethereum/core/state"
"github.com/ethereum/go-ethereum/core/vm"
"github.com/ethereum/go-ethereum/ethdb"
+ "github.com/ethereum/go-ethereum/logger/glog"
)
func RunVmTest(p string) error {
@@ -26,7 +27,7 @@ func RunVmTest(p string) error {
for name, test := range tests {
if skipTest[name] {
- fmt.Println("Skipping state test", name)
+ glog.Infoln("Skipping VM test", name)
return nil
}
db, _ := ethdb.NewMemDatabase()
@@ -102,8 +103,7 @@ func RunVmTest(p string) error {
}
}
- fmt.Println("VM test passed: ", name)
-
+ glog.Infoln("VM test passed: ", name)
//fmt.Println(string(statedb.Dump()))
}
return nil