1 # $NetBSD: Makefile,v 1.47 2023/08/19 22:56:43 christos Exp $ 2 3 .include <bsd.own.mk> 4 5 .if ${MKATF} != "no" 6 7 TESTSDIR= ${TESTSBASE} 8 9 TESTS_SUBDIRS= bin compat dev games include kernel lib libexec net 10 TESTS_SUBDIRS+= sbin sys usr.bin usr.sbin 11 12 . if (${MKRUMP} != "no") && !defined(BSD_MK_COMPAT_FILE) 13 TESTS_SUBDIRS+= fs rump 14 15 . if ${MKKMOD} != "no" 16 TESTS_SUBDIRS+= modules 17 . endif 18 . endif 19 20 TESTS_SUBDIRS+= crypto 21 22 . if ${MKIPFILTER} != "no" 23 TESTS_SUBDIRS+= ipf 24 . endif 25 26 . if ${MKSHARE} != "no" 27 TESTS_SUBDIRS+= share 28 . endif 29 30 . if ${MKATF} != "no" 31 ATFFILE_EXTRA_SUBDIRS+= atf 32 . endif 33 34 . if ${MKKYUA} != "no" 35 ATFFILE_EXTRA_SUBDIRS+= kyua-atf-compat kyua-cli kyua-testers 36 . endif 37 38 .include <bsd.test.mk> 39 40 .else 41 42 .include <bsd.subdir.mk> 43 .endif 44