|
@@ -49,10 +49,6 @@ set(LIBCXX_EXECUTOR "None" CACHE STRING
|
|
|
|
|
|
set(AUTO_GEN_COMMENT "## Autogenerated by libcxx configuration.\n# Do not edit!")
|
|
|
|
|
|
-configure_lit_site_cfg(
|
|
|
- ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in
|
|
|
- ${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg)
|
|
|
-
|
|
|
set(LIBCXX_TEST_DEPS "")
|
|
|
|
|
|
if (LIBCXX_ENABLE_EXPERIMENTAL_LIBRARY)
|
|
@@ -64,7 +60,12 @@ if (LIBCXX_BUILD_EXTERNAL_THREAD_LIBRARY)
|
|
|
endif()
|
|
|
|
|
|
if (LIBCXX_INCLUDE_TESTS)
|
|
|
- include(AddLLVM) # for add_lit_testsuite
|
|
|
+ include(AddLLVM) # for configure_lit_site_cfg and add_lit_testsuit
|
|
|
+
|
|
|
+ configure_lit_site_cfg(
|
|
|
+ ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in
|
|
|
+ ${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg)
|
|
|
+
|
|
|
add_lit_testsuite(check-cxx
|
|
|
"Running libcxx tests"
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|