]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test: Output elapse time for each script for information
authorDavid Zafman <dzafman@redhat.com>
Wed, 10 Apr 2019 04:33:42 +0000 (21:33 -0700)
committerDavid Zafman <dzafman@redhat.com>
Wed, 10 Apr 2019 15:21:35 +0000 (08:21 -0700)
Signed-off-by: David Zafman <dzafman@redhat.com>
qa/run-standalone.sh

index 4a7a00546c5971426d182623db6e41d5c99e15c7..92cca83ce7fd41564693221dae8fd0dae04eeb3c 100755 (executable)
@@ -135,7 +135,7 @@ do
            CEPH_ROOT=.. \
            CEPH_LIB=lib \
            LOCALRUN=yes \
-           $cmd ; then
+           time -f "Elapsed %E (%e seconds)" $cmd ; then
           echo "$f .............. FAILED"
           errors=$(expr $errors + 1)
         fi