Index: tools/regression/execve/Makefile =================================================================== --- tools/regression/execve/Makefile (revision 208799) +++ tools/regression/execve/Makefile (working copy) @@ -18,7 +18,7 @@ chmod +x ${x} .endfor -regress: test-empty test-nonexist test-nonexistshell \ +test: test-empty test-nonexist test-nonexistshell \ test-devnullscript test-badinterplen test-goodscript \ test-scriptarg test-scriptarg-nospace test-goodaout \ test-truncaout test-sparseaout Index: tools/regression/acct/Makefile =================================================================== --- tools/regression/acct/Makefile (revision 208799) +++ tools/regression/acct/Makefile (working copy) @@ -9,7 +9,7 @@ CFLAGS= -include /usr/include/sys/limits.h \ -include /usr/include/sys/syslog.h -all: regress +all: pack: pack.c convert.c @@ -17,7 +17,7 @@ sed -n -e 's/log(/syslog(/g' \ -e '/FLOAT_CONVERSION_START/,/FLOAT_CONVERSION_END/p' $? >$@ -regress: pack regress.t +test: pack regress.t ./regress.t clean: Index: tools/regression/file/closefrom/Makefile =================================================================== --- tools/regression/file/closefrom/Makefile (revision 208799) +++ tools/regression/file/closefrom/Makefile (working copy) @@ -7,3 +7,4 @@ LDADD= -lutil .include + Index: tools/regression/usr.bin/lastcomm/Makefile =================================================================== --- tools/regression/usr.bin/lastcomm/Makefile (revision 208799) +++ tools/regression/usr.bin/lastcomm/Makefile (working copy) @@ -1,6 +1,6 @@ # $FreeBSD$ -all: regress +all: -regress: regress.t +test: regress.t ./regress.t Index: tools/regression/usr.bin/m4/Makefile =================================================================== --- tools/regression/usr.bin/m4/Makefile (revision 208799) +++ tools/regression/usr.bin/m4/Makefile (working copy) @@ -1,4 +1,4 @@ # $FreeBSD$ -all: +test: @sh ${.CURDIR}/regress.sh ${.CURDIR} Index: tools/regression/usr.bin/xargs/Makefile =================================================================== --- tools/regression/usr.bin/xargs/Makefile (revision 208799) +++ tools/regression/usr.bin/xargs/Makefile (working copy) @@ -1,4 +1,4 @@ # $FreeBSD$ -all: +test: @m4 ${.CURDIR}/../regress.m4 ${.CURDIR}/regress.sh | sh /dev/stdin ${.CURDIR} Index: tools/regression/usr.bin/apply/Makefile =================================================================== --- tools/regression/usr.bin/apply/Makefile (revision 208799) +++ tools/regression/usr.bin/apply/Makefile (working copy) @@ -1,4 +1,4 @@ # $FreeBSD$ -all: +test: @m4 ${.CURDIR}/../regress.m4 ${.CURDIR}/regress.sh | sh /dev/stdin ${.CURDIR} Index: tools/regression/usr.bin/tr/Makefile =================================================================== --- tools/regression/usr.bin/tr/Makefile (revision 208799) +++ tools/regression/usr.bin/tr/Makefile (working copy) @@ -1,4 +1,4 @@ # $FreeBSD$ -all: +test: @m4 ${.CURDIR}/../regress.m4 ${.CURDIR}/regress.sh | sh /dev/stdin ${.CURDIR} Index: tools/regression/usr.bin/comm/Makefile =================================================================== --- tools/regression/usr.bin/comm/Makefile (revision 208799) +++ tools/regression/usr.bin/comm/Makefile (working copy) @@ -1,4 +1,4 @@ # $FreeBSD$ -all: +test: @m4 ${.CURDIR}/../regress.m4 ${.CURDIR}/regress.sh | sh /dev/stdin ${.CURDIR} Index: tools/regression/usr.bin/jot/Makefile =================================================================== --- tools/regression/usr.bin/jot/Makefile (revision 208799) +++ tools/regression/usr.bin/jot/Makefile (working copy) @@ -1,4 +1,4 @@ # $FreeBSD$ -all: +test: @m4 ${.CURDIR}/../regress.m4 ${.CURDIR}/regress.sh | sh /dev/stdin ${.CURDIR} Index: tools/regression/usr.bin/uudecode/Makefile =================================================================== --- tools/regression/usr.bin/uudecode/Makefile (revision 208799) +++ tools/regression/usr.bin/uudecode/Makefile (working copy) @@ -1,4 +1,4 @@ # $FreeBSD$ -all: +test: @m4 ${.CURDIR}/../regress.m4 ${.CURDIR}/regress.sh | sh /dev/stdin ${.CURDIR} Index: tools/regression/usr.bin/join/Makefile =================================================================== --- tools/regression/usr.bin/join/Makefile (revision 208799) +++ tools/regression/usr.bin/join/Makefile (working copy) @@ -1,4 +1,4 @@ # $FreeBSD$ -all: +test: @m4 ${.CURDIR}/../regress.m4 ${.CURDIR}/regress.sh | sh /dev/stdin ${.CURDIR} Index: tools/regression/usr.bin/printf/Makefile =================================================================== --- tools/regression/usr.bin/printf/Makefile (revision 208799) +++ tools/regression/usr.bin/printf/Makefile (working copy) @@ -1,4 +1,4 @@ # $FreeBSD$ -all: +test: @m4 ${.CURDIR}/../regress.m4 ${.CURDIR}/regress.sh | sh /dev/stdin ${.CURDIR} Index: tools/regression/usr.bin/file2c/Makefile =================================================================== --- tools/regression/usr.bin/file2c/Makefile (revision 208799) +++ tools/regression/usr.bin/file2c/Makefile (working copy) @@ -1,4 +1,4 @@ # $FreeBSD$ -all: +test: @m4 ${.CURDIR}/../regress.m4 ${.CURDIR}/regress.sh | sh /dev/stdin ${.CURDIR} Index: tools/regression/usr.bin/uuencode/Makefile =================================================================== --- tools/regression/usr.bin/uuencode/Makefile (revision 208799) +++ tools/regression/usr.bin/uuencode/Makefile (working copy) @@ -1,4 +1,4 @@ # $FreeBSD$ -all: +test: @m4 ${.CURDIR}/../regress.m4 ${.CURDIR}/regress.sh | sh /dev/stdin ${.CURDIR} Index: tools/regression/usr.bin/calendar/Makefile =================================================================== --- tools/regression/usr.bin/calendar/Makefile (revision 208799) +++ tools/regression/usr.bin/calendar/Makefile (working copy) @@ -1,4 +1,4 @@ # $FreeBSD$ -all: +test: @m4 ${.CURDIR}/../regress.m4 ${.CURDIR}/regress.sh | sh /dev/stdin ${.CURDIR} Index: tools/regression/usr.bin/sed/Makefile =================================================================== --- tools/regression/usr.bin/sed/Makefile (revision 208799) +++ tools/regression/usr.bin/sed/Makefile (working copy) @@ -1,5 +1,5 @@ # $FreeBSD$ -all: +test: @m4 ${.CURDIR}/../regress.m4 ${.CURDIR}/regress.sh | sh /dev/stdin ${.CURDIR} @sh multitest.t Index: tools/regression/usr.bin/ncal/Makefile =================================================================== --- tools/regression/usr.bin/ncal/Makefile (revision 208799) +++ tools/regression/usr.bin/ncal/Makefile (working copy) @@ -1,4 +1,4 @@ # $FreeBSD$ -all: +test: @m4 ${.CURDIR}/../regress.m4 ${.CURDIR}/regress.sh | sh /dev/stdin ${.CURDIR} Index: tools/regression/usr.bin/make/archives/fmt_44bsd_mod/Makefile =================================================================== --- tools/regression/usr.bin/make/archives/fmt_44bsd_mod/Makefile (revision 208799) +++ tools/regression/usr.bin/make/archives/fmt_44bsd_mod/Makefile (working copy) @@ -5,6 +5,8 @@ # The modification of the archive consists in slashes appended to short names. # +test: test1 test2 test3 test4 test5 test6 test7 + ############################################################################# # must be ok Index: tools/regression/usr.bin/make/archives/fmt_44bsd/Makefile =================================================================== --- tools/regression/usr.bin/make/archives/fmt_44bsd/Makefile (revision 208799) +++ tools/regression/usr.bin/make/archives/fmt_44bsd/Makefile (working copy) @@ -2,6 +2,8 @@ # This test checks the code reading archive files. The archive file # is a BSD4.4 file with __.SYMTAB and #1/N long file names. +test: test1 test2 test3 test4 test5 test6 test7 + ############################################################################# # should be ok Index: tools/regression/usr.bin/make/archives/fmt_oldbsd/Makefile =================================================================== --- tools/regression/usr.bin/make/archives/fmt_oldbsd/Makefile (revision 208799) +++ tools/regression/usr.bin/make/archives/fmt_oldbsd/Makefile (working copy) @@ -3,6 +3,8 @@ # is an old BSD file with __.SYMTAB and no long file names. Filenames # are truncated to 16 characters. +test: test1 test2 test3 test4 test5 test6 test7 + ############################################################################# # must be ok Index: tools/regression/usr.bin/make/syntax/semi/Makefile =================================================================== --- tools/regression/usr.bin/make/syntax/semi/Makefile (revision 208799) +++ tools/regression/usr.bin/make/syntax/semi/Makefile (working copy) @@ -3,6 +3,8 @@ # Test handling of escaped newlines. # +test: test1 test2 + .ifmake test1 FOO= Index: tools/regression/usr.bin/make/sysmk/t0/2/1/Makefile =================================================================== --- tools/regression/usr.bin/make/sysmk/t0/2/1/Makefile (revision 208799) +++ tools/regression/usr.bin/make/sysmk/t0/2/1/Makefile (working copy) @@ -2,5 +2,5 @@ # # Can we traverse up to / and find a 'mk/sys.mk'? # -all: +test: @echo ${DASH_M_DOTDOTDOT} Index: tools/regression/usr.bin/make/shell/builtin/Makefile =================================================================== --- tools/regression/usr.bin/make/shell/builtin/Makefile (revision 208799) +++ tools/regression/usr.bin/make/shell/builtin/Makefile (working copy) @@ -11,6 +11,8 @@ .PHONY: builtin no-builtin +test: builtin no-builtin + builtin: @exec ls -d . Index: tools/regression/usr.bin/make/shell/meta/Makefile =================================================================== --- tools/regression/usr.bin/make/shell/meta/Makefile (revision 208799) +++ tools/regression/usr.bin/make/shell/meta/Makefile (working copy) @@ -11,6 +11,8 @@ .PHONY: meta no-meta +test: meta no-meta + meta: @ls * Index: tools/regression/usr.bin/make/shell/replace/Makefile =================================================================== --- tools/regression/usr.bin/make/shell/replace/Makefile (revision 208799) +++ tools/regression/usr.bin/make/shell/replace/Makefile (working copy) @@ -15,7 +15,7 @@ echoFlag="x" errFlag="y" \ hasErrCtl=y check="check errors" ignore="ignore errors" -.PHONY: test1 -test1: +.PHONY: test +test: -@funny $$ funnier $$ Index: tools/regression/usr.bin/make/variables/t0/Makefile =================================================================== --- tools/regression/usr.bin/make/variables/t0/Makefile (revision 208799) +++ tools/regression/usr.bin/make/variables/t0/Makefile (working copy) @@ -4,7 +4,7 @@ # A = 0 AV = 1 -test1: +test: @echo $A @echo ${AV} @echo ${A} Index: tools/regression/usr.bin/make/variables/modifier_M/Makefile =================================================================== --- tools/regression/usr.bin/make/variables/modifier_M/Makefile (revision 208799) +++ tools/regression/usr.bin/make/variables/modifier_M/Makefile (working copy) @@ -8,7 +8,7 @@ map.c map.h \ parser.y lexer.l \ cmdman.1 format.5 -test1: +test: @echo "all files: ${FILES}" @echo "cfiles: ${FILES:M*.c}" @echo "hfiles: ${FILES:M*.h}" Index: tools/regression/usr.bin/make/suffixes/basic/Makefile =================================================================== --- tools/regression/usr.bin/make/suffixes/basic/Makefile (revision 208799) +++ tools/regression/usr.bin/make/suffixes/basic/Makefile (working copy) @@ -2,7 +2,7 @@ # # Check that a simple suffix rule is correctly processed. -test1: TEST1.b +test: TEST1.b diff -u TEST1.a TEST1.b .SUFFIXES: Index: tools/regression/usr.bin/make/suffixes/src_wild1/Makefile =================================================================== --- tools/regression/usr.bin/make/suffixes/src_wild1/Makefile (revision 208799) +++ tools/regression/usr.bin/make/suffixes/src_wild1/Makefile (working copy) @@ -1,6 +1,6 @@ # $FreeBSD$ -test1: TEST1.b +test: TEST1.b cat TEST1.a TEST2.a | diff -u - TEST1.b TEST1.b: *.a Index: tools/regression/usr.bin/make/suffixes/src_wild2/Makefile =================================================================== --- tools/regression/usr.bin/make/suffixes/src_wild2/Makefile (revision 208799) +++ tools/regression/usr.bin/make/suffixes/src_wild2/Makefile (working copy) @@ -5,7 +5,7 @@ SRC=*.a -test1: TEST1.b +test: TEST1.b cat TEST1.a TEST2.a | diff -u - TEST1.b TEST1.b: ${SRC} Index: tools/regression/usr.sbin/sa/Makefile =================================================================== --- tools/regression/usr.sbin/sa/Makefile (revision 208799) +++ tools/regression/usr.sbin/sa/Makefile (working copy) @@ -1,6 +1,6 @@ # $FreeBSD$ -all: regress +all: -regress: regress.t +test: regress.t ./regress.t Index: tools/regression/usr.sbin/Makefile =================================================================== --- tools/regression/usr.sbin/Makefile (revision 208799) +++ tools/regression/usr.sbin/Makefile (working copy) @@ -1,5 +1,4 @@ # $FreeBSD$ -SUBDIR= sa .include Index: tools/regression/lib/msun/Makefile =================================================================== --- tools/regression/lib/msun/Makefile (revision 208799) +++ tools/regression/lib/msun/Makefile (working copy) @@ -6,7 +6,7 @@ CFLAGS+= -O0 -lm .PHONY: tests -tests: ${TESTS} +test: ${TESTS} for p in ${TESTS}; do ${.OBJDIR}/$$p; done .PHONY: clean Index: tools/regression/lib/libmp/Makefile =================================================================== --- tools/regression/lib/libmp/Makefile (revision 208799) +++ tools/regression/lib/libmp/Makefile (working copy) @@ -4,7 +4,7 @@ CFLAGS+= -g -Wall -lcrypto -lmp .PHONY: tests -tests: ${TESTS} +test: ${TESTS} for p in ${TESTS}; do ${.OBJDIR}/$$p; done .PHONY: clean Index: tools/regression/lib/libutil/Makefile =================================================================== --- tools/regression/lib/libutil/Makefile (revision 208799) +++ tools/regression/lib/libutil/Makefile (working copy) @@ -4,7 +4,7 @@ CFLAGS+= -g -Wall -Wextra -Werror -lutil .PHONY: tests -tests: ${TESTS} +test: ${TESTS} for p in ${TESTS}; do ${.OBJDIR}/$$p; done .PHONY: clean Index: tools/regression/lib/libc/locale/Makefile =================================================================== --- tools/regression/lib/libc/locale/Makefile (revision 208799) +++ tools/regression/lib/libc/locale/Makefile (working copy) @@ -17,7 +17,7 @@ test-towctrans .PHONY: tests -tests: ${TESTS} +test: ${TESTS} for p in ${TESTS}; do ${.OBJDIR}/$$p; done .PHONY: clean Index: tools/regression/lib/libc/stdlib/Makefile =================================================================== --- tools/regression/lib/libc/stdlib/Makefile (revision 208799) +++ tools/regression/lib/libc/stdlib/Makefile (working copy) @@ -5,7 +5,7 @@ test-mergesort .PHONY: tests -tests: ${TESTS} +test: ${TESTS} for p in ${TESTS}; do ${.OBJDIR}/$$p; done .PHONY: clean Index: tools/regression/lib/libc/stdio/Makefile =================================================================== --- tools/regression/lib/libc/stdio/Makefile (revision 208799) +++ tools/regression/lib/libc/stdio/Makefile (working copy) @@ -4,7 +4,7 @@ CFLAGS+= -lm .PHONY: tests -tests: ${TESTS} +test: ${TESTS} for p in ${TESTS}; do ${.OBJDIR}/$$p; done .PHONY: clean Index: tools/regression/lib/libc/nss/Makefile =================================================================== --- tools/regression/lib/libc/nss/Makefile (revision 208799) +++ tools/regression/lib/libc/nss/Makefile (working copy) @@ -5,7 +5,7 @@ CFLAGS+= -g -Wall .PHONY: tests -tests: ${TESTS} +test: ${TESTS} .PHONY: clean clean: Index: tools/regression/lib/libc/net/Makefile =================================================================== --- tools/regression/lib/libc/net/Makefile (revision 208799) +++ tools/regression/lib/libc/net/Makefile (working copy) @@ -4,7 +4,7 @@ CFLAGS+= -g -Wall .PHONY: tests -tests: ${TESTS} +test: ${TESTS} for p in ${TESTS}; do ${.OBJDIR}/$$p; done .PHONY: clean Index: tools/regression/lib/libc/string/Makefile =================================================================== --- tools/regression/lib/libc/string/Makefile (revision 208799) +++ tools/regression/lib/libc/string/Makefile (working copy) @@ -7,7 +7,7 @@ TESTS= test-stpncpy test-strerror test-wcscasecmp test-wcsnlen .PHONY: tests -tests: ${TESTS} +test: ${TESTS} for p in ${TESTS}; do ${.OBJDIR}/$$p; done .PHONY: clean Index: tools/regression/lib/libc/resolv/Makefile =================================================================== --- tools/regression/lib/libc/resolv/Makefile (revision 208799) +++ tools/regression/lib/libc/resolv/Makefile (working copy) @@ -9,7 +9,7 @@ DPADD+= ${LIBPTHREAD} LDADD+= -lpthread -regress: ${PROG} +test: ${PROG} ./${PROG} -r ${.CURDIR}/mach .include Index: tools/regression/bin/date/Makefile =================================================================== --- tools/regression/bin/date/Makefile (revision 208799) +++ tools/regression/bin/date/Makefile (working copy) @@ -1,4 +1,4 @@ # $FreeBSD$ -all: +test: sh regress.sh Index: tools/regression/pipe/Makefile =================================================================== --- tools/regression/pipe/Makefile (revision 208799) +++ tools/regression/pipe/Makefile (working copy) @@ -6,7 +6,7 @@ PROG= bigpipetest NO_MAN= -regress: +test: @if ./bigpipetest; then \ echo "PASS"; \ else \ Index: tools/regression/sockets/accept_fd_leak/Makefile =================================================================== --- tools/regression/sockets/accept_fd_leak/Makefile (revision 208799) +++ tools/regression/sockets/accept_fd_leak/Makefile (working copy) @@ -5,7 +5,7 @@ PROG= accept_fd_leak NO_MAN= -regress: +test: ./accept_fd_leak .include Index: tools/regression/sockets/accf_data_attach/Makefile =================================================================== --- tools/regression/sockets/accf_data_attach/Makefile (revision 208799) +++ tools/regression/sockets/accf_data_attach/Makefile (working copy) @@ -5,7 +5,7 @@ PROG= accf_data_attach NO_MAN= -accf_data_attach: accf_data_attach.c +all: accf_data_attach.c gcc -Wall -o accf_data_attach accf_data_attach.c .include