cmake: Delete CTest module

The `CTest` module handles `CDash` integration, which we do not use. It
is not required for testing functionality.
This commit is contained in:
Hennadii Stepanov
2024-06-26 23:31:26 +01:00
parent 4af241b320
commit 6aa576515e

View File

@@ -269,9 +269,6 @@ if(SECP256K1_BUILD_CTIME_TESTS)
unset(msan_enabled)
endif()
include(CTest)
# We do not use CTest's BUILD_TESTING because a single toggle for all tests is too coarse for our needs.
mark_as_advanced(BUILD_TESTING)
if(SECP256K1_BUILD_BENCHMARK OR SECP256K1_BUILD_TESTS OR SECP256K1_BUILD_EXHAUSTIVE_TESTS OR SECP256K1_BUILD_CTIME_TESTS OR SECP256K1_BUILD_EXAMPLES)
enable_testing()
endif()