Skip to content

Commit

Permalink
BUG: delete one-time script
Browse files Browse the repository at this point in the history
  • Loading branch information
Hui-Xie committed Mar 8, 2017
1 parent dc6a67b commit 2e3d79b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 45 deletions.
13 changes: 5 additions & 8 deletions DWIConvert/TestSuite/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set(DWITarDir ${TestData_DIR}/DWI_TestData_TARBALLS)
# 1 upload testcase file into BRAINSTools/Public/ in http://slicer.kitware.com;
# 2 download the key file(MD5);
# 3 put the MD5 file into /Volumes/scratch/hxie1/Projects/BRAINSTools/TestData/DWI_TestData_TARBALLS;
# 4 Ctest will automatically find it and download it
# 4 rerun CCMake, then Ctest will automatically find it and download it

set(ALL_DICOM_TARBALLS
${DWITarDir}/DWIConvertGeSignaHdxBMatrixTest.tar.gz
Expand Down Expand Up @@ -51,7 +51,7 @@ ${DWITarDir}/SiemensTrioTimBigEndian1.tar.gz
${DWITarDir}/SiemensVerio.tar.gz
${DWITarDir}/DWIConvertMultiShellFSITestSmallSize.tar.gz
${DWITarDir}/SpaceThicknessDiffDicom.tar.gz
#${DWITarDir}/DWIConvertMultiShellFSITest.tar.gz
#${DWITarDir}/DWIConvertMultiShellFSITest.tar.gz (for 640M big file)
)

# accumulator for test names that actually force
Expand Down Expand Up @@ -102,7 +102,7 @@ foreach(CLP DWICompare DWISimpleCompare)
endforeach()

## Tool for comparing if BVec and BVal files are the same.
add_executable(BFileCompareTool BFileCompareTool.cpp chop.cpp)
add_executable(BFileCompareTool BFileCompareTool.cpp)
target_link_libraries(BFileCompareTool DWIConvertSupportLib BRAINSCommonLib )

#
Expand Down Expand Up @@ -136,10 +136,6 @@ set(TstOutput ${CMAKE_CURRENT_BINARY_DIR})

set(DWIBASELINE_DIR ${TestData_DIR}/DWI_TestData_OUTPUTS)

## DUMMYPROG
add_executable(chop chop.cpp)
target_link_libraries(chop BRAINSCommonLib)

#
# pretty useless test except for slight increase in coverage
# and verify the programs got built
Expand Down Expand Up @@ -439,7 +435,7 @@ ExternalData_Add_Test( ${PROJECT_NAME}FetchData NAME DWIConvertSiemensTrio_Syngo
)
AddDataDependency(DWIConvertSiemensTrio_Syngo2004A_2Test)

# add a ctest case supporting multi-shell FSL data by Hui Xie on Jan 28th, 2017
# multi-shell FSL data for 640M bif file
# the blank space between "ExternalData_Add_Test( " and "${PROJECT_NAME}FetchData NAME" below is critical.
#[[ExternalData_Add_Test( ${PROJECT_NAME}FetchData NAME DWIConvertMultiShellFSITest
COMMAND ${CMAKE_COMMAND}
Expand Down Expand Up @@ -468,6 +464,7 @@ ExternalData_Add_Test( ${PROJECT_NAME}FetchData NAME SpaceThicknessDiffDicom
AddDataDependency(SpaceThicknessDiffDicom)


# multishell data test for small size file
ExternalData_Add_Test( ${PROJECT_NAME}FetchData NAME DWIConvertMultiShellFSITestSmallSize
COMMAND ${CMAKE_COMMAND}
-D TEST_PROGRAM=$<TARGET_FILE:DWIConvert>
Expand Down
37 changes: 0 additions & 37 deletions DWIConvert/TestSuite/chop.cpp

This file was deleted.

0 comments on commit 2e3d79b

Please sign in to comment.