aboutsummaryrefslogtreecommitdiffstats
path: root/vdstestlib/src/tests/cppunit/CMakeLists.txt
blob: 5cb577ce70e06d0cf47d649946c5c5003ac9aec8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
vespa_add_executable(vdstestlib_testrunner_app TEST
    SOURCES
    testrunner.cpp
    cppunittest.cpp
    DEPENDS
    vdstestlib
)

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