1 1.19 maxv # $NetBSD: Makefile,v 1.19 2020/04/26 09:08:40 maxv Exp $ 2 1.1 jmmv 3 1.1 jmmv .include <bsd.own.mk> 4 1.1 jmmv 5 1.7 pgoyette TESTSDIR= ${TESTSBASE}/modules 6 1.12 christos CPPFLAGS+= -D_KERNTYPES 7 1.1 jmmv 8 1.7 pgoyette # Ideally this test could be in the parent Makefile, which could not descend 9 1.7 pgoyette # into this directory at all. Unfortunately, the etc/mtree/NetBSD.dist file 10 1.7 pgoyette # creates the 'modules' subdirectory unconditionally, which if left empty 11 1.7 pgoyette # will confuse atf-run. Therefore we must install, at the very least, the 12 1.7 pgoyette # Atffile into it. 13 1.7 pgoyette TESTS_C= t_modctl 14 1.8 pooka TESTS_C+= t_builtin 15 1.15 kamil TESTS_C+= t_kcov 16 1.17 christos TESTS_C+= t_ufetchstore 17 1.17 christos CPPFLAGS.t_ufetchstore.c+=-I${.CURDIR}/ufetchstore 18 1.17 christos .for i in t_modctl t_builtin t_kcov 19 1.17 christos LDADD.${i}= -lprop 20 1.18 christos LDADD.${i}+= -lrumpfs_kernfs ${LIBRUMPBASE} 21 1.17 christos .endfor 22 1.2 jmmv 23 1.19 maxv .if ${MACHINE} == "amd64" 24 1.19 maxv TESTS_C+= t_x86_pte 25 1.19 maxv .endif 26 1.19 maxv 27 1.9 jmmv TESTS_SH= t_abi_uvm 28 1.9 jmmv TESTS_SH+= t_modload 29 1.13 martin TESTS_SH+= t_klua_pr_52864 30 1.14 christos TESTS_SH+= t_threadpool 31 1.7 pgoyette 32 1.7 pgoyette SUBDIR= k_helper 33 1.7 pgoyette SUBDIR+= k_helper2 34 1.10 jruoho SUBDIR+= k_helper3 35 1.9 jmmv SUBDIR+= k_uvm 36 1.14 christos SUBDIR+= threadpool_tester 37 1.16 thorpej SUBDIR+= ufetchstore 38 1.19 maxv .if ${MACHINE} == "amd64" 39 1.19 maxv SUBDIR+= x86_pte_tester 40 1.19 maxv .endif 41 1.16 thorpej 42 1.1 jmmv .include <bsd.test.mk> 43