From e06994145e660e84f412ce24857bc28cfd1bf925 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Thu, 30 Jun 2016 16:37:57 -0400 Subject: [PATCH] Tests: tap.sh spams tests' output when no plan is set MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- tests/utils/tap/tap.sh | 5 ----- 1 file changed, 5 deletions(-) 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 -- 2.34.1