1configure_lit_site_cfg(
2        ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.py.in
3        ${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg.py
4        MAIN_CONFIG
5        ${CMAKE_CURRENT_SOURCE_DIR}/lit.cfg.py
6)
7
8set(STANDALONE_TEST_DEPENDS
9        FileCheck count not
10        standalone-opt
11        standalone-translate
12        )
13
14add_lit_testsuite(check-standalone "Running the standalone regression tests"
15        ${CMAKE_CURRENT_BINARY_DIR}
16        DEPENDS ${STANDALONE_TEST_DEPENDS}
17        )
18set_target_properties(check-standalone PROPERTIES FOLDER "Tests")
19
20add_lit_testsuites(STANDALONE ${CMAKE_CURRENT_SOURCE_DIR} DEPENDS ${STANDALONE_TEST_DEPENDS})
21