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