blob: 7f221a599dbe47a703983aea0fd4f0f4c2757efc [file]
add_libc_testsuite(libc-sys-random-tests)
add_libc_test(
getrandom_test
SUITE
libc-sys-random-tests
SRCS
getrandom_test.cpp
DEPENDS
libc.include.sys_random
libc.src.math.fabs
libc.src.sys.random.getrandom
libc.test.UnitTest.ErrnoCheckingTest
libc.test.UnitTest.ErrnoSetterMatcher
)
add_libc_test(
getentropy_test
SUITE
libc-sys-random-tests
SRCS
getentropy_test.cpp
DEPENDS
libc.hdr.errno_macros
libc.src.sys.random.getentropy
libc.test.UnitTest.ErrnoCheckingTest
libc.test.UnitTest.ErrnoSetterMatcher
)