From: Jérémie Galarneau Date: Thu, 30 Jun 2016 20:37:57 +0000 (-0400) Subject: Tests: tap.sh spams tests' output when no plan is set X-Git-Tag: v2.9.0-rc1~107 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=004b006c3c3717ea567756678550d150c662c7a2;p=lttng-tools.git Tests: tap.sh spams tests' output when no plan is set Some tests are implemented in C (using tap.h) or in Python and don't use tap.sh's facilities. However, it is sourced by utils.sh and prints an error message during its clean-up because a plan was never set. Signed-off-by: Jérémie Galarneau --- diff --git a/tests/utils/tap/tap.sh b/tests/utils/tap/tap.sh index 24ac1aa25..2acec57d4 100755 --- a/tests/utils/tap/tap.sh +++ b/tests/utils/tap/tap.sh @@ -392,11 +392,6 @@ 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