Commit 6960e439 authored by Christophe Giboudeaux's avatar Christophe Giboudeaux

Allow running the pimkolab tests.

kdepim-runtime depends on ECM > 5.38, so the executable are created in
 the 'CMAKE_BINARY_DIR/bin' directory and not CMAKE_CURRENT_BINARY_DIR.

Note that this fix will cause more tests failures in kdepim-runtime.

Test Plan:
# ctest -R debugstreamtest
Test project /data/kde/build/kdepim-runtime
    Start 25: debugstreamtest
Could not find executable /data/kde/build/kdepim-runtime/resources/kolab/pimkolab/autotests/debugstreamtest

# ctest -R debugstreamtest
Test project /data/kde/build/kdepim-runtime
    Start 25: debugstreamtest
1/1 Test #25: debugstreamtest ..................   Passed    0.18 sec

Reviewers: mlaurent

Reviewed By: mlaurent

Subscribers: kde-pim

Tags: #kde_pim

Differential Revision:
parents 25bd6e5c a8176b68
......@@ -6,7 +6,7 @@ add_definitions(-DTEST_DATA_PATH="${CMAKE_CURRENT_SOURCE_DIR}")
macro(addTest TEST_NAME)
add_executable(${TEST_NAME} ${TEST_NAME}.cpp)
target_link_libraries(${TEST_NAME} Qt5::Test kolab_static)
add_executable(benchmarktest benchmark.cpp)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment