aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/tests/common/CMakeLists.txt
blob: 5d5b04d809576fc541b976c31b6b63b68ad12aba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
find_package(GTest REQUIRED)
vespa_add_library(storage_testcommon TEST
    SOURCES
    dummystoragelink.cpp
    message_sender_stub.cpp
    testhelper.cpp
    testnodestateupdater.cpp
    teststorageapp.cpp
    DEPENDS
    storage
)

vespa_add_executable(storage_common_gtest_runner_app TEST
    SOURCES
    global_bucket_space_distribution_converter_test.cpp
    gtest_runner.cpp
    metricstest.cpp
    storagelinktest.cpp
    DEPENDS
    storage_testcommon
    storage
    GTest::GTest
)

vespa_add_test(
    NAME storage_common_gtest_runner_app
    COMMAND storage_common_gtest_runner_app
)