HCoop
/
ntk
/
apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41a658f
)
show progress in run-tests
author
Michael Vogt
<mvo@debian.org>
Wed, 7 May 2014 19:03:45 +0000
(21:03 +0200)
committer
Michael Vogt
<mvo@debian.org>
Wed, 7 May 2014 19:03:45 +0000
(21:03 +0200)
test/integration/run-tests
patch
|
blob
|
blame
|
history
diff --git
a/test/integration/run-tests
b/test/integration/run-tests
index
79d5d1a
..
d700cc3
100755
(executable)
--- 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))