Add cxx-benchmark-unittests target
authorEric Fiselier <eric@efcs.ca>
Tue, 13 Nov 2018 23:08:31 +0000 (23:08 +0000)
committerEric Fiselier <eric@efcs.ca>
Tue, 13 Nov 2018 23:08:31 +0000 (23:08 +0000)
commit02f8e7c3558685e87a4c440ccfaedb8c35a5297d
tree6780930e1dfd775073ec9f5fbba683faac80e54c
parent3c87c2a3c50bdc35a65af101318e6282e51d0d9c
Add cxx-benchmark-unittests target

This patch adds the cxx-benchmark-unittests target so we can start
getting test coverage on the benchmarks, including building with
sanitizers. Because we're only looking for test-coverage, the benchmarks
run for the shortest time possible, and in parallel.

The target is excluded from all by default. It only
builds and runs the libcxx configurations of the benchmarks, and not
any versions built against the systems native standard library.

llvm-svn: 346811
libcxx/CMakeLists.txt
libcxx/benchmarks/CMakeLists.txt
libcxx/cmake/Modules/HandleLibcxxFlags.cmake