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