Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Now measure time spent in setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
marccarre committed Jan 9, 2017
1 parent 71180f9 commit 89e1169
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

set -e

begin=$(date +%s)
cd "$(dirname "${BASH_SOURCE[0]}")"

. "$(dirname "$0")/config.sh"
Expand Down Expand Up @@ -59,4 +60,4 @@ for ppid in $ppids; do
wait $ppid;
done

echo "Setup completed successfully."
echo "Setup completed successfully in $(date -u -d @$(($(date +%s)-$begin)) +"%T")."

0 comments on commit 89e1169

Please sign in to comment.