summaryrefslogtreecommitdiffstats
path: root/metrics/src/tests/CMakeLists.txt
blob: 27dd72d3aa84949d3163742065d0721ff864c757 (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 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
vespa_add_executable(metrics_testrunner_app TEST
    SOURCES
    testrunner.cpp
    countmetrictest.cpp
    valuemetrictest.cpp
    metricsettest.cpp
    summetrictest.cpp
    metricmanagertest.cpp
    loadmetrictest.cpp
    snapshottest.cpp
    stresstest.cpp
    metrictest.cpp
    DEPENDS
    metrics
    vdstestlib
)

# TODO: Test with a larget chunk size to parallelize test suite runs 
vespa_add_test(
    NAME metrics_testrunner_app
    COMMAND python ${PROJECT_SOURCE_DIR}/cppunit-parallelize.py --chunks 1 $<TARGET_FILE:metrics_testrunner_app>
)