From c1e3f7b1a32ae82bac065546721831d4ceacea74 Mon Sep 17 00:00:00 2001 From: Sergey Kopienko Date: Wed, 25 Feb 2026 10:01:22 +0100 Subject: [PATCH 1/3] test/CMakeLists.txt - add enable_testing() call --- test/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index fc517f500e1..2d0b8ca601e 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -13,6 +13,8 @@ ##===----------------------------------------------------------------------===## add_subdirectory(kt) +enable_testing() + # rng_tests set (ranlux_24_48_test.pass_timeout_debug "900") # 15min set (ranlux_24_48_test.pass_timeout_release "720") # 12min From 29a2a937a4e97cd05592de024c6281f1334ca69b Mon Sep 17 00:00:00 2001 From: Sergey Kopienko Date: Wed, 25 Feb 2026 10:06:29 +0100 Subject: [PATCH 2/3] test/CMakeLists.txt - add enable_testing() call : move before add_subdirectory(kt) --- test/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 2d0b8ca601e..318ce3ddaf9 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -11,10 +11,10 @@ # See https://llvm.org/LICENSE.txt for license information. # ##===----------------------------------------------------------------------===## -add_subdirectory(kt) - enable_testing() +add_subdirectory(kt) + # rng_tests set (ranlux_24_48_test.pass_timeout_debug "900") # 15min set (ranlux_24_48_test.pass_timeout_release "720") # 12min From 4d20cf25b1916143d792fd23beb0afbd514d370e Mon Sep 17 00:00:00 2001 From: Sergey Kopienko Date: Wed, 25 Feb 2026 11:54:28 +0100 Subject: [PATCH 3/3] CMakeLists.txt - fix review comment: Let's then remove enable_testing from the root directory. --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2acfd08051c..6d70cf0ae2f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -354,7 +354,6 @@ target_include_directories(oneDPL # Setup tests ############################################################################### if (NOT _onedpl_is_subproject) - enable_testing() add_subdirectory(test) endif()