]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Run all unit tests for Rspamd in run-test target
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 24 Jul 2021 21:52:21 +0000 (22:52 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 24 Jul 2021 21:52:21 +0000 (22:52 +0100)
CMakeLists.txt

index 976653aa1cb84bda2719c4139b230c46cdc46e44..43af327b2204833441a1b2f738179a6160eb100b 100644 (file)
@@ -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)