File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
ModuleDescriptionParser/Testing Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 1-
2- # --------------------------------------------------------------------------
3- set (INPUT ${CMAKE_CURRENT_SOURCE_DIR} /TestData)
4-
51# --------------------------------------------------------------------------
62# Build tests
73# --------------------------------------------------------------------------
@@ -34,7 +30,7 @@ target_link_libraries(Parser1Test ModuleDescriptionParser )
3430# --------------------------------------------------------------------------
3531# Add tests
3632# --------------------------------------------------------------------------
37- set (TEST_DATA ${ModuleDescriptionParserTesting_SOURCE_DIR } /TestData)
33+ set (TEST_DATA ${CMAKE_CURRENT_SOURCE_DIR } /TestData)
3834add_test (
3935 NAME Parser1Test1
4036 COMMAND ${Slicer_LAUNCH_COMMAND} $<TARGET_FILE:Parser1Test> ${TEST_DATA} /ParserTest1.xml
@@ -46,7 +42,7 @@ add_test(
4642
4743add_test (
4844 NAME ModuleDescriptionTest
49- COMMAND ${Slicer_LAUNCH_COMMAND} $<TARGET_FILE:${KIT} CxxTests> ModuleDescriptionTest ${INPUT }
45+ COMMAND ${Slicer_LAUNCH_COMMAND} $<TARGET_FILE:${KIT} CxxTests> ModuleDescriptionTest ${TEST_DATA }
5046 )
5147
5248#add_test(
You can’t perform that action at this time.
0 commit comments