summaryrefslogtreecommitdiff
blob: 9c6052ee7d73a7e7bc7aead27ca75ff6809365bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Do not count skipped tests as failed (bug #642366)
--- tests/run_tests.sh.orig	2017-12-28 16:40:57.657366187 +0100
+++ tests/run_tests.sh	2017-12-28 16:42:57.183392063 +0100
@@ -842,8 +842,9 @@
 show_sep
 echo "Passed $pass, failed $fail, skipped $skip out of $tot tests."
 
+sum=`expr $skip + $pass`
 rc=0
-if test $pass -ne $tot ; then
+if test $sum -ne $tot ; then
     rc=1
 fi