]> git.saurik.com Git - apt.git/commitdiff
show current/total testcase statistic also in concise mode
authorDavid Kalnischkies <david@kalnischkies.de>
Fri, 30 May 2014 17:18:25 +0000 (19:18 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Fri, 30 May 2014 17:18:25 +0000 (19:18 +0200)
Git-Dch: Ignore

test/integration/run-tests

index d700cc3fcd1cfd28b1ea6f74cb4ca9073341074c..d39daeee59d8c24543206bac9b35693d97945c68 100755 (executable)
@@ -39,7 +39,7 @@ fi
 TOTAL="$(run-parts --list $DIR | grep '/test-' | wc -l)"
 for testcase in $(run-parts --list $DIR | grep '/test-'); do
        if [ "$MSGLEVEL" -le 2 ]; then
-               echo -n "${CTEST}Testcase ${CHIGH}$(basename ${testcase})${CRESET}: "
+               echo -n "($(($ALL+1))/${TOTAL}) ${CTEST}Testcase ${CHIGH}$(basename ${testcase})${CRESET}: "
        else
                echo "${CTEST}Run Testcase ($(($ALL+1))/${TOTAL}) ${CHIGH}$(basename ${testcase})${CRESET}"
        fi