From: Stefano Lattarini Date: Thu, 26 Jul 2012 08:45:43 +0000 (+0200) Subject: tests: remove an obsolescent self test X-Git-Tag: v1.12.3~31^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=253e3eb74d8dabe3eb5c9b2b09dab00e319a6caf;p=thirdparty%2Fautomake.git tests: remove an obsolescent self test * 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 --- diff --git a/t/list-of-tests.mk b/t/list-of-tests.mk index 77466332d..10f1e9482 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 47def711f..000000000 --- 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 . - -# 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 - -: