* t/self-check-tap.sh: This. The recent reorganization and code moving between 'test-defs.sh' and 'test-lib.sh' has made it brittle and prone to failures. Since the usefulness of this self check is extremely limited, it's not worth trying to fix it. Just remove it. * t/list-of-tests.mk: Adjust.
Signed-off-by: Stefano Lattarini <stefano.lattar...@gmail.com> --- t/list-of-tests.mk | 1 - t/self-check-tap.sh | 45 --------------------------------------------- 2 files changed, 46 deletions(-) delete mode 100755 t/self-check-tap.sh diff --git a/t/list-of-tests.mk b/t/list-of-tests.mk index 7746633..10f1e94 100644 --- a/t/list-of-tests.mk +++ b/t/list-of-tests.mk @@ -962,7 +962,6 @@ t/self-check-me.tap \ t/self-check-report.sh \ t/self-check-seq.tap \ t/self-check-is-blocked-signal.tap \ -t/self-check-tap.sh \ t/self-check-unindent.tap \ t/sanity.sh \ t/scripts.sh \ diff --git a/t/self-check-tap.sh b/t/self-check-tap.sh deleted file mode 100755 index 47def71..0000000 --- a/t/self-check-tap.sh +++ /dev/null @@ -1,45 +0,0 @@ -#! /bin/sh -# Copyright (C) 2011-2012 Free Software Foundation, Inc. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. - -# Sanity check for the automake testsuite. -# Make sure that '$am_test_protocol' gets automatically defined by -# 'test-defs.sh', but can be overridden by the individual tests. - -. test-defs.sh - -set -ex - -$AM_TEST_RUNNER_SHELL -c \ - ". test-defs.sh && test \$am_test_protocol = tap" foo.tap - -for name in foo.test tap tap.test foo-tap; do - $AM_TEST_RUNNER_SHELL -c \ - ". test-defs.sh && test \$am_test_protocol = none" $name -done - -$AM_TEST_RUNNER_SHELL -c " - am_test_protocol=none - . test-defs.sh - test \$am_test_protocol = none -" foo.tap - -$AM_TEST_RUNNER_SHELL -c " - am_test_protocol=tap - . test-defs.sh - test \$am_test_protocol = tap -" foo.test - -: -- 1.7.12.rc0