1# $FreeBSD$ 2 3TESTSRC= ${SRCTOP}/contrib/netbsd-tests/kernel 4.PATH: ${SRCTOP}/sys/kern 5 6TESTSDIR= ${TESTSBASE}/sys/kern 7 8ATF_TESTS_C+= kern_copyin 9ATF_TESTS_C+= kern_descrip_test 10ATF_TESTS_C+= ptrace_test 11PLAIN_TESTS_C+= subr_unit_test 12ATF_TESTS_C+= unix_seqpacket_test 13ATF_TESTS_C+= unix_passfd_test 14TEST_METADATA.unix_seqpacket_test+= timeout="15" 15 16LIBADD.ptrace_test+= pthread 17LIBADD.unix_seqpacket_test+= pthread 18 19NETBSD_ATF_TESTS_C+= lockf_test 20NETBSD_ATF_TESTS_C+= mqueue_test 21 22CFLAGS.mqueue_test+= -I${SRCTOP}/tests 23LIBADD.mqueue_test+= rt 24 25# subr_unit.c contains functions whose prototypes lie in headers that cannot be 26# included in userland. But as far as subr_unit_test goes, they're effectively 27# static. So it's ok to disable -Wmissing-prototypes for this program. 28CFLAGS.subr_unit.c+= -Wno-missing-prototypes 29SRCS.subr_unit_test+= subr_unit.c 30 31WARNS?= 5 32 33TESTS_SUBDIRS+= acct 34TESTS_SUBDIRS+= execve 35TESTS_SUBDIRS+= pipe 36 37.include <netbsd-tests.test.mk> 38 39.include <bsd.test.mk> 40