[flang] Fix length handling in character kind implicit conversion (#74586)
[llvm-project.git] / libc / test / integration / src / stdio / CMakeLists.txt
blob61caa2e5fa17b155497f773a2748f03de76a10bc
1 add_custom_target(stdio-integration-tests)
2 add_dependencies(libc-integration-tests stdio-integration-tests)
4 # These tests are not for correctness testing, but are instead a convenient way
5 # to generate hermetic binaries for comparitive binary size testing.
6 add_integration_test(
7   sprintf_size_test
8   SUITE
9     stdio-integration-tests
10   SRCS
11     sprintf_size_test.cpp
12   DEPENDS
13     libc.src.stdio.sprintf
14   ARGS
15     "%s %c %d"
16     "First arg"
17     "a"
18     "0"
21 add_integration_test(
22   sprintf_size_test_no_sprintf
23   SUITE
24     stdio-integration-tests
25   SRCS
26     sprintf_size_test.cpp
27   ARGS
28     "%s %c %d"
29     "First arg"
30     "a"
31     "0"
32   COMPILE_OPTIONS
33     -DINTEGRATION_DISABLE_PRINTF