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
 max_njobs=$(grep -c ^processor /proc/cpuinfo)
 njobs=0
 
+set +e
+
 for t in *; do
     [ -x $t ] || continue
     [ -f $t ] || continue
@@ -80,6 +82,14 @@ passed=$(grep -c PASS ${LOG})
 failed=$(grep -c FAIL ${LOG})
 total=$(expr ${passed} + ${failed} + ${skipped})
 
+if [ ${failed} -ne 0 ]; then
+    echo
+    echo "Tests failed for gnutls, log is:"
+    echo "--------------------"
+    cat ${LOG}
+    echo
+fi
+
 echo
 echo "gnutls test summary:"
 echo "--------------------"
