Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(274)

Issue 3050047: fix print of total elapsed time (Closed)

Created:
10 years, 4 months ago by Olof Johansson
Modified:
9 years, 7 months ago
CC:
chromium-os-reviews_chromium.org, anush, sosa, Mandeep Singh Baines
Visibility:
Public.

Description

fix print of total elapsed time BUG=none TEST=run build_image, happen to finish on a time with less than 10 seconds in it, watch the missing 0-padding

Patch Set 1 #

Total comments: 1

Patch Set 2 : fixed long line #

Total comments: 1

Patch Set 3 : third time's a charm #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M common.sh View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Olof Johansson
10 years, 4 months ago (2010-08-09 03:54:05 UTC) #1
Mandeep Singh Baines
http://codereview.chromium.org/3050047/diff/1/2 File common.sh (right): http://codereview.chromium.org/3050047/diff/1/2#newcode455 common.sh:455: printf "Elapsed time: %d:%02d\n" $(( $elapsed_seconds / 60 )) ...
10 years, 4 months ago (2010-08-09 14:34:59 UTC) #2
Olof Johansson
On 2010/08/09 14:34:59, Mandeep Singh Baines wrote: > This exceeds 80-column. Silly me. PTAL.
10 years, 4 months ago (2010-08-09 18:15:30 UTC) #3
davidjames
LGTM w/comment http://codereview.chromium.org/3050047/diff/3002/5001 File common.sh (right): http://codereview.chromium.org/3050047/diff/3002/5001#newcode455 common.sh:455: printf "Elapsed time: %d:%02d\n" $(( $elapsed_seconds / ...
10 years, 4 months ago (2010-08-09 19:00:47 UTC) #4
Olof Johansson
10 years, 4 months ago (2010-08-09 21:05:41 UTC) #5
Alright, based on that I did the minimal change; just changed : to m/s and
pushing that, not using printf.

Powered by Google App Engine
This is Rietveld 408576698