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