summaryrefslogtreecommitdiff
path: root/libc/test/src/assert/CMakeLists.txt
blob: e66aca8307eeb97a9129a6ce6e72d987a99482e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
add_custom_target(libc_assert_unittests)

add_libc_unittest(
  assert_test
  SUITE
    libc_assert_unittests
  SRCS
    assert_test.cpp
  DEPENDS
    libc.src.assert.__assert_fail
    # These are necessary for now because dependencies are not properly added.
    libc.src.signal.raise
    libc.src.stdlib._Exit
    libc.src.stdlib.abort
)