Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Use single NNRD file for CLI module template test data #4837

Merged
merged 1 commit into from Apr 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions Utilities/Scripts/SlicerWizard/TemplateManager.py
Expand Up @@ -18,6 +18,7 @@
"*.md5",
"*.png",
"*.dox",
"*.sha256",
]

_templateCategories = [
Expand Down

This file was deleted.

@@ -0,0 +1 @@
a2ea6960769aac2f00d6d88d3280a58d0556d3c47fc2563bed625572567377a3

This file was deleted.

6 changes: 3 additions & 3 deletions Utilities/Templates/Modules/CLI/Testing/Cxx/CMakeLists.txt
Expand Up @@ -19,10 +19,10 @@ set_target_properties(${CLP}Test PROPERTIES FOLDER ${${CLP}_TARGETS_FOLDER})
#-----------------------------------------------------------------------------
set(testname ${CLP}Test)
ExternalData_add_test(${SEM_DATA_MANAGEMENT_TARGET} NAME ${testname} COMMAND ${SEM_LAUNCH_COMMAND} $<TARGET_FILE:${CLP}Test>
--compare DATA{${BASELINE}/${CLP}Test.nhdr,${CLP}Test.raw}
${TEMP}/${CLP}Test.nhdr
--compare DATA{${BASELINE}/${CLP}Test.nrrd}
${TEMP}/${CLP}Test.nrrd
ModuleEntryPoint
--sigma 2.5 DATA{${INPUT}/CTHeadAxial.nhdr,CTHeadAxial.raw.gz} ${TEMP}/${CLP}Test.nhdr
--sigma 2.5 DATA{${INPUT}/CTHeadAxial.nhdr,CTHeadAxial.raw.gz} ${TEMP}/${CLP}Test.nrrd
)
set_property(TEST ${testname} PROPERTY LABELS ${CLP})

Expand Down