mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 19:24:40 +00:00
Integrate CTest for per-test reporting in tests_run
This commit is contained in:
@@ -33,3 +33,8 @@ add_executable(tests_run crc64.cpp spamsum.cpp crc32.c crc32.h flac.cpp lzma.cpp
|
|||||||
|
|
||||||
# Link libraries
|
# Link libraries
|
||||||
target_link_libraries(tests_run PRIVATE gtest gtest_main aaruformat)
|
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user