aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-23 20:04:00 +0800
committerobscuren <geffobscura@gmail.com>2014-10-23 20:04:00 +0800
commitfeef194829b07570e91873ed5d1e8cc51e8fa430 (patch)
tree7ccb57a57bc538c8ae242fcad95f96218b21862e /tests
parent91c876831a3b616beb759c30d705407845ffc3ee (diff)
downloaddexon-feef194829b07570e91873ed5d1e8cc51e8fa430.tar
dexon-feef194829b07570e91873ed5d1e8cc51e8fa430.tar.gz
dexon-feef194829b07570e91873ed5d1e8cc51e8fa430.tar.bz2
dexon-feef194829b07570e91873ed5d1e8cc51e8fa430.tar.lz
dexon-feef194829b07570e91873ed5d1e8cc51e8fa430.tar.xz
dexon-feef194829b07570e91873ed5d1e8cc51e8fa430.tar.zst
dexon-feef194829b07570e91873ed5d1e8cc51e8fa430.zip
Chnged to use GetOp instead & added error + checking
Diffstat (limited to 'tests')
-rw-r--r--tests/ethtest/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ethtest/main.go b/tests/ethtest/main.go
index e19892557..1f2a15e1c 100644
--- a/tests/ethtest/main.go
+++ b/tests/ethtest/main.go
@@ -63,7 +63,7 @@ func RunVmTest(js string) (failed int) {
// When an error is returned it doesn't always mean the tests fails.
// Have to come up with some conditional failing mechanism.
if err != nil {
- helper.Log.Infoln(err)
+ log.Println(err)
}
rexp := helper.FromHex(test.Out)
@@ -96,6 +96,7 @@ func RunVmTest(js string) (failed int) {
}
func main() {
+ helper.Logger.SetLogLevel(5)
if len(os.Args) == 1 {
log.Fatalln("no json supplied")
}