1 add_custom_target(bolt-unit-test-deps)
2 add_dependencies(bolt-unit-test-deps bolt-test-depends)
4 add_lit_testsuites(BOLT-UNIT
5 ${CMAKE_CURRENT_SOURCE_DIR}
6 DEPENDS bolt-unit-test-deps)
8 configure_lit_site_cfg(
9 ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.py.in
10 ${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg.py
12 ${CMAKE_CURRENT_SOURCE_DIR}/lit.cfg.py)
14 add_lit_testsuite(check-bolt-unit "Running bolt unit test suite"
15 ${CMAKE_CURRENT_BINARY_DIR}
16 EXCLUDE_FROM_CHECK_ALL
17 DEPENDS bolt-unit-test-deps)