diff options
author | Emanoil Kotsev <deloptes@gmail.com> | 2016-09-26 21:20:31 +0900 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2017-07-22 15:56:46 +0200 |
commit | 6b9a3998f0df94ebfe4477c2aaf4c393258bf1ef (patch) | |
tree | f50f1890bccd5087d7bdaec9d1dd14f0abfc0efb /kabc/vcardparser/CMakeLists.txt | |
parent | af445343bde717615fbd38d06641f3bd31cb245a (diff) | |
download | tdelibs-6b9a3998f0df94ebfe4477c2aaf4c393258bf1ef.tar.gz tdelibs-6b9a3998f0df94ebfe4477c2aaf4c393258bf1ef.zip |
Fixed vcardparser tests during building. This resolves bug 2695.
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
Removed not-required part of the patch from original Emanoil's patch (empty spaces at the end of line)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 13e032939ea40c33e4964b54bf755a6f1c9d70be)
Diffstat (limited to 'kabc/vcardparser/CMakeLists.txt')
-rw-r--r-- | kabc/vcardparser/CMakeLists.txt | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/kabc/vcardparser/CMakeLists.txt b/kabc/vcardparser/CMakeLists.txt index f80b6aa87..462c20e47 100644 --- a/kabc/vcardparser/CMakeLists.txt +++ b/kabc/vcardparser/CMakeLists.txt @@ -90,9 +90,14 @@ tde_add_executable( testvcardformatimpl LINK ${TDEABC_TESTS_LINK} ) -add_custom_target(testing ALL - COMMAND echo "creating test infrastructure" - DEPENDS testread +add_custom_target(test ALL echo "performing tests on vcardparser" + COMMAND bash ./test.sh + DEPENDS testing + WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} +) + +add_custom_target(testing ALL echo "creating test infrastructure" + DEPENDS testvcardformatimpl testvcardformat testwrite2 testwrite testread2 testread WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} ) |