2020-04-26 12:08:40 +03:00
|
|
|
# $NetBSD: Makefile,v 1.19 2020/04/26 09:08:40 maxv Exp $
|
2008-02-10 15:40:10 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2010-08-21 17:57:41 +04:00
|
|
|
TESTSDIR= ${TESTSBASE}/modules
|
2016-01-24 00:22:45 +03:00
|
|
|
CPPFLAGS+= -D_KERNTYPES
|
2008-02-10 15:40:10 +03:00
|
|
|
|
2010-08-21 17:57:41 +04:00
|
|
|
# Ideally this test could be in the parent Makefile, which could not descend
|
|
|
|
# into this directory at all. Unfortunately, the etc/mtree/NetBSD.dist file
|
|
|
|
# creates the 'modules' subdirectory unconditionally, which if left empty
|
|
|
|
# will confuse atf-run. Therefore we must install, at the very least, the
|
|
|
|
# Atffile into it.
|
|
|
|
TESTS_C= t_modctl
|
2010-08-27 13:56:40 +04:00
|
|
|
TESTS_C+= t_builtin
|
2019-02-23 06:10:05 +03:00
|
|
|
TESTS_C+= t_kcov
|
2019-04-16 02:41:23 +03:00
|
|
|
TESTS_C+= t_ufetchstore
|
|
|
|
CPPFLAGS.t_ufetchstore.c+=-I${.CURDIR}/ufetchstore
|
|
|
|
.for i in t_modctl t_builtin t_kcov
|
|
|
|
LDADD.${i}= -lprop
|
2020-03-01 21:08:12 +03:00
|
|
|
LDADD.${i}+= -lrumpfs_kernfs ${LIBRUMPBASE}
|
2019-04-16 02:41:23 +03:00
|
|
|
.endfor
|
2008-03-02 14:22:10 +03:00
|
|
|
|
2020-04-26 12:08:40 +03:00
|
|
|
.if ${MACHINE} == "amd64"
|
|
|
|
TESTS_C+= t_x86_pte
|
|
|
|
.endif
|
|
|
|
|
2012-02-18 02:36:50 +04:00
|
|
|
TESTS_SH= t_abi_uvm
|
|
|
|
TESTS_SH+= t_modload
|
2018-01-08 17:17:15 +03:00
|
|
|
TESTS_SH+= t_klua_pr_52864
|
2019-01-25 21:33:58 +03:00
|
|
|
TESTS_SH+= t_threadpool
|
2010-08-21 17:57:41 +04:00
|
|
|
|
|
|
|
SUBDIR= k_helper
|
|
|
|
SUBDIR+= k_helper2
|
2012-04-13 11:05:32 +04:00
|
|
|
SUBDIR+= k_helper3
|
2012-02-18 02:36:50 +04:00
|
|
|
SUBDIR+= k_uvm
|
2019-01-25 21:33:58 +03:00
|
|
|
SUBDIR+= threadpool_tester
|
2019-04-06 06:06:23 +03:00
|
|
|
SUBDIR+= ufetchstore
|
2020-04-26 12:08:40 +03:00
|
|
|
.if ${MACHINE} == "amd64"
|
|
|
|
SUBDIR+= x86_pte_tester
|
|
|
|
.endif
|
2019-04-06 06:06:23 +03:00
|
|
|
|
2008-02-10 15:40:10 +03:00
|
|
|
.include <bsd.test.mk>
|