2014-01-23 17:26:28 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2015-11-16 04:56:14 +00:00
|
|
|
TESTSRC= ${SRCTOP}/contrib/netbsd-tests/kernel
|
2016-04-29 21:11:31 +00:00
|
|
|
.PATH: ${SRCTOP}/sys/kern
|
2015-11-16 04:56:14 +00:00
|
|
|
|
2014-01-23 17:26:28 +00:00
|
|
|
TESTSDIR= ${TESTSBASE}/sys/kern
|
|
|
|
|
2015-10-19 20:22:17 +00:00
|
|
|
ATF_TESTS_C+= kern_copyin
|
2014-02-26 09:08:25 +00:00
|
|
|
ATF_TESTS_C+= kern_descrip_test
|
2015-05-22 11:04:54 +00:00
|
|
|
ATF_TESTS_C+= ptrace_test
|
2016-04-29 21:11:31 +00:00
|
|
|
PLAIN_TESTS_C+= subr_unit_test
|
2014-02-26 09:08:25 +00:00
|
|
|
ATF_TESTS_C+= unix_seqpacket_test
|
2015-12-30 11:15:07 +00:00
|
|
|
ATF_TESTS_C+= unix_passfd_test
|
2014-01-23 17:26:28 +00:00
|
|
|
TEST_METADATA.unix_seqpacket_test+= timeout="15"
|
|
|
|
|
2015-12-04 03:17:47 +00:00
|
|
|
LIBADD.ptrace_test+= pthread
|
|
|
|
LIBADD.unix_seqpacket_test+= pthread
|
2014-01-23 17:26:28 +00:00
|
|
|
|
2015-11-16 04:56:14 +00:00
|
|
|
NETBSD_ATF_TESTS_C+= lockf_test
|
2015-11-23 09:17:25 +00:00
|
|
|
NETBSD_ATF_TESTS_C+= mqueue_test
|
|
|
|
|
|
|
|
CFLAGS.mqueue_test+= -I${SRCTOP}/tests
|
2015-12-04 03:17:47 +00:00
|
|
|
LIBADD.mqueue_test+= rt
|
2015-11-16 04:56:14 +00:00
|
|
|
|
2016-04-29 21:11:31 +00:00
|
|
|
# subr_unit.c contains functions whose prototypes lie in headers that cannot be
|
|
|
|
# included in userland. But as far as subr_unit_test goes, they're effectively
|
|
|
|
# static. So it's ok to disable -Wmissing-prototypes for this program.
|
|
|
|
CFLAGS.subr_unit.c+= -Wno-missing-prototypes
|
|
|
|
SRCS.subr_unit_test+= subr_unit.c
|
|
|
|
|
2014-03-07 19:30:03 +00:00
|
|
|
WARNS?= 5
|
|
|
|
|
2015-11-16 03:32:12 +00:00
|
|
|
TESTS_SUBDIRS+= acct
|
2015-04-27 07:22:18 +00:00
|
|
|
TESTS_SUBDIRS+= execve
|
2015-11-16 05:38:40 +00:00
|
|
|
TESTS_SUBDIRS+= pipe
|
2015-04-27 07:22:18 +00:00
|
|
|
|
2015-11-16 04:56:14 +00:00
|
|
|
.include <netbsd-tests.test.mk>
|
|
|
|
|
2014-03-14 08:56:19 +00:00
|
|
|
.include <bsd.test.mk>
|