1.include <bsd.own.mk> 2 3ATF_TESTS_C+= eintr_test 4ATF_TESTS_C+= fdopen_test 5ATF_TESTS_C+= flushlbuf_test 6ATF_TESTS_C+= fmemopen2_test 7ATF_TESTS_C+= fopen2_test 8ATF_TESTS_C+= freopen_test 9ATF_TESTS_C+= getdelim_test 10ATF_TESTS_C+= gets_s_test 11ATF_TESTS_C+= mkostemp_test 12ATF_TESTS_C+= open_memstream2_test 13ATF_TESTS_C+= open_wmemstream_test 14ATF_TESTS_C+= perror_test 15ATF_TESTS_C+= print_positional_test 16ATF_TESTS_C+= printbasic_test 17ATF_TESTS_C+= printfloat_test 18ATF_TESTS_C+= scanfloat_test 19ATF_TESTS_C+= snprintf_test 20ATF_TESTS_C+= sscanf_test 21ATF_TESTS_C+= swprintf_test 22ATF_TESTS_C+= swscanf_test 23 24SRCS.fopen2_test= fopen_test.c 25 26NETBSD_ATF_TESTS_C= clearerr_test 27NETBSD_ATF_TESTS_C+= fflush_test 28NETBSD_ATF_TESTS_C+= fmemopen_test 29NETBSD_ATF_TESTS_C+= fopen_test 30NETBSD_ATF_TESTS_C+= fputc_test 31NETBSD_ATF_TESTS_C+= mktemp_test 32NETBSD_ATF_TESTS_C+= open_memstream_test 33NETBSD_ATF_TESTS_C+= popen_test 34NETBSD_ATF_TESTS_C+= printf_test 35NETBSD_ATF_TESTS_C+= scanf_test 36 37LIBADD.eintr_test+= md 38LIBADD.printfloat_test+= m 39LIBADD.scanfloat_test+= m 40 41# Older toolchains won't understand C23 %b, %wN, %wfN 42PROG_OVERRIDE_VARS+= NO_WFORMAT 43NO_WFORMAT.snprintf_test= 44NO_WFORMAT.sscanf_test= 45NO_WFORMAT.swprintf_test= 46NO_WFORMAT.swscanf_test= 47 48.if ${COMPILER_TYPE} == "gcc" 49# 90: use of assignment suppression and length modifier together in scanf format 50NO_WFORMAT.scanfloat_test= 51.endif 52 53.include "../Makefile.netbsd-tests" 54 55.include <bsd.test.mk> 56