Skip to content

Commit 86a5de0

Browse files
author
Sam Porter
committed
add spect subsets as separate with example interfile header as argument
1 parent 396e632 commit 86a5de0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/test/CMakeLists.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ set(${dir_SIMPLE_TEST_EXE_SOURCES}
2626
test_DynamicDiscretisedDensity.cxx
2727
test_ScatterSimulation.cxx
2828
test_ML_norm.cxx
29-
test_proj_data_info_subsets.cxx
29+
test_proj_data_info_subsets_pet.cxx
3030
)
3131

3232
set(${dir_SIMPLE_TEST_EXE_SOURCES_NO_REGISTRIES}
@@ -98,6 +98,10 @@ endforeach()
9898

9999
if (BUILD_TESTING)
100100

101+
# Add test for test_proj_data_info_subsets_spect with arguments
102+
ADD_TEST(NAME test_proj_data_info_subsets_spect
103+
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test_proj_data_info_subsets_spect ${CMAKE_SOURCE_DIR}/examples/samples/SPECT_Interfile_header.hs)
104+
101105
ADD_TEST(test_linear_regression
102106
${CMAKE_CURRENT_BINARY_DIR}/test_linear_regression ${CMAKE_CURRENT_SOURCE_DIR}/input/test_linear_regression.in
103107
)
@@ -166,6 +170,7 @@ ADD_TEST(test_IO_DynamicDiscretisedDensity_Interfile_short
166170
ADD_TEST(test_IO_DynamicDiscretisedDensity_Multi
167171
${CMAKE_CURRENT_BINARY_DIR}/test_IO_DynamicDiscretisedDensity ${CMAKE_CURRENT_SOURCE_DIR}/input/test_MultiOutputFileFormat.in)
168172

173+
169174
endif(BUILD_TESTING)
170175

171176
endif() # MINI_STIR

0 commit comments

Comments
 (0)