[libcxx] r268887 - Generate code coverage for experimental libraries

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Sun May 8 16:08:50 PDT 2016


Author: ericwf
Date: Sun May  8 18:08:50 2016
New Revision: 268887

URL: http://llvm.org/viewvc/llvm-project?rev=268887&view=rev
Log:
Generate code coverage for experimental libraries

Modified:
    libcxx/trunk/test/CMakeLists.txt

Modified: libcxx/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/CMakeLists.txt?rev=268887&r1=268886&r2=268887&view=diff
==============================================================================
--- libcxx/trunk/test/CMakeLists.txt (original)
+++ libcxx/trunk/test/CMakeLists.txt Sun May  8 18:08:50 2016
@@ -56,7 +56,7 @@ add_lit_testsuite(check-libcxx
 if (LIBCXX_GENERATE_COVERAGE)
   include(CodeCoverage)
   set(output_dir "${CMAKE_CURRENT_BINARY_DIR}/coverage")
-  set(capture_dirs "${LIBCXX_LIB_CMAKEFILES_DIR}/cxx.dir/;${CMAKE_CURRENT_BINARY_DIR}")
+  set(capture_dirs "${LIBCXX_LIB_CMAKEFILES_DIR}/cxx.dir/;${LIBCXX_LIB_CMAKEFILES_DIR}/cxx_experimental.dir/;${CMAKE_CURRENT_BINARY_DIR}")
   set(extract_dirs "${LIBCXX_SOURCE_DIR}/include;${LIBCXX_SOURCE_DIR}/src")
   setup_lcov_test_target_coverage("cxx" "${output_dir}" "${capture_dirs}" "${extract_dirs}")
 endif()




More information about the cfe-commits mailing list