aboutsummaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-12-31 18:26:01 +0000
committerKyle Evans <kevans@FreeBSD.org>2020-12-31 18:26:01 +0000
commit9e1281eabafa4aaf84828e70488c1802717b59af (patch)
treece4478c06c730cd146b4d63a14612d15e99c94e8 /lib/libc
parentac5f382a9d0a26685b92b49abb845d3b30ea5f91 (diff)
downloadsrc-9e1281eabafa4aaf84828e70488c1802717b59af.tar.gz
src-9e1281eabafa4aaf84828e70488c1802717b59af.zip
libc: tests: hook CPUSET(9) test up to the build
Add shims to map NetBSD's API to CPUSET(9). Obviously the invalid input parts of these tests are relatively useless since we're just testing the shims that aren't used elsewhere, there's still some amount of value in the parts testing valid inputs. Differential Revision: https://reviews.freebsd.org/D27307
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/tests/gen/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/tests/gen/Makefile b/lib/libc/tests/gen/Makefile
index 2096f2066e52..a808f6617ec7 100644
--- a/lib/libc/tests/gen/Makefile
+++ b/lib/libc/tests/gen/Makefile
@@ -20,7 +20,7 @@ ATF_TESTS_C+= realpath2_test
ATF_TESTS_C+= sigsetops_test
ATF_TESTS_C+= wordexp_test
-# TODO: t_closefrom, t_cpuset, t_fmtcheck, t_randomid,
+# TODO: t_closefrom, t_fmtcheck, t_randomid,
# TODO: t_siginfo (fixes require further inspection)
# TODO: t_sethostname_test (consistently screws up the hostname)
@@ -47,6 +47,7 @@ CFLAGS+= -D__HAVE_LONG_DOUBLE
NETBSD_ATF_TESTS_C= alarm_test
NETBSD_ATF_TESTS_C+= assert_test
NETBSD_ATF_TESTS_C+= basedirname_test
+NETBSD_ATF_TESTS_C+= cpuset_test
NETBSD_ATF_TESTS_C+= dir_test
NETBSD_ATF_TESTS_C+= floatunditf_test
NETBSD_ATF_TESTS_C+= fnmatch_test