aboutsummaryrefslogtreecommitdiffstats
path: root/tests/block_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/block_test_util.go
parent8507c867b9cca2b1d59182baea90ab2844d494a0 (diff)
downloaddexon-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/block_test_util.go')
-rw-r--r--tests/block_test_util.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/block_test_util.go b/tests/block_test_util.go
index 787056b89..21fd07db6 100644
--- a/tests/block_test_util.go
+++ b/tests/block_test_util.go
@@ -19,6 +19,7 @@ import (
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/eth"
"github.com/ethereum/go-ethereum/ethdb"
+ "github.com/ethereum/go-ethereum/logger/glog"
"github.com/ethereum/go-ethereum/rlp"
)
@@ -99,15 +100,14 @@ func RunBlockTest(filepath string) error {
for name, test := range bt {
// if the test should be skipped, return
if skipTest[name] {
- fmt.Println("Skipping state test", name)
+ glog.Infoln("Skipping block test", name)
return nil
}
// test the block
if err := testBlock(test); err != nil {
return err
}
- fmt.Println("Block test passed: ", name)
-
+ glog.Infoln("Block test passed: ", name)
}
return nil
}