summaryrefslogtreecommitdiff
path: root/test/integration/run-tests
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-05-27 14:09:48 +0200
committerMichael Vogt <mvo@debian.org>2014-05-27 14:09:48 +0200
commit9518b448743e9030d854fcbb104516dd5ba648f6 (patch)
tree4e4b234c82b24d6b7ab00bc31c1e974b3ac12320 /test/integration/run-tests
parent98c934f2723d63d00908803ad47ab1359081ec2d (diff)
parentbc1c9081e826c2c7f265f23d388ba868d5011f6a (diff)
Merge remote-tracking branch 'upstream/debian/sid' into debian/sid
Diffstat (limited to 'test/integration/run-tests')
-rwxr-xr-xtest/integration/run-tests3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/integration/run-tests b/test/integration/run-tests
index 79d5d1a29..d700cc3fc 100755
--- a/test/integration/run-tests
+++ b/test/integration/run-tests
@@ -36,11 +36,12 @@ else
CRESET=''
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}: "
else
- echo "${CTEST}Run Testcase ${CHIGH}$(basename ${testcase})${CRESET}"
+ echo "${CTEST}Run Testcase ($(($ALL+1))/${TOTAL}) ${CHIGH}$(basename ${testcase})${CRESET}"
fi
if ! ${testcase}; then
FAIL=$((FAIL+1))