[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 30/32] tests: remove an obsolescent self test
From: |
Stefano Lattarini |
Subject: |
[PATCH 30/32] tests: remove an obsolescent self test |
Date: |
Thu, 26 Jul 2012 14:04:56 +0200 |
* 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 <address@hidden>
---
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
- [PATCH 23/32] tests: split test libs into "generic" and "automake-specific", (continued)
- [PATCH 23/32] tests: split test libs into "generic" and "automake-specific", Stefano Lattarini, 2012/07/26
- [PATCH 27/32] configure: testsuite shell can return early from "dot-sourced" files, Stefano Lattarini, 2012/07/26
- [PATCH 25/32] tests: source test defs in the generic test lib, Stefano Lattarini, 2012/07/26
- [PATCH 22/32] test setup: move actual calling of testsuite setup in ./defs, Stefano Lattarini, 2012/07/26
- [PATCH 26/32] tests: move sanitization and "Bournification" in the generic test lib, Stefano Lattarini, 2012/07/26
- [PATCH 24/32] test defs: no need to re-add $srcdir/t/ax to $PATH, Stefano Lattarini, 2012/07/26
- [PATCH 20/32] test init: refactor: new function 'am_test_setup', Stefano Lattarini, 2012/07/26
- [PATCH 28/32] tests: protect test libs against multiple inclusion, Stefano Lattarini, 2012/07/26
- [PATCH 29/32] tests: "am_using_tap=yes" -> "am_test_protocol=tap", Stefano Lattarini, 2012/07/26
- [PATCH 31/32] runtest: sanitize test environment, Stefano Lattarini, 2012/07/26
- [PATCH 30/32] tests: remove an obsolescent self test,
Stefano Lattarini <=
- [PATCH 32/32] tests: never source test-defs.sh directly, source test-lib.sh instead, Stefano Lattarini, 2012/07/26
- [PATCH 33/32] maintcheck: fixup list of files in $(xdefs), Stefano Lattarini, 2012/07/26
- Re: [PATCH 00/32] {maint} Several testsuite refactorings, Stefano Lattarini, 2012/07/26