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" 15ATF_TESTS_C+= waitpid_nohang 16 17LIBADD.ptrace_test+= pthread 18LIBADD.unix_seqpacket_test+= pthread 19 20NETBSD_ATF_TESTS_C+= lockf_test 21NETBSD_ATF_TESTS_C+= mqueue_test 22 23CFLAGS.mqueue_test+= -I${SRCTOP}/tests 24LIBADD.mqueue_test+= rt 25 26# subr_unit.c contains functions whose prototypes lie in headers that cannot be 27# included in userland. But as far as subr_unit_test goes, they're effectively 28# static. So it's ok to disable -Wmissing-prototypes for this program. 29CFLAGS.subr_unit.c+= -Wno-missing-prototypes 30SRCS.subr_unit_test+= subr_unit.c 31 32WARNS?= 5 33 34TESTS_SUBDIRS+= acct 35TESTS_SUBDIRS+= execve 36TESTS_SUBDIRS+= pipe 37 38.include <netbsd-tests.test.mk> 39 40.include <bsd.test.mk> 41