From: Vsevolod Stakhov Date: Sat, 24 Jul 2021 21:52:21 +0000 (+0100) Subject: [Minor] Run all unit tests for Rspamd in run-test target X-Git-Tag: 3.0~102 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1dfdb2625a10f43571dcf296ebc58fd057e31bb1;p=rspamd.git [Minor] Run all unit tests for Rspamd in run-test target --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 976653aa1..43af327b2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -786,8 +786,8 @@ ADD_CUSTOM_TARGET(dist ${CMAKE_SOURCE_DIR}/dist.sh WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}) IF(NOT DEBIAN_BUILD) - ADD_CUSTOM_TARGET(check DEPENDS rspamd-test-cxx) - ADD_CUSTOM_TARGET(run-test DEPENDS check COMMAND test/rspamd-test-cxx) + ADD_CUSTOM_TARGET(check DEPENDS rspamd-test-cxx rspamd-test) + ADD_CUSTOM_TARGET(run-test DEPENDS check COMMAND test/rspamd-test-cxx COMMAND test/rspamd-test -p /rspamd/lua) ENDIF(NOT DEBIAN_BUILD)