$NetBSD: patch-aw,v 1.5 2006/08/24 13:25:41 wennmach Exp $ Don't build tests that won't compile (they're not installed anyway). Fiddle with libs. --- tests/Makefile.in.orig 2006-03-29 15:09:59.000000000 +0200 +++ tests/Makefile.in 2006-08-24 14:18:33.000000000 +0200 @@ -15,10 +15,10 @@ DEFS = @DEFS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ -ROKEN_LIBS = @LIB_roken@ +ROKEN_LIBS = @LIB_roken@ @LIB_crypt@ KAFS_LIBS = @AFS_EXTRA_LIBS@ @KAFS_LIBS@ KRB_LIBS = @KRB5_LIB_FLAGS@ -APPL_LIB = -L../appl/lib -larlalib \ +APPL_LIB = ../appl/lib/libarlalib.la \ ../lib/ko/libko.la ../util/libarlautil.la @@ -26,72 +26,11 @@ exec_prefix = @exec_prefix@ bindir = @bindir@ -TEST_PROGRAMS = write-ro-file hello-world read-vs-mmap read-vs-mmap2 \ - mmap-and-read large-dir large-dir2 large-dir3 mountpoint \ - test-setgroups test-setpag hardlink1 hardlink2 mkdir2 \ - create-files create-symlinks create-dirs dup2-and-unlog \ - readdir-vs-lstat read-write ga-test create-remove \ - symlink echo-n test-parallel1 test-parallel2 create-stat \ - kill-softly kill-softer rm-rf apwd exit-wo-close \ - mmap-vs-read mmap-vs-read2 strange-characters-c pine \ - append-over-page write-ucc utime-dir mmap-shared-write \ - rename5 rename-under-feet write-closed write-closed2 \ - truncate fchmod fhbench make-page utime-file \ - invalidate-file write3 still-there-p \ - intr-read asu truncate-files mmap-cat blocks-new-file \ - read-past-eof \ - write-6G-file \ - macos-getattrlist-leak \ - mtime-file \ - mmap-and-fork \ - write-error - -TEST_OBJS = write-ro-file.o read-vs-mmap.o read-vs-mmap2.o \ - mmap-and-read.o large-dir.o large-dir2.o large-dir3.o \ - test-setgroups.o test-setpag.o hardlink1.o hardlink2.o \ - mkdir2.o create-files.o create-symlinks.o create-dirs.o \ - dup2-and-unlog.o readdir-vs-lstat.o read-write.o ga-test.o \ - create-remove.o symlink.o echo-n.o test-parallel1.o \ - test-parallel1.o \ - create-stat.o kill-softly.o kill-softer.o rm-rf.o apwd.o \ - exit-wo-close.o mmap-vs-read.o mmap-vs-read2.o \ - strange-characters-c.o pine.o append-over-page.o \ - write-ucc.o utime-dir.o mmap-shared-write.o rename5.o \ - rename-under-feet.o write-closed.o write-closed2.o \ - truncate.o fchmod.o fhbench.o make-page.o utime-file.o \ - invalidate-file.o write3.o still-there-p.o \ - intr-read.o asu.o truncate-files.o mmap-cat.o \ - blocks-new-file.o \ - read-past-eof.o \ - write-6G-file.o \ - macos-getattrlist-leak.o \ - mtime-file.o \ - mmap-and-fork.o \ - write-error - - -TEST_SRCS = write-ro-file.c read-vs-mmap.c read-vs-mmap2.c \ - mmap-and-read.c large-dir.c large-dir2.c large-dir3.c \ - test-setgroups.c test-setpag.c hardlink1.c hardlink2.c \ - mkdir2.c create-files.c create-symlinks.c create-dirs.c \ - dup2-and-unlog.c readdir-vs-lstat.c read-write.c ga-test.c \ - create-remove.c symlink.c echo-n.c test-parallel1.c \ - test-parallel2.c \ \ - create-stat.c kill-softly.c kill-softer.c rm-rf.c apwd.c \ - exit-wo-close.c mmap-vs-read.c mmap-vs-read2.c \ - strange-characters-c.c pine.c append-over-page.c \ - write-ucc.c utime-dir.c mmap-shared-write.c rename5.c \ - rename-under-feet.c write-closed.c write-closed2.c \ - truncate.c fchmod.c fhbench.c make-page.c utime-file.c \ - invalidate-file.c write3.c still-there-p.c \ - intr-read.c asu.c truncate-files.c mmap-cat.c \ - blocks-new-file.c \ - read-past-eof.c \ - write-6G-file.c \ - macos-getattrlist-leak.c \ - mtime-file.c \ - mmap-and-fork.c \ - write-error +TEST_PROGRAMS = + +TEST_OBJS = + +TEST_SRCS = all: run-tests $(TEST_PROGRAMS)