Plus some other preparatory, follow-up or "while-at-it" changes. After this, "make syntax-check" and "make distcheck" still pass on my Debian box.
This completes the first important part of the "de-recursion" of the coreutils build system: the compilation of the programs, the creation of Texinfo documentation and manpages, and the testsuite are now all controlled by one top-level Makefile. The next step would be de-recursing the gnulib-imported 'lib/' and 'gnulib-tests/' subdirectories, but I'll leave that to someone else ;-) Regards, Stefano -*-*-*- Stefano Lattarini (17): build: use 'check-local' to extend the 'check' target maint: avoid parsing of Makefile.am from vc_exe_in_TESTS maint: remove useless dependency for vc_exe_in_TESTS maint: make vc_exe_in_TESTS also work in VPATH builds tests: use suffix, not exec-bit, to tell which files are tests tests: remove the unused 'root-hint' target maint: remove duplicated declaration of the 'sc_check-AUTHORS' target maint: remove anachronistic syntax-check maint: list of names of built programs available in the Makefiles build: don't use recursive make fore 'tests' subdirectory tests: put test-suite.log back in 'tests/' build: remove two now-useless convenience targets maint: vc_exe_in_TESTS should actually be a syntax check maint: avoid a spurious syntax-check error maint: fix syntax checks 'sc_root_tests' tests: more resilient about tainted absolute srcdir path maint: fix a spurious syntax-check failure Makefile.am | 8 +- cfg.mk | 48 +- configure.ac | 3 +- tests/init.cfg => init.cfg | 7 +- src/local.mk | 12 +- tests/Coreutils.pm | 6 +- tests/Makefile.am | 821 --------------------------- tests/chgrp/basic.sh | 2 +- tests/chgrp/default-no-deref.sh | 2 +- tests/chgrp/deref.sh | 2 +- tests/chgrp/no-x.sh | 2 +- tests/chgrp/posix-H.sh | 2 +- tests/chgrp/recurse.sh | 2 +- tests/chmod/c-option.sh | 2 +- tests/chmod/equal-x.sh | 2 +- tests/chmod/equals.sh | 2 +- tests/chmod/inaccessible.sh | 2 +- tests/chmod/no-x.sh | 2 +- tests/chmod/octal.sh | 2 +- tests/chmod/setgid.sh | 2 +- tests/chmod/silent.sh | 2 +- tests/chmod/thru-dangling.sh | 2 +- tests/chmod/umask-x.sh | 2 +- tests/chmod/usage.sh | 2 +- tests/chown/basic.sh | 2 +- tests/chown/deref.sh | 2 +- tests/chown/preserve-root.sh | 2 +- tests/chown/separator.sh | 2 +- tests/cp/abuse.sh | 2 +- tests/cp/acl.sh | 2 +- tests/cp/attr-existing.sh | 2 +- tests/cp/backup-1.sh | 2 +- tests/cp/backup-dir.sh | 2 +- tests/cp/backup-is-src.sh | 2 +- tests/cp/capability.sh | 2 +- tests/cp/cp-HL.sh | 2 +- tests/cp/cp-a-selinux.sh | 2 +- tests/cp/cp-deref.sh | 2 +- tests/cp/cp-i.sh | 2 +- tests/cp/cp-mv-backup.sh | 2 +- tests/cp/cp-mv-enotsup-xattr.sh | 2 +- tests/cp/cp-parents.sh | 2 +- tests/cp/deref-slink.sh | 2 +- tests/cp/dir-rm-dest.sh | 2 +- tests/cp/dir-slash.sh | 2 +- tests/cp/dir-vs-file.sh | 2 +- tests/cp/existing-perm-dir.sh | 2 +- tests/cp/existing-perm-race.sh | 2 +- tests/cp/fail-perm.sh | 2 +- tests/cp/fiemap-2.sh | 2 +- tests/cp/fiemap-empty.sh | 2 +- tests/cp/fiemap-perf.sh | 2 +- tests/cp/file-perm-race.sh | 2 +- tests/cp/into-self.sh | 2 +- tests/cp/link-heap.sh | 2 +- tests/cp/link-no-deref.sh | 2 +- tests/cp/link-preserve.sh | 2 +- tests/cp/link-symlink.sh | 2 +- tests/cp/link.sh | 2 +- tests/cp/nfs-removal-race.sh | 2 +- tests/cp/no-deref-link1.sh | 2 +- tests/cp/no-deref-link2.sh | 2 +- tests/cp/no-deref-link3.sh | 2 +- tests/cp/parent-perm-race.sh | 2 +- tests/cp/parent-perm.sh | 2 +- tests/cp/perm.sh | 2 +- tests/cp/preserve-2.sh | 2 +- tests/cp/preserve-gid.sh | 2 +- tests/cp/preserve-link.sh | 2 +- tests/cp/preserve-slink-time.sh | 2 +- tests/cp/proc-short-read.sh | 2 +- tests/cp/proc-zero-len.sh | 2 +- tests/cp/r-vs-symlink.sh | 2 +- tests/cp/reflink-auto.sh | 4 +- tests/cp/reflink-perm.sh | 2 +- tests/cp/same-file.sh | 2 +- tests/cp/slink-2-slink.sh | 2 +- tests/cp/sparse-fiemap.sh | 4 +- tests/cp/sparse-to-pipe.sh | 2 +- tests/cp/sparse.sh | 2 +- tests/cp/special-bits.sh | 2 +- tests/cp/special-f.sh | 2 +- tests/cp/src-base-dot.sh | 2 +- tests/cp/symlink-slash.sh | 2 +- tests/cp/thru-dangling.sh | 2 +- tests/dd/bytes.sh | 2 +- tests/dd/direct.sh | 2 +- tests/dd/misc.sh | 2 +- tests/dd/nocache.sh | 2 +- tests/dd/not-rewound.sh | 2 +- tests/dd/reblock.sh | 2 +- tests/dd/skip-seek-past-dev.sh | 2 +- tests/dd/skip-seek-past-file.sh | 2 +- tests/dd/skip-seek2.sh | 2 +- tests/dd/sparse.sh | 2 +- tests/dd/stderr.sh | 2 +- tests/dd/unblock-sync.sh | 2 +- tests/df/df-P.sh | 2 +- tests/df/header.sh | 2 +- tests/df/no-mtab-status.sh | 2 +- tests/df/problematic-chars.sh | 2 +- tests/df/total-unprocessed.sh | 2 +- tests/df/total-verify.sh | 2 +- tests/df/unreadable.sh | 2 +- tests/du/2g.sh | 2 +- tests/du/8gb.sh | 2 +- tests/du/basic.sh | 2 +- tests/du/bigtime.sh | 2 +- tests/du/bind-mount-dir-cycle.sh | 2 +- tests/du/deref-args.sh | 2 +- tests/du/deref.sh | 2 +- tests/du/exclude.sh | 2 +- tests/du/fd-leak.sh | 2 +- tests/du/files0-from-dir.sh | 2 +- tests/du/hard-link.sh | 2 +- tests/du/inacc-dest.sh | 2 +- tests/du/inacc-dir.sh | 2 +- tests/du/inaccessible-cwd.sh | 2 +- tests/du/long-from-unreadable.sh | 2 +- tests/du/long-sloop.sh | 2 +- tests/du/max-depth.sh | 2 +- tests/du/move-dir-while-traversing.sh | 2 +- tests/du/no-deref.sh | 2 +- tests/du/no-x.sh | 2 +- tests/du/one-file-system.sh | 4 +- tests/du/restore-wd.sh | 2 +- tests/du/slash.sh | 2 +- tests/du/slink.sh | 2 +- tests/du/trailing-slash.sh | 2 +- tests/du/two-args.sh | 2 +- tests/fmt/goal-option.sh | 2 +- tests/fmt/long-line.sh | 2 +- tests/id/gnu-zero-uids.sh | 2 +- tests/id/no-context.sh | 2 +- tests/install/basic-1.sh | 2 +- tests/install/create-leading.sh | 2 +- tests/install/d-slashdot.sh | 2 +- tests/install/install-C-root.sh | 2 +- tests/install/install-C-selinux.sh | 2 +- tests/install/install-C.sh | 2 +- tests/install/strip-program.sh | 2 +- tests/install/trap.sh | 2 +- tests/ln/backup-1.sh | 2 +- tests/ln/hard-backup.sh | 2 +- tests/ln/hard-to-sym.sh | 2 +- tests/ln/misc.sh | 2 +- tests/ln/relative.sh | 2 +- tests/ln/sf-1.sh | 2 +- tests/ln/slash-decorated-nonexistent-dest.sh | 2 +- tests/ln/target-1.sh | 2 +- tests/local.mk | 786 +++++++++++++++++++++++++ tests/ls/abmon-align.sh | 2 +- tests/ls/block-size.sh | 2 +- tests/ls/capability.sh | 2 +- tests/ls/color-clear-to-eol.sh | 2 +- tests/ls/color-dtype-dir.sh | 2 +- tests/ls/color-norm.sh | 2 +- tests/ls/dangle.sh | 2 +- tests/ls/dired.sh | 2 +- tests/ls/file-type.sh | 2 +- tests/ls/follow-slink.sh | 2 +- tests/ls/getxattr-speedup.sh | 2 +- tests/ls/infloop.sh | 2 +- tests/ls/inode.sh | 2 +- tests/ls/m-option.sh | 2 +- tests/ls/multihardlink.sh | 2 +- tests/ls/nameless-uid.sh | 2 +- tests/ls/no-arg.sh | 2 +- tests/ls/no-cap.sh | 2 +- tests/ls/proc-selinux-segfault.sh | 2 +- tests/ls/readdir-mountpoint-inode.sh | 2 +- tests/ls/recursive.sh | 2 +- tests/ls/root-rel-symlink-color.sh | 2 +- tests/ls/rt-1.sh | 2 +- tests/ls/slink-acl.sh | 2 +- tests/ls/stat-dtype.sh | 2 +- tests/ls/stat-failed.sh | 2 +- tests/ls/stat-free-color.sh | 2 +- tests/ls/stat-free-symlinks.sh | 2 +- tests/ls/stat-vs-dirent.sh | 2 +- tests/ls/symlink-slash.sh | 2 +- tests/ls/time-style-diag.sh | 2 +- tests/ls/x-option.sh | 2 +- tests/misc/arch.sh | 2 +- tests/misc/cat-buf.sh | 2 +- tests/misc/cat-proc.sh | 2 +- tests/misc/chcon-fail.sh | 2 +- tests/misc/chcon.sh | 2 +- tests/misc/chroot-credentials.sh | 2 +- tests/misc/chroot-fail.sh | 2 +- tests/misc/close-stdout.sh | 2 +- tests/misc/csplit-1000.sh | 2 +- tests/misc/csplit-heap.sh | 2 +- tests/misc/csplit.sh | 2 +- tests/misc/date-sec.sh | 2 +- tests/misc/env-null.sh | 2 +- tests/misc/env.sh | 2 +- tests/misc/false-status.sh | 2 +- tests/misc/groups-dash.sh | 2 +- tests/misc/groups-version.sh | 2 +- tests/misc/head-c.sh | 2 +- tests/misc/head-pos.sh | 2 +- tests/misc/help-version.sh | 2 +- tests/misc/id-context.sh | 2 +- tests/misc/id-groups.sh | 2 +- tests/misc/id-setgid.sh | 2 +- tests/misc/ls-time.sh | 2 +- tests/misc/md5sum-bsd.sh | 2 +- tests/misc/md5sum-parallel.sh | 2 +- tests/misc/mknod.sh | 2 +- tests/misc/nice-fail.sh | 2 +- tests/misc/nice.sh | 2 +- tests/misc/nl.sh | 2 +- tests/misc/nohup.sh | 2 +- tests/misc/nproc-avail.sh | 2 +- tests/misc/nproc-positive.sh | 2 +- tests/misc/od-N.sh | 2 +- tests/misc/od-float.sh | 2 +- tests/misc/od-multiple-t.sh | 2 +- tests/misc/od-x8.sh | 2 +- tests/misc/pathchk1.sh | 2 +- tests/misc/printenv.sh | 2 +- tests/misc/printf-hex.sh | 2 +- tests/misc/printf-surprise.sh | 2 +- tests/misc/printf.sh | 2 +- tests/misc/ptx-overrun.sh | 2 +- tests/misc/pwd-long.sh | 4 +- tests/misc/pwd-option.sh | 2 +- tests/misc/readlink-fp-loop.sh | 2 +- tests/misc/readlink-root.sh | 2 +- tests/misc/realpath.sh | 2 +- tests/misc/runcon-no-reorder.sh | 2 +- tests/misc/selinux.sh | 2 +- tests/misc/seq-long-double.sh | 2 +- tests/misc/shred-exact.sh | 2 +- tests/misc/shred-passes.sh | 2 +- tests/misc/shred-remove.sh | 2 +- tests/misc/shuf.sh | 2 +- tests/misc/sort-NaN-infloop.sh | 2 +- tests/misc/sort-benchmark-random.sh | 2 +- tests/misc/sort-compress-hang.sh | 2 +- tests/misc/sort-compress-proc.sh | 2 +- tests/misc/sort-compress.sh | 2 +- tests/misc/sort-continue.sh | 2 +- tests/misc/sort-debug-keys.sh | 2 +- tests/misc/sort-debug-warn.sh | 2 +- tests/misc/sort-discrim.sh | 2 +- tests/misc/sort-exit-early.sh | 2 +- tests/misc/sort-float.sh | 2 +- tests/misc/sort-merge-fdlimit.sh | 2 +- tests/misc/sort-month.sh | 2 +- tests/misc/sort-rand.sh | 2 +- tests/misc/sort-spinlock-abuse.sh | 2 +- tests/misc/sort-stale-thread-mem.sh | 2 +- tests/misc/sort-u-FMR.sh | 2 +- tests/misc/sort-unique-segv.sh | 2 +- tests/misc/sort-unique.sh | 2 +- tests/misc/sort-version.sh | 2 +- tests/misc/stat-birthtime.sh | 2 +- tests/misc/stat-fmt.sh | 2 +- tests/misc/stat-hyphen.sh | 2 +- tests/misc/stat-mount.sh | 2 +- tests/misc/stat-nanoseconds.sh | 2 +- tests/misc/stat-slash.sh | 2 +- tests/misc/stdbuf.sh | 2 +- tests/misc/stty-invalid.sh | 2 +- tests/misc/stty-pairs.sh | 2 +- tests/misc/stty-row-col.sh | 2 +- tests/misc/stty.sh | 2 +- tests/misc/sum-sysv.sh | 2 +- tests/misc/tac-2-nonseekable.sh | 2 +- tests/misc/tac-continue.sh | 2 +- tests/misc/tee-dash.sh | 2 +- tests/misc/tee.sh | 2 +- tests/misc/timeout-group.sh | 2 +- tests/misc/timeout-parameters.sh | 2 +- tests/misc/timeout.sh | 2 +- tests/misc/tr-case-class.sh | 2 +- tests/misc/truncate-dangling-symlink.sh | 2 +- tests/misc/truncate-dir-fail.sh | 2 +- tests/misc/truncate-fail-diag.sh | 2 +- tests/misc/truncate-fifo.sh | 2 +- tests/misc/truncate-no-create-missing.sh | 2 +- tests/misc/truncate-overflow.sh | 2 +- tests/misc/truncate-owned-by-other.sh | 2 +- tests/misc/truncate-parameters.sh | 2 +- tests/misc/truncate-relative.sh | 2 +- tests/misc/uniq-perf.sh | 2 +- tests/misc/wc-files0.sh | 2 +- tests/misc/wc-parallel.sh | 2 +- tests/misc/xattr.sh | 4 +- tests/mkdir/p-1.sh | 2 +- tests/mkdir/p-2.sh | 2 +- tests/mkdir/p-3.sh | 2 +- tests/mkdir/p-slashdot.sh | 2 +- tests/mkdir/p-thru-slink.sh | 2 +- tests/mkdir/p-v.sh | 2 +- tests/mkdir/parents.sh | 2 +- tests/mkdir/perm.sh | 2 +- tests/mkdir/selinux.sh | 2 +- tests/mkdir/special-1.sh | 2 +- tests/mkdir/t-slash.sh | 2 +- tests/mkdir/writable-under-readonly.sh | 2 +- tests/mv/acl.sh | 4 +- tests/mv/atomic.sh | 2 +- tests/mv/atomic2.sh | 2 +- tests/mv/backup-dir.sh | 2 +- tests/mv/backup-is-src.sh | 4 +- tests/mv/childproof.sh | 2 +- tests/mv/diag.sh | 2 +- tests/mv/dir-file.sh | 2 +- tests/mv/dir2dir.sh | 2 +- tests/mv/dup-source.sh | 2 +- tests/mv/force.sh | 2 +- tests/mv/hard-2.sh | 2 +- tests/mv/hard-3.sh | 2 +- tests/mv/hard-4.sh | 2 +- tests/mv/hard-link-1.sh | 4 +- tests/mv/hard-verbose.sh | 2 +- tests/mv/i-2.sh | 2 +- tests/mv/i-3.sh | 2 +- tests/mv/i-4.sh | 2 +- tests/mv/i-5.sh | 2 +- tests/mv/i-link-no.sh | 2 +- tests/mv/into-self-2.sh | 4 +- tests/mv/into-self-3.sh | 2 +- tests/mv/into-self-4.sh | 2 +- tests/mv/into-self.sh | 2 +- tests/mv/leak-fd.sh | 4 +- tests/mv/mv-n.sh | 2 +- tests/mv/mv-special-1.sh | 4 +- tests/mv/no-target-dir.sh | 2 +- tests/mv/part-fail.sh | 4 +- tests/mv/part-hardlink.sh | 4 +- tests/mv/part-rename.sh | 4 +- tests/mv/part-symlink.sh | 4 +- tests/mv/partition-perm.sh | 4 +- tests/mv/perm-1.sh | 2 +- tests/mv/sticky-to-xpart.sh | 4 +- tests/mv/symlink-onto-hardlink-to-self.sh | 2 +- tests/mv/symlink-onto-hardlink.sh | 2 +- tests/mv/to-symlink.sh | 4 +- tests/mv/trailing-slash.sh | 2 +- tests/mv/update.sh | 2 +- tests/pr/pr-tests.pl | 2 +- tests/readlink/can-e.sh | 2 +- tests/readlink/can-f.sh | 2 +- tests/readlink/can-m.sh | 2 +- tests/readlink/rl-1.sh | 2 +- tests/rm/cycle.sh | 2 +- tests/rm/d-1.sh | 2 +- tests/rm/d-2.sh | 2 +- tests/rm/d-3.sh | 2 +- tests/rm/dangling-symlink.sh | 2 +- tests/rm/deep-1.sh | 2 +- tests/rm/deep-2.sh | 2 +- tests/rm/dir-no-w.sh | 2 +- tests/rm/dir-nonrecur.sh | 2 +- tests/rm/dot-rel.sh | 2 +- tests/rm/empty-inacc.sh | 2 +- tests/rm/ext3-perf.sh | 2 +- tests/rm/f-1.sh | 2 +- tests/rm/fail-2eperm.sh | 2 +- tests/rm/fail-eacces.sh | 2 +- tests/rm/hash.sh | 2 +- tests/rm/i-1.sh | 2 +- tests/rm/i-never.sh | 2 +- tests/rm/i-no-r.sh | 2 +- tests/rm/ignorable.sh | 2 +- tests/rm/inaccessible.sh | 2 +- tests/rm/interactive-always.sh | 2 +- tests/rm/interactive-once.sh | 2 +- tests/rm/ir-1.sh | 2 +- tests/rm/isatty.sh | 2 +- tests/rm/many-dir-entries-vs-OOM.sh | 2 +- tests/rm/no-give-up.sh | 2 +- tests/rm/one-file-system.sh | 4 +- tests/rm/one-file-system2.sh | 2 +- tests/rm/r-1.sh | 2 +- tests/rm/r-2.sh | 2 +- tests/rm/r-3.sh | 2 +- tests/rm/r-4.sh | 2 +- tests/rm/read-only.sh | 2 +- tests/rm/readdir-bug.sh | 2 +- tests/rm/rm1.sh | 2 +- tests/rm/rm2.sh | 2 +- tests/rm/rm3.sh | 2 +- tests/rm/rm4.sh | 2 +- tests/rm/rm5.sh | 2 +- tests/rm/sunos-1.sh | 2 +- tests/rm/unread2.sh | 2 +- tests/rm/unread3.sh | 2 +- tests/rm/v-slash.sh | 2 +- tests/rmdir/fail-perm.sh | 2 +- tests/rmdir/ignore.sh | 2 +- tests/rmdir/t-slash.sh | 2 +- tests/sample-test | 4 +- tests/split/additional-suffix.sh | 2 +- tests/split/b-chunk.sh | 2 +- tests/split/fail.sh | 2 +- tests/split/filter.sh | 2 +- tests/split/guard-input.sh | 2 +- tests/split/l-chunk.sh | 2 +- tests/split/lines.sh | 2 +- tests/split/numeric.sh | 2 +- tests/split/r-chunk.sh | 2 +- tests/split/suffix-auto-length.sh | 2 +- tests/split/suffix-length.sh | 2 +- tests/tail-2/F-vs-missing.sh | 2 +- tests/tail-2/F-vs-rename.sh | 2 +- tests/tail-2/append-only.sh | 2 +- tests/tail-2/assert-2.sh | 2 +- tests/tail-2/assert.sh | 2 +- tests/tail-2/big-4gb.sh | 2 +- tests/tail-2/flush-initial.sh | 2 +- tests/tail-2/follow-name.sh | 2 +- tests/tail-2/follow-stdin.sh | 2 +- tests/tail-2/infloop-1.sh | 2 +- tests/tail-2/inotify-hash-abuse.sh | 2 +- tests/tail-2/inotify-hash-abuse2.sh | 2 +- tests/tail-2/inotify-race.sh | 2 +- tests/tail-2/inotify-rotate.sh | 2 +- tests/tail-2/pid.sh | 2 +- tests/tail-2/pipe-f.sh | 2 +- tests/tail-2/pipe-f2.sh | 2 +- tests/tail-2/proc-ksyms.sh | 2 +- tests/tail-2/start-middle.sh | 2 +- tests/tail-2/tail-n0f.sh | 2 +- tests/tail-2/wait.sh | 2 +- tests/touch/60-seconds.sh | 2 +- tests/touch/dangling-symlink.sh | 2 +- tests/touch/dir-1.sh | 2 +- tests/touch/empty-file.sh | 2 +- tests/touch/fail-diag.sh | 2 +- tests/touch/fifo.sh | 2 +- tests/touch/no-create-missing.sh | 2 +- tests/touch/no-dereference.sh | 2 +- tests/touch/no-rights.sh | 2 +- tests/touch/not-owner.sh | 2 +- tests/touch/now-owned-by-other.sh | 2 +- tests/touch/obsolescent.sh | 2 +- tests/touch/read-only.sh | 2 +- tests/touch/relative.sh | 2 +- tests/touch/trailing-slash.sh | 2 +- 444 files changed, 1273 insertions(+), 1330 deletions(-) rename tests/init.cfg => init.cfg (99%) delete mode 100644 tests/Makefile.am create mode 100644 tests/local.mk -- 1.7.12
