xfs
[Top] [All Lists]

[PATCH 2/2] Show duration of current test

To: xfs@xxxxxxxxxxx
Subject: [PATCH 2/2] Show duration of current test
From: Lukas Czerner <lczerner@xxxxxxxxxx>
Date: Thu, 8 Jul 2010 17:23:52 +0200
Cc: esandeen@xxxxxxxxxx, lczerner@xxxxxxxxxx
In-reply-to: <1278602632-12425-1-git-send-email-lczerner@xxxxxxxxxx>
References: <1278602632-12425-1-git-send-email-lczerner@xxxxxxxxxx>
It may be useful to compare both times, last and current, in the
xfstests output.

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
-- 
1.7.1.1

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