From 3926d8f41e4c59bc1533a6f78eb0facfa0f41ecc Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Thu, 9 Oct 2025 17:00:20 +0100 Subject: [PATCH] Integrate CTest for per-test reporting in tests_run --- tests/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index adfc487..c46cc82 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -33,3 +33,8 @@ add_executable(tests_run crc64.cpp spamsum.cpp crc32.c crc32.h flac.cpp lzma.cpp # Link libraries target_link_libraries(tests_run PRIVATE gtest gtest_main aaruformat) + +# Integrate with CTest (per-test reporting) +enable_testing() +include(GoogleTest) +gtest_discover_tests(tests_run)