aboutsummaryrefslogtreecommitdiffstats
path: root/vdslib/src/tests/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'vdslib/src/tests/CMakeLists.txt')
-rw-r--r--vdslib/src/tests/CMakeLists.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/vdslib/src/tests/CMakeLists.txt b/vdslib/src/tests/CMakeLists.txt
index 3780a1ea9af..b445dc3e016 100644
--- a/vdslib/src/tests/CMakeLists.txt
+++ b/vdslib/src/tests/CMakeLists.txt
@@ -1,4 +1,22 @@
# 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(vdslib_gtest_runner_app TEST
+ SOURCES
+ gtest_runner.cpp
+ DEPENDS
+ vdslib_bucketdistributiontest
+ gtest
+)
+
+vespa_add_test(
+ NAME vdslib_gtest_runner_app
+ COMMAND vdslib_gtest_runner_app
+ DEPENDS vdslib_gtest_runner_app
+)
+
+# Runner for unit tests written in CppUnit (DEPRECATED).
vespa_add_executable(vdslib_testrunner_app TEST
SOURCES
testrunner.cpp