From 6c96be1cfa8c6bd21765f5fc45e492293e957144 Mon Sep 17 00:00:00 2001 From: Ghislain Vaillant Date: Sat, 3 Jan 2026 14:23:50 +0100 Subject: [PATCH] Register test with CMake --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9329feb..1eba166 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -269,6 +269,8 @@ if (spoa_build_exe) endif () if (spoa_build_tests) + enable_testing() + set(SPOA_TEST_DATA "${PROJECT_SOURCE_DIR}/test/data/sample.fastq.gz") configure_file(test/spoa_test_config.h.in spoa_test_config.h) @@ -283,4 +285,6 @@ if (spoa_build_tests) target_include_directories(spoa_test PUBLIC $) + + add_test(NAME spoa-test COMMAND spoa_test) endif ()