Commit 93b1bb35 authored by Kai-Uwe Sattler's avatar Kai-Uwe Sattler
Browse files

benchmarks moved to bench

parent 7e563898
......@@ -46,6 +46,12 @@ option(BUILD_TEST_CASES
ON
)
# Build benchmarks (note: requires to set BUILD_GOOGLE_BEMCH to ON)
option(BUILD_BENCHMARKS
"build benchmarks for pipefabric"
ON
)
#Build google benchmark library with test
option(BUILD_GOOGLE_BENCH
"build google benchmark"
......@@ -296,6 +302,11 @@ target_include_directories(Catch INTERFACE test)
enable_testing()
add_subdirectory(test)
#-----------------------------------------------------------------------------------------
#
# Micro-benchmarking using Google Benchmark
#
add_subdirectory(bench)
#-----------------------------------------------------------------------------------------
#
# Installation
......
include(../../cmake/Testing.cmake.in)
if (BUILD_BENCHMARKS)
if (BUILD_GOOGLE_BENCH)
do_test(TopologyBenchmarks)
endif()
endif()
......@@ -48,7 +48,4 @@ if (BUILD_TEST_CASES)
do_test(RDBTableTest)
endif()
if (BUILD_GOOGLE_BENCH)
do_test(BenchmarkTest)
endif()
endif()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment