diff options
Diffstat (limited to 'meta/recipes-support/gnutls')
-rw-r--r-- | meta/recipes-support/gnutls/gnutls/run-ptest | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-support/gnutls/gnutls/run-ptest b/meta/recipes-support/gnutls/gnutls/run-ptest index 84948f487d..17e26eae70 100644 --- a/meta/recipes-support/gnutls/gnutls/run-ptest +++ b/meta/recipes-support/gnutls/gnutls/run-ptest | |||
@@ -58,6 +58,8 @@ cd tests | |||
58 | max_njobs=$(grep -c ^processor /proc/cpuinfo) | 58 | max_njobs=$(grep -c ^processor /proc/cpuinfo) |
59 | njobs=0 | 59 | njobs=0 |
60 | 60 | ||
61 | set +e | ||
62 | |||
61 | for t in *; do | 63 | for t in *; do |
62 | [ -x $t ] || continue | 64 | [ -x $t ] || continue |
63 | [ -f $t ] || continue | 65 | [ -f $t ] || continue |
@@ -80,6 +82,14 @@ passed=$(grep -c PASS ${LOG}) | |||
80 | failed=$(grep -c FAIL ${LOG}) | 82 | failed=$(grep -c FAIL ${LOG}) |
81 | total=$(expr ${passed} + ${failed} + ${skipped}) | 83 | total=$(expr ${passed} + ${failed} + ${skipped}) |
82 | 84 | ||
85 | if [ ${failed} -ne 0 ]; then | ||
86 | echo | ||
87 | echo "Tests failed for gnutls, log is:" | ||
88 | echo "--------------------" | ||
89 | cat ${LOG} | ||
90 | echo | ||
91 | fi | ||
92 | |||
83 | echo | 93 | echo |
84 | echo "gnutls test summary:" | 94 | echo "gnutls test summary:" |
85 | echo "--------------------" | 95 | echo "--------------------" |