[runtimes] Print the testing configuration in use in libunwind and libc++abi
authorLouis Dionne <ldionne.2@gmail.com>
Wed, 11 May 2022 14:16:29 +0000 (10:16 -0400)
committerLouis Dionne <ldionne.2@gmail.com>
Wed, 11 May 2022 14:18:09 +0000 (10:18 -0400)
We do it for libc++, and it's rather useful for debugging e.g. CI.

libcxxabi/CMakeLists.txt
libunwind/CMakeLists.txt

index 8d583df..e7e29dd 100644 (file)
@@ -198,6 +198,7 @@ set(LIBCXXABI_TEST_CONFIG "${CMAKE_CURRENT_SOURCE_DIR}/test/lit.site.cfg.in" CAC
 if (NOT IS_ABSOLUTE "${LIBCXXABI_TEST_CONFIG}")
   set(LIBCXXABI_TEST_CONFIG "${CMAKE_CURRENT_SOURCE_DIR}/test/configs/${LIBCXXABI_TEST_CONFIG}")
 endif()
+message(STATUS "Using libc++abi testing configuration: ${LIBCXXABI_TEST_CONFIG}")
 set(LIBCXXABI_TEST_PARAMS "" CACHE STRING
     "A list of parameters to run the Lit test suite with.")
 
index 632316b..eabb552 100644 (file)
@@ -118,6 +118,7 @@ set(LIBUNWIND_TEST_CONFIG "${LIBUNWIND_DEFAULT_TEST_CONFIG}" CACHE STRING
 if (NOT IS_ABSOLUTE "${LIBUNWIND_TEST_CONFIG}")
   set(LIBUNWIND_TEST_CONFIG "${CMAKE_CURRENT_SOURCE_DIR}/test/configs/${LIBUNWIND_TEST_CONFIG}")
 endif()
+message(STATUS "Using libunwind testing configuration: ${LIBUNWIND_TEST_CONFIG}")
 set(LIBUNWIND_TEST_PARAMS "" CACHE STRING
     "A list of parameters to run the Lit test suite with.")