summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-05-03 21:58:07 +0000
committerEric Fiselier <eric@efcs.ca>2016-05-03 21:58:07 +0000
commitad89e3855cdd56befdce7b2fd17fef91d36d8f79 (patch)
tree51168b6007950fde853993d605d8dcc4b284114f
parentfb1766ad687facc740871cf8ab5599472420b197 (diff)
downloadbcm5719-llvm-ad89e3855cdd56befdce7b2fd17fef91d36d8f79.tar.gz
bcm5719-llvm-ad89e3855cdd56befdce7b2fd17fef91d36d8f79.zip
Make check-libcxx dependant on libc++experimental if present.
llvm-svn: 268451
-rw-r--r--libcxx/test/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/libcxx/test/CMakeLists.txt b/libcxx/test/CMakeLists.txt
index 34a559d1a24..ae6fee187fd 100644
--- a/libcxx/test/CMakeLists.txt
+++ b/libcxx/test/CMakeLists.txt
@@ -44,10 +44,14 @@ configure_file(
${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg
@ONLY)
+if (LIBCXX_ENABLE_EXPERIMENTAL_LIBRARY)
+ set(experimental_dep cxx_experimental)
+endif()
+
add_lit_testsuite(check-libcxx
"Running libcxx tests"
${CMAKE_CURRENT_BINARY_DIR}
- DEPENDS cxx)
+ DEPENDS cxx ${experimental_dep})
if (LIBCXX_GENERATE_COVERAGE)
include(CodeCoverage)
OpenPOWER on IntegriCloud