brintos

brintos / llvm-project-archived public Read only

0
0
Text · 954 B · 8864563 Raw
34 lines · plain
1llvm_canonicalize_cmake_booleans(2        MLIR_ENABLE_BINDINGS_PYTHON3)4 5configure_lit_site_cfg(6        ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.py.in7        ${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg.py8        MAIN_CONFIG9        ${CMAKE_CURRENT_SOURCE_DIR}/lit.cfg.py10)11 12set(STANDALONE_TEST_DEPENDS13        FileCheck count not14        standalone-capi-test15        standalone-opt16        standalone-translate17        )18if(NOT WIN32)19  list(APPEND STANDALONE_TEST_DEPENDS StandalonePlugin)20endif()21if(MLIR_ENABLE_BINDINGS_PYTHON)22  list(APPEND STANDALONE_TEST_DEPENDS StandalonePythonModules)23endif()24 25add_lit_testsuite(check-standalone "Running the standalone regression tests"26        ${CMAKE_CURRENT_BINARY_DIR}27        DEPENDS ${STANDALONE_TEST_DEPENDS}28        )29set_target_properties(check-standalone PROPERTIES FOLDER "Tests")30 31add_lit_testsuites(STANDALONE ${CMAKE_CURRENT_SOURCE_DIR} DEPENDS ${STANDALONE_TEST_DEPENDS})32 33add_subdirectory(CAPI)34