From 586675b1b19335aa93a70025d17d8795b948182b Mon Sep 17 00:00:00 2001 From: Bradley Lowekamp Date: Tue, 27 Jan 2026 15:42:25 +0000 Subject: [PATCH] BUG: Fix test variable names for remote module Remove ITK prefix from variable names as it's for internal ITK modules. Use correct SplitComponents-Test_LIBRARIES instead of ITKSplitComponents-Test_LIBRARIES. Update test driver name and related variables accordingly. --- test/CMakeLists.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index d8082e8..7013abc 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,13 +1,12 @@ itk_module_test() -set( ITKSplitComponentsTests +set( SplitComponentsTests itkSplitComponentsImageFilterTest.cxx ) -CreateTestDriver( ITKSplitComponents "${ITKSplitComponents-Test_LIBRARIES}" "${ITKSplitComponentsTests}" ) +CreateTestDriver( SplitComponents "${SplitComponents-Test_LIBRARIES}" "${SplitComponentsTests}" ) -set( TEMP ${ITK_TEST_OUTPUT_DIR} ) itk_add_test(NAME itkSplitComponentsImageFilterTest - COMMAND ITKSplitComponentsTestDriver + COMMAND SplitComponentsTestDriver --compare DATA{Baseline/itkSplitComponentsImageFilterTestBaseline0.mha} itkSplitComponentsImageFilterTestOutput0.mha