summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThijs Paelman <thijs@ouroboros.rocks>2025-10-20 19:58:01 +0200
committerSander Vrijders <sander@ouroboros.rocks>2025-11-21 08:21:38 +0100
commite54be25b524316006d7a36893c8847d438df06e5 (patch)
tree10ff3be23540cdc89c62912af6e57a06093721d4 /src
parent7dd1cd18373a6c64ecea8caf231e10a00764f705 (diff)
downloadouroboros-e54be25b524316006d7a36893c8847d438df06e5.tar.gz
ouroboros-e54be25b524316006d7a36893c8847d438df06e5.zip
build: Add build_tests target
This intermediate target only builds all the tests, it doesn't run them. It is added for clarifying the different steps involved in testing. The 'check' target still builds AND runs the tests as before. Signed-off-by: Thijs Paelman <thijs@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src')
-rw-r--r--src/ipcpd/unicast/dir/tests/CMakeLists.txt2
-rw-r--r--src/ipcpd/unicast/pff/tests/CMakeLists.txt2
-rw-r--r--src/ipcpd/unicast/routing/tests/CMakeLists.txt2
-rw-r--r--src/irmd/reg/tests/CMakeLists.txt2
-rw-r--r--src/irmd/tests/CMakeLists.txt2
-rw-r--r--src/lib/tests/CMakeLists.txt2
6 files changed, 6 insertions, 6 deletions
diff --git a/src/ipcpd/unicast/dir/tests/CMakeLists.txt b/src/ipcpd/unicast/dir/tests/CMakeLists.txt
index 897f1ec2..f5f5a74c 100644
--- a/src/ipcpd/unicast/dir/tests/CMakeLists.txt
+++ b/src/ipcpd/unicast/dir/tests/CMakeLists.txt
@@ -25,7 +25,7 @@ add_executable(${PARENT_DIR}_test ${${PARENT_DIR}_tests}
${DHT_PROTO_SRCS})
target_link_libraries(${PARENT_DIR}_test ouroboros-common)
-add_dependencies(check ${PARENT_DIR}_test)
+add_dependencies(build_tests ${PARENT_DIR}_test)
set(tests_to_run ${${PARENT_DIR}_tests})
if(CMAKE_VERSION VERSION_LESS "3.29.0")
diff --git a/src/ipcpd/unicast/pff/tests/CMakeLists.txt b/src/ipcpd/unicast/pff/tests/CMakeLists.txt
index 99c32e7a..d224dac0 100644
--- a/src/ipcpd/unicast/pff/tests/CMakeLists.txt
+++ b/src/ipcpd/unicast/pff/tests/CMakeLists.txt
@@ -23,7 +23,7 @@ create_test_sourcelist(${PARENT_DIR}_tests test_suite.c
add_executable(${PARENT_DIR}_test ${${PARENT_DIR}_tests})
target_link_libraries(${PARENT_DIR}_test ouroboros-common)
-add_dependencies(check ${PARENT_DIR}_test)
+add_dependencies(build_tests ${PARENT_DIR}_test)
set(tests_to_run ${${PARENT_DIR}_tests})
if(CMAKE_VERSION VERSION_LESS "3.29.0")
diff --git a/src/ipcpd/unicast/routing/tests/CMakeLists.txt b/src/ipcpd/unicast/routing/tests/CMakeLists.txt
index b5011474..7b549995 100644
--- a/src/ipcpd/unicast/routing/tests/CMakeLists.txt
+++ b/src/ipcpd/unicast/routing/tests/CMakeLists.txt
@@ -23,7 +23,7 @@ create_test_sourcelist(${PARENT_DIR}_tests test_suite.c
add_executable(${PARENT_DIR}_test ${${PARENT_DIR}_tests})
target_link_libraries(${PARENT_DIR}_test ouroboros-common)
-add_dependencies(check ${PARENT_DIR}_test)
+add_dependencies(build_tests ${PARENT_DIR}_test)
set(tests_to_run ${${PARENT_DIR}_tests})
if(CMAKE_VERSION VERSION_LESS "3.29.0")
diff --git a/src/irmd/reg/tests/CMakeLists.txt b/src/irmd/reg/tests/CMakeLists.txt
index 73df911b..d2907a93 100644
--- a/src/irmd/reg/tests/CMakeLists.txt
+++ b/src/irmd/reg/tests/CMakeLists.txt
@@ -18,7 +18,7 @@ if (CMAKE_BUILD_TYPE MATCHES "Debug*")
add_compile_flags(${src_folder}_test -DCONFIG_OUROBOROS_DEBUG)
endif ()
-add_dependencies(check ${src_folder}_test)
+add_dependencies(build_tests ${src_folder}_test)
set(tests_to_run ${${src_folder}_tests})
if(CMAKE_VERSION VERSION_LESS "3.29.0")
diff --git a/src/irmd/tests/CMakeLists.txt b/src/irmd/tests/CMakeLists.txt
index 4b62261c..5bef0064 100644
--- a/src/irmd/tests/CMakeLists.txt
+++ b/src/irmd/tests/CMakeLists.txt
@@ -10,7 +10,7 @@ create_test_sourcelist(${src_folder}_tests test_suite.c
add_executable(${src_folder}_test ${${src_folder}_tests})
target_link_libraries(${src_folder}_test ouroboros-common)
-add_dependencies(check ${src_folder}_test)
+add_dependencies(build_tests ${src_folder}_test)
set(tests_to_run ${${src_folder}_tests})
if(CMAKE_VERSION VERSION_LESS "3.29.0")
diff --git a/src/lib/tests/CMakeLists.txt b/src/lib/tests/CMakeLists.txt
index c795c1ac..752d9065 100644
--- a/src/lib/tests/CMakeLists.txt
+++ b/src/lib/tests/CMakeLists.txt
@@ -21,7 +21,7 @@ add_executable(${PARENT_DIR}_test ${${PARENT_DIR}_tests})
target_link_libraries(${PARENT_DIR}_test ouroboros-common)
-add_dependencies(check ${PARENT_DIR}_test)
+add_dependencies(build_tests ${PARENT_DIR}_test)
set(tests_to_run ${${PARENT_DIR}_tests})
if(CMAKE_VERSION VERSION_LESS "3.29.0")