summaryrefslogtreecommitdiffstats
path: root/libcxx/test
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2018-11-14 20:38:46 +0000
committerEric Fiselier <eric@efcs.ca>2018-11-14 20:38:46 +0000
commit336a1a681189bf2b50b7bd0f8229656c58ac1b37 (patch)
treeaf32e54c51b309a92f94bea5e4f6da0090748e1e /libcxx/test
parent7f15568c400024222cc9507c78c5a76aa12f37bf (diff)
downloadbcm5719-llvm-336a1a681189bf2b50b7bd0f8229656c58ac1b37.tar.gz
bcm5719-llvm-336a1a681189bf2b50b7bd0f8229656c58ac1b37.zip
Rename cxx-benchmark-unittests target and convert to LIT.
This patch renames the cxx-benchmark-unittests to check-cxx-benchmarks and converts the target to use LIT in order to make the tests run faster and provide better output. In particular this runs each benchmark in a suite one by one, allowing more parallelism while ensuring output isn't garbage with multiple threads. Additionally, it adds the CMake flag '-DLIBCXX_BENCHMARK_TEST_ARGS=<list>' to specify what options are passed when running the benchmarks. llvm-svn: 346888
Diffstat (limited to 'libcxx/test')
-rw-r--r--libcxx/test/CMakeLists.txt13
1 files changed, 2 insertions, 11 deletions
diff --git a/libcxx/test/CMakeLists.txt b/libcxx/test/CMakeLists.txt
index f8442460a2f..9435744d3c8 100644
--- a/libcxx/test/CMakeLists.txt
+++ b/libcxx/test/CMakeLists.txt
@@ -55,17 +55,8 @@ set(LIBCXX_EXECUTOR "None" CACHE STRING
set(AUTO_GEN_COMMENT "## Autogenerated by libcxx configuration.\n# Do not edit!")
-set(LIBCXX_TEST_DEPS "")
-
-if (LIBCXX_ENABLE_EXPERIMENTAL_LIBRARY)
- list(APPEND LIBCXX_TEST_DEPS cxx_experimental)
-endif()
-if (LIBCXX_ENABLE_FILESYSTEM)
- list(APPEND LIBCXX_TEST_DEPS cxx_filesystem)
-endif()
-
-if (LIBCXX_BUILD_EXTERNAL_THREAD_LIBRARY)
- list(APPEND LIBCXX_TEST_DEPS cxx_external_threads)
+if (NOT DEFINED LIBCXX_TEST_DEPS)
+ message(FATAL_ERROR "Expected LIBCXX_TEST_DEPS to be defined")
endif()
if (LIBCXX_INCLUDE_TESTS)
OpenPOWER on IntegriCloud