diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-06-12 01:06:56 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-06-19 04:20:45 +0800 |
commit | c941a39b756783d95526a74374dd2aa4283474fa (patch) | |
tree | e6d5cc83abf8924ae06fa4a0fc429182b43a33c0 /tests/state_test_util.go | |
parent | 8507c867b9cca2b1d59182baea90ab2844d494a0 (diff) | |
download | dexon-c941a39b756783d95526a74374dd2aa4283474fa.tar dexon-c941a39b756783d95526a74374dd2aa4283474fa.tar.gz dexon-c941a39b756783d95526a74374dd2aa4283474fa.tar.bz2 dexon-c941a39b756783d95526a74374dd2aa4283474fa.tar.lz dexon-c941a39b756783d95526a74374dd2aa4283474fa.tar.xz dexon-c941a39b756783d95526a74374dd2aa4283474fa.tar.zst dexon-c941a39b756783d95526a74374dd2aa4283474fa.zip |
Cleanup logging
Diffstat (limited to 'tests/state_test_util.go')
-rw-r--r-- | tests/state_test_util.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/state_test_util.go b/tests/state_test_util.go index cd87ee75e..ad14168c7 100644 --- a/tests/state_test_util.go +++ b/tests/state_test_util.go @@ -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 |