summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2014-05-30 19:18:25 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2014-05-30 19:18:25 +0200
commit91a6f32eec508465e7ffafa6b3fef3bb59c719c0 (patch)
tree850140b5edd120ac4bc24a56a3fc4f6d997663b6
parent1f6cf9e79742ea8e328ef2225b2f5217a9440216 (diff)
show current/total testcase statistic also in concise mode
Git-Dch: Ignore
-rwxr-xr-xtest/integration/run-tests2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/run-tests b/test/integration/run-tests
index d700cc3fc..d39daeee5 100755
--- a/test/integration/run-tests
+++ b/test/integration/run-tests
@@ -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