[libcxx-commits] [libcxx] 6427c53 - [libc++] Use add_lit_testsuite to register the libc++ test suite

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Mar 24 13:47:40 PDT 2021


Author: Louis Dionne
Date: 2021-03-24T16:47:34-04:00
New Revision: 6427c53940a3d66ba90f72075554431066c5919d

URL: https://github.com/llvm/llvm-project/commit/6427c53940a3d66ba90f72075554431066c5919d
DIFF: https://github.com/llvm/llvm-project/commit/6427c53940a3d66ba90f72075554431066c5919d.diff

LOG: [libc++] Use add_lit_testsuite to register the libc++ test suite

The Runtimes build uses variables set by add_lit_testsuite to discover
tests suites to run.

Differential Revision: https://reviews.llvm.org/D97913

Added: 
    

Modified: 
    libcxx/test/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libcxx/test/CMakeLists.txt b/libcxx/test/CMakeLists.txt
index 61ef4aea3c7f9..0892822b943ae 100644
--- a/libcxx/test/CMakeLists.txt
+++ b/libcxx/test/CMakeLists.txt
@@ -103,7 +103,7 @@ if (LIBCXX_INCLUDE_TESTS)
     DEPENDS cxx ${LIBCXX_TEST_DEPS}
     COMMENT "Builds dependencies required to run the test suite.")
 
-  add_lit_target(check-cxx
+  add_lit_testsuite(check-cxx
     "Running libcxx tests"
     ${CMAKE_CURRENT_BINARY_DIR}
     DEPENDS cxx-test-depends


        


More information about the libcxx-commits mailing list