diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2014-11-30 17:57:31 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2014-11-30 17:57:31 +0100 |
commit | 7cbf25f2f6d38efa384c7f8e0a5b2b2d274ebb00 (patch) | |
tree | 583e0a4bdebe15c73d9860e78480517034e6ca9f /store/test/CMakeLists.txt | |
parent | 7373f1a92c2d6d0790f6a47a011c107c32064cc8 (diff) | |
download | sink-7cbf25f2f6d38efa384c7f8e0a5b2b2d274ebb00.tar.gz sink-7cbf25f2f6d38efa384c7f8e0a5b2b2d274ebb00.zip |
Moved buffertest to store/test and turned it into a reproducible benchmark.
Diffstat (limited to 'store/test/CMakeLists.txt')
-rw-r--r-- | store/test/CMakeLists.txt | 21 |
1 files changed, 21 insertions, 0 deletions
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 @@ | |||
1 | set(CMAKE_AUTOMOC ON) | ||
2 | include_directories(${CMAKE_CURRENT_BINARY_DIR}) | ||
3 | |||
4 | set(store_path "../") | ||
5 | set(store_SRCS | ||
6 | ${store_path}/database.cpp | ||
7 | ) | ||
8 | |||
9 | generate_flatbuffers(calendar) | ||
10 | |||
11 | macro(manual_tests) | ||
12 | foreach(_testname ${ARGN}) | ||
13 | add_executable(${_testname} ${_testname}.cpp ${store_SRCS}) | ||
14 | qt5_use_modules(${_testname} Core Test) | ||
15 | target_link_libraries(${_testname} lmdb) | ||
16 | endforeach(_testname) | ||
17 | endmacro(auto_tests) | ||
18 | |||
19 | manual_tests ( | ||
20 | storagebenchmark | ||
21 | ) | ||