By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 2695
Collapse All | Expand All

(-)a/tdeabc/vcardparser/CMakeLists.txt (-26 / +12 lines)
Lines 90-123 tde_add_executable( testvcardformatimpl Link Here
90
  LINK ${TDEABC_TESTS_LINK}
90
  LINK ${TDEABC_TESTS_LINK}
91
)
91
)
92
92
93
add_custom_target(test ALL echo "performing tests on vcardparser"
93
add_custom_target( vcardparser_tests ALL
94
   COMMAND bash ./test.sh
94
  COMMENT "[VCardParser] Performing tests"
95
   DEPENDS testing
95
  COMMAND bash ./test.sh
96
   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
96
  DEPENDS
97
)
97
    ${CMAKE_CURRENT_BINARY_DIR}/tests_environment
98
98
    testvcardformatimpl testvcardformat testwrite2 testwrite testread2 testread
99
add_custom_target(testing ALL echo "creating test infrastructure"
100
   DEPENDS testvcardformatimpl testvcardformat testwrite2 testwrite testread2 testread
101
   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
102
)
103
104
add_custom_command(
105
  TARGET testing PRE_BUILD
106
  COMMAND test
107
  ARGS -f ${CMAKE_CURRENT_BINARY_DIR}/test.sh || ln -s ${CMAKE_SOURCE_DIR}/tdeabc/vcardparser/test.sh ${CMAKE_CURRENT_BINARY_DIR}
108
  WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
99
  WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
109
)
100
)
110
101
111
add_custom_command(
102
add_custom_command(
112
  TARGET testing PRE_BUILD
103
  OUTPUT tests_environment
113
  COMMAND test
104
  COMMENT "[VCardParser] Creating tests infrastructure"
114
  ARGS -f ${CMAKE_CURRENT_BINARY_DIR}/checkvcard.pl || ln -s ${CMAKE_SOURCE_DIR}/tdeabc/vcardparser/checkvcard.pl ${CMAKE_CURRENT_BINARY_DIR}
105
  COMMAND ln -s ${CMAKE_CURRENT_SOURCE_DIR}/test.sh ${CMAKE_CURRENT_BINARY_DIR}
115
  WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
106
  COMMAND ln -s ${CMAKE_CURRENT_SOURCE_DIR}/checkvcard.pl ${CMAKE_CURRENT_BINARY_DIR}
116
)
107
  COMMAND ln -s ${CMAKE_CURRENT_SOURCE_DIR}/tests ${CMAKE_CURRENT_BINARY_DIR}
117
108
  COMMAND touch ${CMAKE_CURRENT_BINARY_DIR}/tests_environment
118
add_custom_command(
119
  TARGET testing PRE_BUILD
120
  COMMAND test
121
  ARGS -d ${CMAKE_CURRENT_BINARY_DIR}/tests || ln -s ${CMAKE_SOURCE_DIR}/tdeabc/vcardparser/tests ${CMAKE_CURRENT_BINARY_DIR}
122
  WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
123
)
109
)

Return to bug 2695