]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - tests/sys/kern/Makefile
MFV r310796, r310797:
[FreeBSD/FreeBSD.git] / tests / sys / kern / Makefile
1 # $FreeBSD$
2
3 TESTSRC=        ${SRCTOP}/contrib/netbsd-tests/kernel
4 .PATH:          ${SRCTOP}/sys/kern
5
6 TESTSDIR=       ${TESTSBASE}/sys/kern
7
8 ATF_TESTS_C+=   kern_copyin
9 ATF_TESTS_C+=   kern_descrip_test
10 ATF_TESTS_C+=   ptrace_test
11 ATF_TESTS_C+=   reaper
12 PLAIN_TESTS_C+= subr_unit_test
13 ATF_TESTS_C+=   unix_seqpacket_test
14 ATF_TESTS_C+=   unix_passfd_test
15 TEST_METADATA.unix_seqpacket_test+=     timeout="15"
16 ATF_TESTS_C+=   waitpid_nohang
17
18 ATF_TESTS_SH+=  coredump_phnum_test
19
20 BINDIR=         ${TESTSDIR}
21 PROGS+=         coredump_phnum_helper
22
23 LIBADD.ptrace_test+=                    pthread
24 LIBADD.unix_seqpacket_test+=            pthread
25
26 NETBSD_ATF_TESTS_C+=    lockf_test
27 NETBSD_ATF_TESTS_C+=    mqueue_test
28
29 CFLAGS.mqueue_test+=    -I${SRCTOP}/tests
30 LIBADD.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.
35 CFLAGS.subr_unit.c+=    -Wno-missing-prototypes
36 SRCS.subr_unit_test+=   subr_unit.c
37
38 WARNS?= 5
39
40 TESTS_SUBDIRS+= acct
41 TESTS_SUBDIRS+= execve
42 TESTS_SUBDIRS+= pipe
43
44 .include <netbsd-tests.test.mk>
45
46 .include <bsd.test.mk>