X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Futils%2Ftap%2Ftap.sh;h=4b51106c013273aee268342734446f5c43f2aabe;hb=7d46777ba0eaba7916ae822a7133f39740cdf9e5;hp=109cc8e4ce5bc4ebba3af6f8f9c669b2c26f8365;hpb=9d16b343fb9e781fc8d8fa3c448a3f382306dd33;p=lttng-tools.git diff --git a/tests/utils/tap/tap.sh b/tests/utils/tap/tap.sh index 109cc8e4c..4b51106c0 100755 --- a/tests/utils/tap/tap.sh +++ b/tests/utils/tap/tap.sh @@ -381,6 +381,11 @@ BAIL_OUT(){ _cleanup(){ local rc=0 + if (( _plan_set == 0 )) ; then + diag "Looks like your test died before it could output anything." + return $rc + fi + if (( _test_died != 0 )) ; then diag "Looks like your test died just after $_executed_tests." return $rc