From ab619c84a7100dc0f631f371c9fd95316ab0a98a Mon Sep 17 00:00:00 2001 From: Niels Dekker Date: Thu, 10 Dec 2020 17:37:36 +0100 Subject: [PATCH] WIP: Test ElastixLibBasedExe instead of the elastix executable --- Testing/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Testing/CMakeLists.txt b/Testing/CMakeLists.txt index 762396a8e..38764e6fe 100644 --- a/Testing/CMakeLists.txt +++ b/Testing/CMakeLists.txt @@ -302,7 +302,7 @@ macro( elx_add_run_test testbasename howtocompare ) # Set maximum test length to 10 minutes add_test( NAME ${testname}_OUTPUT CONFIGURATIONS Release - COMMAND ${EXECUTABLE_OUTPUT_PATH}/elastix + COMMAND ${EXECUTABLE_OUTPUT_PATH}/ElastixLibBasedExe ${elastixargs} -out ${output_dir} ) set_tests_properties( ${testname}_OUTPUT PROPERTIES TIMEOUT 600 ) @@ -450,7 +450,7 @@ file( MAKE_DIRECTORY "${TestOutputDir}/OutputDirectoryPathContainingSpacesTest" file( MAKE_DIRECTORY "${TestOutputDir}/OutputDirectoryPathContainingSpacesTest/path with spaces" ) file( MAKE_DIRECTORY "${TestOutputDir}/OutputDirectoryPathContainingSpacesTest/path with spaces/name with spaces" ) add_test( NAME OutputDirectoryPathContainingSpacesTest - COMMAND ${EXECUTABLE_OUTPUT_PATH}/elastix + COMMAND ${EXECUTABLE_OUTPUT_PATH}/ElastixLibBasedExe -f "${TestDataDir}/2D_2x2_square_object_at_(1,3).mhd" -m "${TestDataDir}/2D_2x2_square_object_at_(2,1).mhd" -p "${TestDataDir}/parameters.2D.NC.translation.ASGD.txt"