Commit d31977bb by Dominic Hamon

Added gtest CHECK symbol to benchmark test

parent 2aa24420
......@@ -2,7 +2,8 @@ find_package(Threads REQUIRED)
# Demonstration executable
add_executable(benchmark_test benchmark_test.cc)
target_link_libraries(benchmark_test benchmark ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries(benchmark_test benchmark gtest ${CMAKE_THREAD_LIBS_INIT})
add_dependencies(benchmark_test googletest)
add_test(benchmark benchmark_test 50)
add_test(benchmark_filter_simple benchmark_test --benchmark_filter=Calculate 16)
add_test(benchmark_filter_prefix benchmark_test --benchmark_filter=*Calculate 0)
......
......@@ -14,6 +14,8 @@
#include <string>
#include <vector>
#include <gtest/gtest.h>
namespace {
#ifdef DEBUG
......
Markdown is supported
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