cmd/testwrapper: print unit for package duration (#19663)
Include the unit (s) when printing the time taken to test each package. Updates #cleanup Signed-off-by: Tom Proctor <tomhjp@users.noreply.github.com>
This commit is contained in:
@@ -267,7 +267,7 @@ func main() {
|
|||||||
if cached {
|
if cached {
|
||||||
lastCol = "(cached)"
|
lastCol = "(cached)"
|
||||||
} else {
|
} else {
|
||||||
lastCol = fmt.Sprintf("%.3f", testDur.Seconds())
|
lastCol = fmt.Sprintf("%.3fs", testDur.Seconds())
|
||||||
}
|
}
|
||||||
fmt.Printf("%s\t%s\t%v\n", outcome, pkg, lastCol)
|
fmt.Printf("%s\t%s\t%v\n", outcome, pkg, lastCol)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user