xfs
[Top] [All Lists]

Re: [PATCH 2/2] Show duration of current test

To: Lukas Czerner <lczerner@xxxxxxxxxx>
Subject: Re: [PATCH 2/2] Show duration of current test
From: Alex Elder <aelder@xxxxxxx>
Date: Fri, 09 Jul 2010 08:21:44 -0500
Cc: xfs@xxxxxxxxxxx, esandeen@xxxxxxxxxx
In-reply-to: <1278602632-12425-2-git-send-email-lczerner@xxxxxxxxxx>
References: <1278602632-12425-1-git-send-email-lczerner@xxxxxxxxxx> <1278602632-12425-2-git-send-email-lczerner@xxxxxxxxxx>
Reply-to: aelder@xxxxxxx
On Thu, 2010-07-08 at 17:23 +0200, Lukas Czerner wrote:
> It may be useful to compare both times, last and current, in the
> xfstests output.

This one looks good.

Signed-off-by: Alex Elder <aelder@xxxxxxx>

> Signed-off-by: Lukas Czerner <lczerner@xxxxxxxxxx>
> ---
>  check |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/check b/check
> index 560ac7b..f792009 100755
> --- a/check
> +++ b/check
> @@ -275,13 +275,14 @@ do
>           else
>               if diff $seq.out $tmp.out >/dev/null 2>&1
>               then
> -                 echo ""
>                   if $err
>                   then
>                       :
>                   else
>                       echo "$seq `expr $stop - $start`" >>$tmp.time
> +                     echo -n " `expr $stop - $start`s"
>                   fi
> +                 echo ""
>               else
>                   echo " - output mismatch (see $seq.out.bad)"
>                   mv $tmp.out $seq.out.bad



<Prev in Thread] Current Thread [Next in Thread>