commit 1dfdb26: [Minor] Run all unit tests for Rspamd in run-test target

Vsevolod Stakhov vsevolod at highsecure.ru
Sat Jul 24 21:56:04 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-07-24 22:52:21 +0100
URL: https://github.com/rspamd/rspamd/commit/1dfdb2625a10f43571dcf296ebc58fd057e31bb1 (HEAD -> master)

[Minor] Run all unit tests for Rspamd in run-test target

---
 CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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)
 
 


More information about the Commits mailing list