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