Commit 4dd6d3c0 authored by jcfr's avatar jcfr

BUG: Fix OtsuThresholdImageFilterTest on Windows

This commit ensures that "SEM_LAUNCH_COMMAND" variable will be defined
for both CLIs and remote modules.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23684 3bd1e089-480b-0410-8dfb-8563597acbee
parent ec73ff9d
......@@ -669,6 +669,13 @@ if(BUILD_TESTING)
COPYONLY)
add_subdirectory(CMake/Testing)
if(Slicer_BUILD_CLI_SUPPORT)
set(SEM_LAUNCH_COMMAND ${Slicer_LAUNCH_COMMAND})
if(USE_VALGRIND)
set(SEM_LAUNCH_COMMAND "${Slicer_BINARY_DIR}/Scripts/runValgrindForOneModule.sh")
endif()
endif()
endif()
#-----------------------------------------------------------------------------
......
......@@ -93,11 +93,6 @@ if(BUILD_TESTING)
DOC "Directory with data taken from http://public.kitware.com/pub/itk/Data/BrainWeb/")
mark_as_advanced(SLICER_BRAINWEB_DATA_ROOT)
set(SEM_LAUNCH_COMMAND ${Slicer_LAUNCH_COMMAND})
if(USE_VALGRIND)
set(SEM_LAUNCH_COMMAND "${Slicer_BINARY_DIR}/Scripts/runValgrindForOneModule.sh")
endif()
set(BASELINE "${Slicer_SOURCE_DIR}/Testing/Data/Baseline/CLI")
set(TEST_DATA "${Slicer_SOURCE_DIR}/Testing/Data/Input")
set(MRML_TEST_DATA "${Slicer_SOURCE_DIR}/Libs/MRML/Core/Testing/TestData")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment