summaryrefslogtreecommitdiff
path: root/libc/test/src/stdio/printf_core/CMakeLists.txt
blob: ff7ebbc4f5fd0b39809546a94173d70ff6e9c627 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
add_libc_unittest(
  parser_test
  SUITE
    libc_stdio_unittests
  SRCS
    parser_test.cpp
  LINK_LIBRARIES
    LibcPrintfHelpers
  DEPENDS
    libc.src.stdio.printf_core.parser
    libc.src.stdio.printf_core.core_structs
    libc.src.__support.CPP.string_view
    libc.src.__support.arg_list
)

add_libc_unittest(
  writer_test
  SUITE
    libc_stdio_unittests
  SRCS
    writer_test.cpp
  DEPENDS
    libc.src.stdio.printf_core.writer
    libc.src.string.memory_utils.inline_memcpy
    libc.src.__support.CPP.string_view
)

add_libc_unittest(
  converter_test
  SUITE
    libc_stdio_unittests
  SRCS
    converter_test.cpp
  DEPENDS
    libc.src.stdio.printf_core.converter
    libc.src.stdio.printf_core.writer
    libc.src.stdio.printf_core.core_structs
)