From 535fba02cd27020f9c64dcbe4e97584a145816d4 Mon Sep 17 00:00:00 2001 From: Thijs Paelman Date: Tue, 4 Nov 2025 13:35:52 +0100 Subject: build: Include tests in 'all' target When BUILD_TESTING=ON, then the default 'all' target will now build also the tests. This behaviour could be controlled by an extra variable (see https://stackoverflow.com/a/42235335), but this increases complexity without many benefits. Signed-off-by: Thijs Paelman Signed-off-by: Sander Vrijders --- src/irmd/tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/irmd/tests') diff --git a/src/irmd/tests/CMakeLists.txt b/src/irmd/tests/CMakeLists.txt index e860acce..4b62261c 100644 --- a/src/irmd/tests/CMakeLists.txt +++ b/src/irmd/tests/CMakeLists.txt @@ -7,7 +7,7 @@ create_test_sourcelist(${src_folder}_tests test_suite.c oap_test.c ) -add_executable(${src_folder}_test EXCLUDE_FROM_ALL ${${src_folder}_tests}) +add_executable(${src_folder}_test ${${src_folder}_tests}) target_link_libraries(${src_folder}_test ouroboros-common) add_dependencies(check ${src_folder}_test) -- cgit v1.2.3