summaryrefslogtreecommitdiffstats
path: root/storage/src/tests/CMakeLists.txt
blob: 0ee2330c4ba319591a15b087884fd723bf8c74c9 (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
30
31
32
33
34
35
36
37
# 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
)

# Runner for unit tests written in CppUnit (DEPRECATED).
vespa_add_executable(storage_testrunner_app TEST
    SOURCES
    testrunner.cpp
    DEPENDS
    storage_teststorageserver
    storage_testvisiting
    storage_testbucketdb
    storage_testcommon
    storage_testhostreporter
    storage_testdistributor
    storage_testpersistence
    storage_testfilestorage
    storage_teststatus
)

vespa_add_test(
    NAME storage_testrunner_app
    NO_VALGRIND
    COMMAND storage_testrunner_app
)