From 7cbf25f2f6d38efa384c7f8e0a5b2b2d274ebb00 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Sun, 30 Nov 2014 17:57:31 +0100 Subject: Moved buffertest to store/test and turned it into a reproducible benchmark. --- store/test/CMakeLists.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 store/test/CMakeLists.txt (limited to 'store/test/CMakeLists.txt') diff --git a/store/test/CMakeLists.txt b/store/test/CMakeLists.txt new file mode 100644 index 0000000..4743cfb --- /dev/null +++ b/store/test/CMakeLists.txt @@ -0,0 +1,21 @@ +set(CMAKE_AUTOMOC ON) +include_directories(${CMAKE_CURRENT_BINARY_DIR}) + +set(store_path "../") +set(store_SRCS + ${store_path}/database.cpp +) + +generate_flatbuffers(calendar) + +macro(manual_tests) + foreach(_testname ${ARGN}) + add_executable(${_testname} ${_testname}.cpp ${store_SRCS}) + qt5_use_modules(${_testname} Core Test) + target_link_libraries(${_testname} lmdb) + endforeach(_testname) +endmacro(auto_tests) + +manual_tests ( + storagebenchmark +) -- cgit v1.2.3