1 # $NetBSD: Makefile,v 1.19 2020/04/26 09:08:40 maxv Exp $ 2 3 .include <bsd.own.mk> 4 5 TESTSDIR= ${TESTSBASE}/modules 6 CPPFLAGS+= -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. 13 TESTS_C= t_modctl 14 TESTS_C+= t_builtin 15 TESTS_C+= t_kcov 16 TESTS_C+= t_ufetchstore 17 CPPFLAGS.t_ufetchstore.c+=-I${.CURDIR}/ufetchstore 18 .for i in t_modctl t_builtin t_kcov 19 LDADD.${i}= -lprop 20 LDADD.${i}+= -lrumpfs_kernfs ${LIBRUMPBASE} 21 .endfor 22 23 .if ${MACHINE} == "amd64" 24 TESTS_C+= t_x86_pte 25 .endif 26 27 TESTS_SH= t_abi_uvm 28 TESTS_SH+= t_modload 29 TESTS_SH+= t_klua_pr_52864 30 TESTS_SH+= t_threadpool 31 32 SUBDIR= k_helper 33 SUBDIR+= k_helper2 34 SUBDIR+= k_helper3 35 SUBDIR+= k_uvm 36 SUBDIR+= threadpool_tester 37 SUBDIR+= ufetchstore 38 .if ${MACHINE} == "amd64" 39 SUBDIR+= x86_pte_tester 40 .endif 41 42 .include <bsd.test.mk> 43