[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Arch Linux: fix typo, calculate percentage corretly
Holger Levsen
holger at layer-acht.org
Fri Nov 24 15:45:02 UTC 2017
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 6fdbd3af6bca9edb0f3b5dced819fe0ddb083469
Author: Holger Levsen <holger at layer-acht.org>
Date: Fri Nov 24 15:44:58 2017 +0000
reproducible Arch Linux: fix typo, calculate percentage corretly
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/reproducible_html_archlinux.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh
index 561a2cf..1c21a37 100755
--- a/bin/reproducible_html_archlinux.sh
+++ b/bin/reproducible_html_archlinux.sh
@@ -204,11 +204,11 @@ else
NR_TESTED=$ARCHLINUX_TESTED
fi
echo " <tr>" >> $HTML_REPOSTATS
-echo " <td><i>totals</i></td><td>$NR_TESTED</td>" >> $HTML_REPOSTATS
+echo " <td><b>all combined</b></td><td>$NR_TESTED</td>" >> $HTML_REPOSTATS
for i in $ARCHLINUX_NR_GOOD $ARCHLINUX_NR_FTBR $ARCHLINUX_NR_FTBFS $ARCHLINUX_NR_DEPWAIT $ARCHLINUX_NR_404 $ARCHLINUX_NR_UNKNOWN ; do
PERCENT_i=$(echo "scale=1 ; ($i*100/$ARCHLINUX_TESTED)" | bc)
- if [ "$ARCHLINUX_PERCENT_i" != "0" ] ; then
- echo " <td>$i ($ARCHLINUX_PERCENT_i%)</td>" >> $HTML_REPOSTATS
+ if [ "$PERCENT_i" != "0" ] ; then
+ echo " <td>$i ($PERCENT_i%)</td>" >> $HTML_REPOSTATS
else
echo " <td>$i</td>" >> $HTML_REPOSTATS
fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list