Skip to content

Commit

Permalink
Reorder python unit tests to allow the proper implicit dependencies.
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Jackson <mike.jackson@bluequartz.net>
  • Loading branch information
imikejackson committed Jan 2, 2024
1 parent f868213 commit 7419f12
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,4 +189,4 @@
write_xdmf_file=True)
nxtest.check_filter_result(filter, result)

print("===> Pipeline Complete")
print("===> Pipeline Complete")
73 changes: 37 additions & 36 deletions wrapping/python/examples/pipelines/SourceList.cmake
Original file line number Diff line number Diff line change
@@ -1,40 +1,4 @@

#------------------------------------------------------------------------------
# Add the examples/Pipelines/Complex folder
#------------------------------------------------------------------------------
set(PYTHON_TEST_INPUT_DIR "${simplnx_SOURCE_DIR}/wrapping/python/examples/pipelines/Complex")

set(SIMPLNX_PYTHON_TESTS
AlignSectionsMutualInformation
AppendImageGeometryZSlice
ApplyTransformation_Demo
ApplyTransformation_Image
ApplyTransformation_Node
ArrayCalculatorExample
AvizoWriters
CombineSTLFiles
EnsembleInfoReader
FindBiasedFeatures
FindBoundaryCells
FindLargestCrossSections
Import_ASCII
Import_CSV_Data
Import_STL_Model
ReplaceElementAttributesWithNeighbor
ResamplePorosityImage
ResampleRectGridToImageGeom
SurfaceNets_Demo
Triangle_Face_Data_Demo
VtkRectilinearGridWriter
)

CreatePythonTests(PREFIX "PY::SimplnxCore"
INPUT_DIR ${PYTHON_TEST_INPUT_DIR}
TEST_NAMES ${SIMPLNX_PYTHON_TESTS}
)



#------------------------------------------------------------------------------
# Add the examples/pipelines/ITKImageProcessing folder
#------------------------------------------------------------------------------
Expand Down Expand Up @@ -84,4 +48,41 @@ CreatePythonTests(PREFIX "PY::OrientationAnalysis"
)


#------------------------------------------------------------------------------
# Add the examples/Pipelines/Complex folder
#
# These are going last because there are pipelines in here that depend on
# output files that are generated in the other plugins.
#------------------------------------------------------------------------------
set(PYTHON_TEST_INPUT_DIR "${simplnx_SOURCE_DIR}/wrapping/python/examples/pipelines/Complex")

set(SIMPLNX_PYTHON_TESTS
AlignSectionsMutualInformation
AppendImageGeometryZSlice
ApplyTransformation_Demo
ApplyTransformation_Image
ApplyTransformation_Node
ArrayCalculatorExample
AvizoWriters
CombineSTLFiles
EnsembleInfoReader
FindBiasedFeatures
FindBoundaryCells
FindLargestCrossSections
Import_ASCII
Import_CSV_Data
Import_STL_Model
ReplaceElementAttributesWithNeighbor
ResamplePorosityImage
ResampleRectGridToImageGeom
SurfaceNets_Demo
Triangle_Face_Data_Demo
VtkRectilinearGridWriter
)

CreatePythonTests(PREFIX "PY::SimplnxCore"
INPUT_DIR ${PYTHON_TEST_INPUT_DIR}
TEST_NAMES ${SIMPLNX_PYTHON_TESTS}
)


0 comments on commit 7419f12

Please sign in to comment.