Commit 2b6e4e73 authored by jcfr's avatar jcfr
Browse files

COMP: Disable ModuleFactoryTest

The factory isn't used in Slicer ...

git-svn-id: http://svn.slicer.org/Slicer4/trunk@16364 3bd1e089-480b-0410-8dfb-8563597acbee
parent c0cca2e7
...@@ -37,17 +37,20 @@ set(PARSER1TEST_SOURCE Parser1Test.cxx ) ...@@ -37,17 +37,20 @@ set(PARSER1TEST_SOURCE Parser1Test.cxx )
add_executable(Parser1Test ${PARSER1TEST_SOURCE}) add_executable(Parser1Test ${PARSER1TEST_SOURCE})
target_link_libraries(Parser1Test ModuleDescriptionParser ) target_link_libraries(Parser1Test ModuleDescriptionParser )
set(ModuleFactoryTest_SOURCE ModuleFactoryTest )
add_executable(ModuleFactoryTest ${ModuleFactoryTest_SOURCE})
target_link_libraries(ModuleFactoryTest ModuleDescriptionParser )
# -------------------------------------------------------------------------- # --------------------------------------------------------------------------
# Build ModuleFactoryTest executable # Build ModuleFactoryTest executable
# -------------------------------------------------------------------------- # --------------------------------------------------------------------------
#set(ModuleFactoryTest_SOURCE ModuleFactoryTest.cxx)
#add_executable(ModuleFactoryTest ${ModuleFactoryTest_SOURCE})
#target_link_libraries(ModuleFactoryTest ModuleDescriptionParser )
include_directories( #include_directories(
${ModuleDescriptionParser_SOURCE_DIR} # ${ModuleDescriptionParser_SOURCE_DIR}
) # )
# --------------------------------------------------------------------------
# Add tests
# --------------------------------------------------------------------------
set(TEST_DATA ${ModuleDescriptionParserTesting_SOURCE_DIR}/TestData) set(TEST_DATA ${ModuleDescriptionParserTesting_SOURCE_DIR}/TestData)
add_test( add_test(
NAME Parser1Test1 NAME Parser1Test1
...@@ -58,11 +61,9 @@ add_test( ...@@ -58,11 +61,9 @@ add_test(
NAME Parser1Test2 NAME Parser1Test2
COMMAND ${LAUNCH_EXE} $<TARGET_FILE:Parser1Test> ${TEST_DATA}/ParserTest2.xml) COMMAND ${LAUNCH_EXE} $<TARGET_FILE:Parser1Test> ${TEST_DATA}/ParserTest2.xml)
if(Slicer_BINARY_DIR) #add_test(
add_test( # NAME ModuleFactoryTest
NAME ModuleFactoryTest # COMMAND ${LAUNCH_EXE} $<TARGET_FILE:ModuleFactoryTest>
COMMAND ${LAUNCH_EXE} $<TARGET_FILE:ModuleFactoryTest> # ${Slicer_BINARY_DIR}/${Slicer_INSTALL_PLUGINS_BIN_DIR}/
${Slicer_BINARY_DIR}/${Slicer_INSTALL_PLUGINS_BIN_DIR}/ # )
)
endif()
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