summaryrefslogtreecommitdiffstats
path: root/storage/src/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorGeir Storli <geirst@verizonmedia.com>2019-02-18 13:12:37 +0000
committerGeir Storli <geirst@verizonmedia.com>2019-02-18 13:35:35 +0000
commitf82f1cec65c02aff71039127ac361657e70ce06b (patch)
tree8401e58be7e33dc6b82a74ad3481588570142a90 /storage/src/tests/CMakeLists.txt
parent1256e16527f31f6446690fe0b563215caae45d20 (diff)
Add gtest runner in storage and migrate bucketmovertest from CppUnit to gtest.
Diffstat (limited to 'storage/src/tests/CMakeLists.txt')
-rw-r--r--storage/src/tests/CMakeLists.txt18
1 files changed, 17 insertions, 1 deletions
diff --git a/storage/src/tests/CMakeLists.txt b/storage/src/tests/CMakeLists.txt
index a0264bf2946..77582a17fb8 100644
--- a/storage/src/tests/CMakeLists.txt
+++ b/storage/src/tests/CMakeLists.txt
@@ -1,10 +1,26 @@
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+
+# Runner for unit tests written in gtest.
+# NOTE: All new test classes should be added here.
+vespa_add_executable(storage_gtest_runner_app TEST
+ SOURCES
+ gtest_runner.cpp
+ DEPENDS
+ storage_testbucketmover
+)
+
+vespa_add_test(
+ NAME storage_gtest_runner_app
+ COMMAND storage_gtest_runner_app
+ DEPENDS storage_gtest_runner_app
+)
+
+# Runner for unit tests written in CppUnit (DEPRECATED).
vespa_add_executable(storage_testrunner_app TEST
SOURCES
testrunner.cpp
DEPENDS
storage_teststorageserver
- storage_testbucketmover
storage_testvisiting
storage_testbucketdb
storage_testcommon