1 if(LLVM_LIBC_FULL_BUILD)
4 set(NEWHDGEN_TESTS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/tests)
5 set(TEST_OUTPUT_DIR ${CMAKE_BINARY_DIR}/newhdrgen/output)
8 NAME newhdrgen_integration_test
9 COMMAND python3 ${NEWHDGEN_TESTS_DIR}/test_integration.py --output_dir ${TEST_OUTPUT_DIR}
12 add_custom_target(check-newhdrgen
13 COMMAND ${CMAKE_CTEST_COMMAND} -R newhdrgen_integration_test --output-on-failure
16 message(STATUS "Integration test for newhdrgen added.")