diff options
author | Martin Peres <martin.peres@linux.intel.com> | 2015-07-20 14:20:45 +0300 |
---|---|---|
committer | Martin Peres <martin.peres@linux.intel.com> | 2015-07-20 14:20:45 +0300 |
commit | 12aa3ee72b932ca989184e147119bf0d80fcb1a7 (patch) | |
tree | 150e630dade9d1306aa1da372f9fc2bf3ed73907 /ezbench.sh | |
parent | 3c398236d9fba66f2bf12e017cf551b8cab0c141 (diff) |
core: switch to the finish date instead of just the execution time
Diffstat (limited to 'ezbench.sh')
-rwxr-xr-x | ezbench.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -170,7 +170,8 @@ echo num_commits=$lastNCommits [ -n "$stash" ] && num_commits=$(($num_commits + 1)) secs=$(( ($total_round_time * $rounds + $avgBuildTime) * $num_commits)) -printf "Estimated run time: %02dh:%02dm:%02ds\n\n" $(($secs/3600)) $(($secs%3600/60)) $(($secs%60)) +finishDate=$(date +"%y-%m-%d - %T" --date="$secs seconds") +printf "Estimated finish date: $finishDate (%02dh:%02dm:%02ds)\n\n" $(($secs/3600)) $(($secs%3600/60)) $(($secs%60)) startTime=`date +%s` # Execute the user-defined pre hook |