Cleanup logging
This commit is contained in:
@ -12,6 +12,7 @@ import (
|
||||
"github.com/ethereum/go-ethereum/core/vm"
|
||||
"github.com/ethereum/go-ethereum/crypto"
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/ethereum/go-ethereum/logger/glog"
|
||||
)
|
||||
|
||||
func RunStateTest(p string) error {
|
||||
@ -25,7 +26,7 @@ func RunStateTest(p string) error {
|
||||
|
||||
for name, test := range tests {
|
||||
if skipTest[name] {
|
||||
fmt.Println("Skipping state test", name)
|
||||
glog.Infoln("Skipping state test", name)
|
||||
return nil
|
||||
}
|
||||
db, _ := ethdb.NewMemDatabase()
|
||||
@ -105,7 +106,7 @@ func RunStateTest(p string) error {
|
||||
}
|
||||
}
|
||||
|
||||
fmt.Println("State test passed: ", name)
|
||||
glog.Infoln("State test passed: ", name)
|
||||
//fmt.Println(string(statedb.Dump()))
|
||||
}
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user