control: stdout the error count

This commit is contained in:
Gyu-Ho Lee 2016-11-09 11:53:57 -08:00
parent 8b08d89b4e
commit 0df9741855
No known key found for this signature in database
GPG Key ID: 1DDD39C7EB70C24C
1 changed files with 1 additions and 2 deletions

View File

@ -119,10 +119,9 @@ func (r *report) print() {
r.printSecondSample()
}
fmt.Println("ERROR COUNT:", len(r.errorDist))
if len(r.errorDist) > 0 {
r.printErrors()
} else {
plog.Println("no error in benchmarks")
}
}