1 2# ensure libc functions are tested, not clang's builtins 3CFLAGS+= -fno-builtin 4 5ATF_TESTS_C+= ffs_test 6ATF_TESTS_C+= ffsl_test 7ATF_TESTS_C+= ffsll_test 8ATF_TESTS_C+= fls_test 9ATF_TESTS_C+= flsl_test 10ATF_TESTS_C+= flsll_test 11ATF_TESTS_C+= memcmp_test 12ATF_TESTS_C+= memset_s_test 13ATF_TESTS_C+= stpncpy_test 14ATF_TESTS_C+= strerror2_test 15ATF_TESTS_C+= strverscmp_test 16ATF_TESTS_C+= strxfrm_test 17ATF_TESTS_C+= wcscasecmp_test 18ATF_TESTS_C+= wcscoll_test 19ATF_TESTS_C+= wcsnlen_test 20 21# TODO: popcount, stresep 22 23NETBSD_ATF_TESTS_C+= memchr_test 24NETBSD_ATF_TESTS_C+= memcpy_test 25NETBSD_ATF_TESTS_C+= memmem_test 26NETBSD_ATF_TESTS_C+= memset_test 27NETBSD_ATF_TESTS_C+= strcat_test 28NETBSD_ATF_TESTS_C+= strchr_test 29NETBSD_ATF_TESTS_C+= strchrnul_test 30NETBSD_ATF_TESTS_C+= strcmp_test 31NETBSD_ATF_TESTS_C+= strcpy_test 32NETBSD_ATF_TESTS_C+= strcspn_test 33NETBSD_ATF_TESTS_C+= strerror_test 34NETBSD_ATF_TESTS_C+= strlen_test 35NETBSD_ATF_TESTS_C+= strpbrk_test 36NETBSD_ATF_TESTS_C+= strrchr_test 37NETBSD_ATF_TESTS_C+= strspn_test 38NETBSD_ATF_TESTS_C+= swab_test 39 40SRCS.strerror2_test= strerror_test.c 41 42.include "../Makefile.netbsd-tests" 43 44LIBADD.memchr_test+= md 45LIBADD.memcpy_test+= md 46 47.include <bsd.test.mk> 48