aboutsummaryrefslogtreecommitdiffstats
path: root/vespamalloc/src/tests/overwrite/CMakeLists.txt
blob: a51ac757baa192e3f6aaa723bb80ae78f223e690 (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
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
vespa_add_executable(vespamalloc_overwrite_test_app TEST
    SOURCES
    overwrite.cpp
    DEPENDS
)
file(COPY vespamalloc.conf DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
vespa_add_executable(vespamalloc_expectsignal-overwrite_app
    SOURCES
    expectsignal.cpp
    DEPENDS
)
vespa_add_test(NAME vespamalloc_overwrite_test_app NO_VALGRIND COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/overwrite_test.sh
               DEPENDS vespamalloc_overwrite_test_app vespamalloc_expectsignal-overwrite_app
                       vespamalloc vespamallocd)

vespa_add_executable(vespamalloc_overwrite_test_with_vespamallocd_app TEST
    SOURCES
    overwrite.cpp
    DEPENDS
    vespamallocd
)
vespa_add_test(NAME vespamalloc_overwrite_test_with_vespamallocd_app NO_VALGRIND COMMAND vespamalloc_overwrite_test_with_vespamallocd_app testmemoryfill)