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