diff options
author | obscuren <geffobscura@gmail.com> | 2014-10-15 06:41:00 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-10-15 06:41:00 +0800 |
commit | 266d21209478bdb8c89e1ffb95d7f0de34635968 (patch) | |
tree | ab5075cda6492eee554ad234e4c36734767d2534 /tests/helper/init.go | |
parent | 3d177be73e127b08a52988fde308eed29eac4699 (diff) | |
download | go-tangerine-266d21209478bdb8c89e1ffb95d7f0de34635968.tar go-tangerine-266d21209478bdb8c89e1ffb95d7f0de34635968.tar.gz go-tangerine-266d21209478bdb8c89e1ffb95d7f0de34635968.tar.bz2 go-tangerine-266d21209478bdb8c89e1ffb95d7f0de34635968.tar.lz go-tangerine-266d21209478bdb8c89e1ffb95d7f0de34635968.tar.xz go-tangerine-266d21209478bdb8c89e1ffb95d7f0de34635968.tar.zst go-tangerine-266d21209478bdb8c89e1ffb95d7f0de34635968.zip |
Working on test suite
Diffstat (limited to 'tests/helper/init.go')
-rw-r--r-- | tests/helper/init.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/helper/init.go b/tests/helper/init.go new file mode 100644 index 000000000..1f2ee208a --- /dev/null +++ b/tests/helper/init.go @@ -0,0 +1,15 @@ +package helper + +import ( + "log" + "os" + + "github.com/ethereum/eth-go/ethlog" + "github.com/ethereum/eth-go/ethutil" +) + +func init() { + ethlog.AddLogSystem(ethlog.NewStdLogSystem(os.Stdout, log.LstdFlags, ethlog.LogLevel(4))) + + ethutil.ReadConfig(".ethtest", "/tmp/ethtest", "") +} |