@@ -136,7 +136,7 @@ func RunVmTest(r io.Reader) (failed int) {
136136
137137 rexp := helper .FromHex (test .Out )
138138 if bytes .Compare (rexp , ret ) != 0 {
139- fmt .Printf ("%s's return failed. Expected %x, got %x\n " , name , rexp , ret )
139+ fmt .Printf ("FAIL: %s's return failed. Expected %x, got %x\n " , name , rexp , ret )
140140 failed = 1
141141 }
142142
@@ -148,7 +148,7 @@ func RunVmTest(r io.Reader) (failed int) {
148148
149149 if len (test .Exec ) == 0 {
150150 if obj .Balance ().Cmp (ethutil .Big (account .Balance )) != 0 {
151- fmt .Printf ("%s's : (%x) balance failed. Expected %v, got %v => %v\n " , name , obj .Address ()[:4 ], account .Balance , obj .Balance (), new (big.Int ).Sub (ethutil .Big (account .Balance ), obj .Balance ()))
151+ fmt .Printf ("FAIL: %s's : (%x) balance failed. Expected %v, got %v => %v\n " , name , obj .Address ()[:4 ], account .Balance , obj .Balance (), new (big.Int ).Sub (ethutil .Big (account .Balance ), obj .Balance ()))
152152 failed = 1
153153 }
154154 }
@@ -158,20 +158,20 @@ func RunVmTest(r io.Reader) (failed int) {
158158 vexp := helper .FromHex (value )
159159
160160 if bytes .Compare (v , vexp ) != 0 {
161- fmt .Printf ("%s's : (%x: %s) storage failed. Expected %x, got %x (%v %v)\n " , name , obj .Address ()[0 :4 ], addr , vexp , v , ethutil .BigD (vexp ), ethutil .BigD (v ))
161+ fmt .Printf ("FAIL: %s's : (%x: %s) storage failed. Expected %x, got %x (%v %v)\n " , name , obj .Address ()[0 :4 ], addr , vexp , v , ethutil .BigD (vexp ), ethutil .BigD (v ))
162162 failed = 1
163163 }
164164 }
165165 }
166166
167167 if ! bytes .Equal (ethutil .Hex2Bytes (test .PostStateRoot ), statedb .Root ()) {
168- fmt .Printf ("%s's : Post state root error. Expected %s, got %x\n " , name , test .PostStateRoot , statedb .Root ())
168+ fmt .Printf ("FAIL: %s's : Post state root error. Expected %s, got %x\n " , name , test .PostStateRoot , statedb .Root ())
169169 failed = 1
170170 }
171171
172172 if len (test .Logs ) > 0 {
173173 if len (test .Logs ) != len (logs ) {
174- fmt .Printf ("log length mismatch. Expected %d, got %d" , len (test .Logs ), len (logs ))
174+ fmt .Printf ("FAIL: log length mismatch. Expected %d, got %d" , len (test .Logs ), len (logs ))
175175 failed = 1
176176 } else {
177177 /*
0 commit comments