From: Viktor Szakats Date: Thu, 26 Feb 2026 01:11:36 +0000 (+0100) Subject: cmake: minor fixes to test targets after prev X-Git-Tag: curl-8_19_0~118 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=2239879b746c2c1c8dd087cffbef974ec2c780f8;p=thirdparty%2Fcurl.git cmake: minor fixes to test targets after prev - run tests-clang-tidy when building testbins. - drop redundant build-certs dependency for test targets. Already present via testdeps. Follow-up to aae361242f30eafacf46085ed731b1524bfd3be9 #20708 Closes #20727 --- diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index d806e8c4bb..7edfaa7ed8 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -37,14 +37,14 @@ if(CURL_BUILD_EVERYTHING) set_target_properties(testbins PROPERTIES EXCLUDE_FROM_ALL FALSE) endif() -add_custom_target(testdeps) -add_dependencies(testdeps "testbins") - if(CURL_CLANG_TIDY) add_custom_target(tests-clang-tidy) - add_dependencies(testdeps tests-clang-tidy) + add_dependencies(testbins tests-clang-tidy) endif() +add_custom_target(testdeps) +add_dependencies(testdeps "testbins") + add_subdirectory(http) add_subdirectory(server) add_subdirectory(libtest) @@ -66,7 +66,6 @@ function(curl_add_runtests _targetname _test_flags) list(APPEND _depends "${EXE_NAME}") endif() list(APPEND _depends "testdeps") - list(APPEND _depends "build-certs") endif() set(_setenvs "") if(CMAKE_CONFIGURATION_TYPES)