summaryrefslogtreecommitdiffstats
path: root/libcxx/benchmarks
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-10-10 06:31:00 +0000
committerEric Fiselier <eric@efcs.ca>2016-10-10 06:31:00 +0000
commited84f4abd47efd2a3e1d810eacdc06963432f48f (patch)
tree270e4f211511b2dcfa582f8a3f9a931f0debd9ae /libcxx/benchmarks
parent9ece2f75295bbdbc31951dd46166005abdbdcff4 (diff)
downloadbcm5719-llvm-ed84f4abd47efd2a3e1d810eacdc06963432f48f.tar.gz
bcm5719-llvm-ed84f4abd47efd2a3e1d810eacdc06963432f48f.zip
Cleanup CMake status output
llvm-svn: 283721
Diffstat (limited to 'libcxx/benchmarks')
-rw-r--r--libcxx/benchmarks/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/libcxx/benchmarks/CMakeLists.txt b/libcxx/benchmarks/CMakeLists.txt
index 673d4bbe3fd..4160157da19 100644
--- a/libcxx/benchmarks/CMakeLists.txt
+++ b/libcxx/benchmarks/CMakeLists.txt
@@ -120,7 +120,11 @@ endmacro()
file(GLOB BENCHMARK_TESTS "*.bench.cpp")
foreach(test_path ${BENCHMARK_TESTS})
get_filename_component(test_file "${test_path}" NAME)
- message(STATUS "Adding Benchmark: ${test_file}")
string(REPLACE ".bench.cpp" "" test_name "${test_file}")
+ if (NOT DEFINED ${test_name}_REPORTED)
+ message(STATUS "Adding Benchmark: ${test_file}")
+ # Only report the adding of the benchmark once.
+ set(${test_name}_REPORTED ON CACHE INTERNAL "")
+ endif()
add_benchmark_test(${test_name} ${test_file})
endforeach()
OpenPOWER on IntegriCloud