From 07cb4fbcfe36a3e16a5ec65ae4469759032fc643 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 21 Oct 2009 20:00:11 +0200 Subject: [PATCH] add timing information for ikiwikiruns Signed-off-by: Nico Schottelius --- ikiwikitest.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ikiwikitest.sh b/ikiwikitest.sh index d9187d7..2224020 100755 --- a/ikiwikitest.sh +++ b/ikiwikitest.sh @@ -4,6 +4,7 @@ BDIR=~/b/ikiwiki ( cd "${BDIR}" && git describe ) +START="$(date)" PERL5LIB=${BDIR} ${BDIR}/ikiwiki.in \ --libdir ${BDIR} \ --templatedir ${BDIR}/templates \ @@ -11,4 +12,6 @@ PERL5LIB=${BDIR} ${BDIR}/ikiwiki.in \ -set underlaydirbase=${BDIR}/underlays \ --setup ikiwiki.setup \ "$@" -echo ikiwiki result: $? +ret=$? +END="$(date)" +echo ${START} - ${END}: ikiwiki result: $?