Cleanup logging

This commit is contained in:
Taylor Gerring
2015-06-11 13:06:56 -04:00
parent 8507c867b9
commit c941a39b75
6 changed files with 15 additions and 12 deletions

View File

@ -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