22 lines · plain
1add_custom_target(stdio-gpu-integration-tests)2add_dependencies(libc-integration-tests stdio-gpu-integration-tests)3 4# Create an output directory for any temporary test files.5file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/testdata)6 7# These tests are not for correctness testing, but are instead a convenient way8# to generate hermetic binaries for comparitive binary size testing.9add_integration_test(10 printf_test11 SUITE12 stdio-gpu-integration-tests13 SRCS14 printf_test.cpp15 DEPENDS16 libc.src.stdio.fprintf17 libc.src.stdio.fopen18 LOADER_ARGS19 --threads 3220 --blocks 421)22