From a1b7c36db5316fd9539f97c9f6516dfb4b8096c3 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Sun, 12 Jan 2025 18:05:50 +0100 Subject: [PATCH] cmake: Explicitly have tests depend on indent and key_reader --- cmake/Tests.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/Tests.cmake b/cmake/Tests.cmake index 97c698ce1..b085c2ba7 100644 --- a/cmake/Tests.cmake +++ b/cmake/Tests.cmake @@ -42,7 +42,7 @@ add_custom_target(fish_run_tests FISH_SOURCE_DIR=${CMAKE_SOURCE_DIR} ${CMAKE_CTEST_COMMAND} --force-new-ctest-process # --verbose --output-on-failure --progress - DEPENDS fish fish_test_helper + DEPENDS fish fish_indent fish_key_reader fish_test_helper USES_TERMINAL ) @@ -62,7 +62,7 @@ cmake_policy(POP) function(add_test_target NAME) string(REPLACE "/" "-" NAME ${NAME}) add_custom_target("test_${NAME}" COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -R "^${NAME}$$" - DEPENDS fish fish_test_helper USES_TERMINAL ) + DEPENDS fish fish_indent fish_key_reader fish_test_helper USES_TERMINAL) endfunction() add_executable(fish_test_helper tests/fish_test_helper.c)