patch/tests/Makefile.am
Andreas Gruenbacher 910fecf695 Add missing feature tests to the test suite
Check for chmod, hardlink, symlink, and special character support to
prevent test suite failures in feature constrained environments.

Thanks to Bruno Haible and Nelson H. F. Beebe for their testing and
analysis.

* tests/test-lib.sh: Add new feature tests.
* tests/hardlinks: Split this hardlinks related test off from
tests/remember-backup-files.
* tests/Makefile.am (TESTS): Add new hardlinks test here.
* tests/file-create-modes, tests/file-modes, tests/read-only-files,
tests/preserve-mode-and-timestamp, tests/no-mode-change-git-diff: These
tests require chmod support.
* tests/hardlinks, tests/unmodified-files: These tests require hardlink
support.
* tests/symlinks: This test requires symlink support.
* tests/quoted-filenames: This test requires special character support
in filenames.
2024-11-11 22:21:27 +01:00

81 lines
1.8 KiB
Makefile

# Copyright 1989-2024 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 3 of the License, 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/>.
## Process this file with automake to produce Makefile.in.
TESTS = \
asymmetric-hunks \
backup-prefix-suffix \
bad-filenames \
bad-usage \
concat-git-diff \
context-format \
copy-rename \
corrupt-patch \
corrupt-reject-files \
create-delete \
create-directory \
criss-cross \
crlf-handling \
dash-o-append \
deep-directories \
ed-style \
empty-files \
false-match \
fifo \
file-create-modes \
file-modes \
filename-choice \
git-binary-diff \
git-cleanup \
garbage \
global-reject-files \
hardlinks \
inname \
line-numbers \
merge \
mangled-numbers-abort \
mixed-patch-types \
munged-context-format \
need-filename \
no-mode-change-git-diff \
no-newline-triggers-assert \
preserve-c-function-names \
preserve-mode-and-timestamp \
quoted-filenames \
read-only-files \
reject-format \
remember-backup-files \
remember-reject-files \
remove-directories \
symlinks \
unmodified-files \
unusual-blanks
XFAIL_TESTS = \
dash-o-append \
context-format
EXTRA_DIST = \
$(TESTS) \
test-lib.sh
TESTS_ENVIRONMENT = \
abs_top_builddir=$(abs_top_builddir); \
export abs_top_builddir;
LOG_COMPILER = \
$(SHELL)