diff options
author | Geir Storli <geirst@verizonmedia.com> | 2019-02-18 13:43:16 +0000 |
---|---|---|
committer | Geir Storli <geirst@verizonmedia.com> | 2019-02-18 13:43:16 +0000 |
commit | a0d5c322fa46e5e3ddc57eb2bfab09b792bd604c (patch) | |
tree | 25b540ca1c3d00e014486efbf93ec4b67db9d04c /storageapi/src/tests/CMakeLists.txt | |
parent | 967cf73255ec1495c5a7bf8070992aa8781ff158 (diff) |
Add gtest runner in storageapi and migrate bucketinfotest from CppUnit to gtest.
Diffstat (limited to 'storageapi/src/tests/CMakeLists.txt')
-rw-r--r-- | storageapi/src/tests/CMakeLists.txt | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/storageapi/src/tests/CMakeLists.txt b/storageapi/src/tests/CMakeLists.txt index e116be29050..d4486105c8b 100644 --- a/storageapi/src/tests/CMakeLists.txt +++ b/storageapi/src/tests/CMakeLists.txt @@ -1,9 +1,27 @@ # 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(storageapi_gtest_runner_app TEST + SOURCES + gtest_runner.cpp + DEPENDS + storageapi_testbuckets + storageapi + gtest +) + +vespa_add_test( + NAME storageapi_gtest_runner_app + COMMAND storageapi_gtest_runner_app + DEPENDS storageapi_gtest_runner_app +) + +# Runner for unit tests written in CppUnit (DEPRECATED). vespa_add_executable(storageapi_testrunner_app TEST SOURCES testrunner.cpp DEPENDS - storageapi_testbuckets storageapi_testmessageapi storageapi_testmbusprot storageapi |