summaryrefslogtreecommitdiffstats
path: root/test/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-07-14 14:45:46 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-07-14 14:45:46 +0100
commit7eadc580cf37a633da4c32e78de6568de4287378 (patch)
tree51bbb418b486bd67aae99f94ca9972a017ef85cf /test/CMakeLists.txt
parent4271f629ede6bbe9e5b4cbc8346c8b943dedab18 (diff)
downloadrspamd-7eadc580cf37a633da4c32e78de6568de4287378.tar.gz
rspamd-7eadc580cf37a633da4c32e78de6568de4287378.zip
Fix unit test building and starting.
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r--test/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index a133935e6..7c3312634 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -43,7 +43,7 @@ IF(NOT "${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
ADD_CUSTOM_TARGET(units-dir COMMAND
${CMAKE_COMMAND} -E make_directory "${CMAKE_CURRENT_BINARY_DIR}/lua/unit"
)
- ADD_DEPENDENCIES(rspamd-func-test units-dir)
+ ADD_DEPENDENCIES(rspamd-test units-dir)
FOREACH(_LF IN LISTS LUA_TESTS)
GET_FILENAME_COMPONENT(_NM "${_LF}" NAME)
IF("${_LF}" MATCHES "^.*/unit/.*$")
@@ -55,7 +55,7 @@ IF(NOT "${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
${CMAKE_COMMAND} -E copy_if_different ${_LF} ${_DS}
SOURCES "${_LF}"
)
- ADD_DEPENDENCIES(rspamd-func-test "${_NM}")
+ ADD_DEPENDENCIES(rspamd-test "${_NM}")
ENDFOREACH()
ADD_CUSTOM_TARGET(functional-dir COMMAND