summaryrefslogtreecommitdiff
path: root/libc/test/src/sys/random/linux/CMakeLists.txt
blob: e913cd2cfcae84638d993226e28b39c141cef4a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
add_custom_target(libc_sys_random_unittests)

add_libc_unittest(
  getrandom_test
  SUITE
    libc_sys_random_unittests
  SRCS
    getrandom_test.cpp
  DEPENDS
    libc.include.sys_random
    libc.src.errno.errno
    libc.src.math.fabs
    libc.src.sys.random.getrandom
    libc.test.UnitTest.ErrnoCheckingTest
    libc.test.UnitTest.ErrnoSetterMatcher
)