From e54be25b524316006d7a36893c8847d438df06e5 Mon Sep 17 00:00:00 2001 From: Thijs Paelman Date: Mon, 20 Oct 2025 19:58:01 +0200 Subject: 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 Signed-off-by: Sander Vrijders --- src/lib/tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/tests') 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") -- cgit v1.2.3