Makefile revision 1.16
1# $NetBSD: Makefile,v 1.16 2019/04/06 03:06:29 thorpej Exp $
2
3.include <bsd.own.mk>
4
5TESTSDIR=	${TESTSBASE}/modules
6CPPFLAGS+=	-D_KERNTYPES
7
8# Ideally this test could be in the parent Makefile, which could not descend
9# into this directory at all.  Unfortunately, the etc/mtree/NetBSD.dist file
10# creates the 'modules' subdirectory unconditionally, which if left empty
11# will confuse atf-run.  Therefore we must install, at the very least, the
12# Atffile into it.
13TESTS_C=	t_modctl
14TESTS_C+=	t_builtin
15TESTS_C+=	t_kcov
16LDADD=		-lprop
17LDADD+=		-lrumpfs_kernfs -lrumpvfs -lrump -lrumpuser -lrump -lpthread
18
19TESTS_SH=	t_abi_uvm
20TESTS_SH+=	t_modload
21TESTS_SH+= 	t_klua_pr_52864
22TESTS_SH+=	t_threadpool
23
24SUBDIR=		k_helper
25SUBDIR+=	k_helper2
26SUBDIR+=	k_helper3
27SUBDIR+=	k_uvm
28SUBDIR+=	threadpool_tester
29SUBDIR+=	ufetchstore
30
31ATFFILE_EXTRA_SUBDIRS= t_ufetchstore
32
33.include <bsd.test.mk>
34