-
-
Notifications
You must be signed in to change notification settings - Fork 675
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #706 from fbudin69500/speed_up_CI_compilation_with…
…_wrapping_ON_follow_up Speed up ci compilation with wrapping on follow up
- Loading branch information
Showing
163 changed files
with
571 additions
and
586 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
Modules/Bridge/NumPy/test/CMakeLists.txt → ...Bridge/NumPy/wrapping/test/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# This test doesn't compile. It exercises the bug I ran into if you multiply 2 vector images; if you | ||
# try to compile it the compile fails. | ||
# itk_add_test(NAME itkVectorMultiplyTest COMMAND ITKCommon2TestDriver itkVectorMultiplyTest) | ||
|
||
itk_python_add_test(NAME itkMetaDataDictionaryPythonTest COMMAND itkMetaDataDictionaryTest.py) | ||
itk_python_add_test(NAME itkDirectoryPythonTest COMMAND itkDirectoryTest.py) | ||
itk_python_expression_add_test(NAME itkObjectPythonTest EXPRESSION "itkObject = itk.Object.New()") | ||
itk_python_add_test(NAME itkIndexOffsetPythonTest COMMAND itkIndexOffsetTest.py) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
itk_python_expression_add_test(NAME itkExtrapolateImageFunctionPythonTest | ||
EXPRESSION "extrapolate = itk.ExtrapolateImageFunction.New()") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
list(FIND ITK_WRAP_IMAGE_DIMS 3 wrap_3_index) | ||
if(wrap_3_index GREATER -1) | ||
itk_python_expression_add_test(NAME itkTriangleMeshToBinaryImageFilterPythonTest | ||
EXPRESSION "instance = itk.TriangleMeshToBinaryImageFilter.New()") | ||
endif() | ||
|
||
itk_python_expression_add_test(NAME itkBYUMeshIOPythonTest | ||
EXPRESSION "instance = itk.BYUMeshIO.New()") | ||
itk_python_expression_add_test(NAME itkFreeSurferAsciiMeshIOPythonTest | ||
EXPRESSION "instance = itk.FreeSurferAsciiMeshIO.New()") | ||
itk_python_expression_add_test(NAME itkFreeSurferBinaryMeshIOPythonTest | ||
EXPRESSION "instance = itk.FreeSurferBinaryMeshIO.New()") | ||
itk_python_expression_add_test(NAME itkMeshFileReaderPythonTest | ||
EXPRESSION "instance = itk.MeshFileReader.New()") | ||
itk_python_expression_add_test(NAME itkMeshFileWriterPythonTest | ||
EXPRESSION "instance = itk.MeshFileWriter.New()") | ||
itk_python_expression_add_test(NAME itkOBJMeshIOPythonTest | ||
EXPRESSION "instance = itk.OBJMeshIO.New()") | ||
itk_python_expression_add_test(NAME itkOFFMeshIOPythonTest | ||
EXPRESSION "instance = itk.OFFMeshIO.New()") | ||
itk_python_expression_add_test(NAME itkVTKPolyDataMeshIOPythonTest | ||
EXPRESSION "instance = itk.VTKPolyDataMeshIO.New()") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
list(FIND ITK_WRAP_IMAGE_DIMS 2 wrap_2_index) | ||
if(ITK_WRAP_float AND wrap_2_index GREATER -1) | ||
itk_python_add_test(NAME PythonSpatialObjectTest | ||
TEST_DRIVER_ARGS | ||
COMMAND SpatialObjectTest.py | ||
) | ||
endif() |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
26 changes: 26 additions & 0 deletions
26
Modules/Filtering/AnisotropicSmoothing/wrapping/test/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
set(test_input_dir ${itk-module_SOURCE_DIR}/test/Input) | ||
|
||
list(FIND ITK_WRAP_IMAGE_DIMS 2 wrap_2_index) | ||
if(ITK_WRAP_float AND wrap_2_index GREATER -1) | ||
itk_python_add_test(NAME PythonCurvatureAnisotropicDiffusionImageFilterTest | ||
COMMAND CurvatureAnisotropicDiffusionImageFilterTest.py | ||
DATA{${ITK_DATA_ROOT}/Input/cthead1.png} | ||
${ITK_TEST_OUTPUT_DIR}/CurvatureAnisotropicDiffusionImageFilterTest.png | ||
5 0.125 3 | ||
) | ||
itk_python_add_test(NAME PythonSmoothingRecursiveGaussianImageFilterTest | ||
COMMAND SmoothingRecursiveGaussianImageFilterTest.py | ||
DATA{${ITK_DATA_ROOT}/Input/cthead1.png} | ||
${ITK_TEST_OUTPUT_DIR}/SmoothingRecursiveGaussianImageFilterTest.png | ||
3 | ||
) | ||
itk_python_add_test(NAME PythonGradientAnisotropicDiffusionImageFilterTest | ||
TEST_DRIVER_ARGS | ||
--compare ${ITK_TEST_OUTPUT_DIR}/PythonGradientAnisotropicDiffusionImageFilterTest.png | ||
DATA{Baseline/PythonGradientAnisotropicDiffusionImageFilterTest.png} | ||
COMMAND GradientAnisotropicDiffusionImageFilterTest.py | ||
DATA{${test_input_dir}/BrainProtonDensitySlice.png} | ||
${ITK_TEST_OUTPUT_DIR}/PythonGradientAnisotropicDiffusionImageFilterTest.png | ||
5 0.125 1.0 | ||
) | ||
endif() |
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.