xref: /freebsd/lib/libc/tests/gen/Makefile (revision 7afb8adff33d47f10a11368ff54bb2eec5b30165)
1# $FreeBSD$
2
3.include <bsd.own.mk>
4
5TESTSDIR=	${TESTSBASE}/lib/libc/gen
6
7ATF_TESTS_C=		arc4random_test
8ATF_TESTS_C+=		fpclassify2_test
9
10# TODO: t_closefrom, t_cpuset, t_fmtcheck, t_randomid, t_sleep
11# TODO: t_siginfo (fixes require further inspection)
12# TODO: t_sethostname_test (consistently screws up the hostname)
13
14NETBSD_ATF_TESTS_C=	alarm_test
15NETBSD_ATF_TESTS_C+=	assert_test
16NETBSD_ATF_TESTS_C+=	basedirname_test
17NETBSD_ATF_TESTS_C+=	dir_test
18NETBSD_ATF_TESTS_C+=	floatunditf_test
19NETBSD_ATF_TESTS_C+=	fnmatch_test
20NETBSD_ATF_TESTS_C+=	fpclassify_test
21NETBSD_ATF_TESTS_C+=	fpsetmask_test
22NETBSD_ATF_TESTS_C+=	fpsetround_test
23NETBSD_ATF_TESTS_C+=	ftok_test
24NETBSD_ATF_TESTS_C+=	getcwd_test
25NETBSD_ATF_TESTS_C+=	getgrent_test
26NETBSD_ATF_TESTS_C+=	glob_test
27NETBSD_ATF_TESTS_C+=	humanize_number_test
28NETBSD_ATF_TESTS_C+=	isnan_test
29NETBSD_ATF_TESTS_C+=	nice_test
30NETBSD_ATF_TESTS_C+=	pause_test
31NETBSD_ATF_TESTS_C+=	raise_test
32NETBSD_ATF_TESTS_C+=	realpath_test
33NETBSD_ATF_TESTS_C+=	setdomainname_test
34NETBSD_ATF_TESTS_C+=	sethostname_test
35NETBSD_ATF_TESTS_C+=	sleep_test
36NETBSD_ATF_TESTS_C+=	syslog_test
37NETBSD_ATF_TESTS_C+=	time_test
38NETBSD_ATF_TESTS_C+=	ttyname_test
39NETBSD_ATF_TESTS_C+=	vis_test
40
41.include "../Makefile.netbsd-tests"
42
43LDADD.humanize_number_test+=	-lutil
44DPADD.humanize_number_test+=	${LIBUTIL}
45
46LDADD.fpclassify_test+=	-lm
47DPADD.fpclassify_test+=	${LIBM}
48LDADD.fpsetround_test+=	-lm
49DPADD.fpsetround_test+=	${LIBM}
50LDADD.siginfo_test+=	-lm
51DPADD.siginfo_test+=	${LIBM}
52
53LDADD.nice_test+=	-lpthread
54DPADD.nice_test+=	${LIBPTHREAD}
55LDADD.syslog_test+=	-lpthread
56DPADD.syslog_test+=	${LIBPTHREAD}
57
58TESTS_SUBDIRS=	execve
59TESTS_SUBDIRS+=	posix_spawn
60
61.include <bsd.test.mk>
62