Commit 94673bd2 authored by Ben Boeckel's avatar Ben Boeckel

testing: use the module name in test module cmake code

parent f35e9715
vtk_add_test_cxx(${vtk-module}CxxTests tests vtk_add_test_cxx(vtkAcceleratorsVtkmCxxTests tests
TestVTKMCleanGrid.cxx TestVTKMCleanGrid.cxx
TestVTKMClip.cxx TestVTKMClip.cxx
TestVTKMClipWithImplicitFunction.cxx TestVTKMClipWithImplicitFunction.cxx
...@@ -14,6 +14,6 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests ...@@ -14,6 +14,6 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
TestVTKMThreshold2.cxx TestVTKMThreshold2.cxx
TestVTKMTriangleMeshPointNormals.cxx TestVTKMTriangleMeshPointNormals.cxx
) )
vtk_test_cxx_executable(${vtk-module}CxxTests tests vtk_test_cxx_executable(vtkAcceleratorsVtkmCxxTests tests
RENDERING_FACTORY RENDERING_FACTORY
) )
...@@ -36,7 +36,7 @@ set(TestParallelCoordinatesDouble_ARGS ...@@ -36,7 +36,7 @@ set(TestParallelCoordinatesDouble_ARGS
-E 15 -E 15
) )
vtk_add_test_cxx(${vtk-module}CxxTests tests vtk_add_test_cxx(vtkChartsCoreCxxTests tests
TestContextScene.cxx,NO_DATA,NO_VALID TestContextScene.cxx,NO_DATA,NO_VALID
TestControlPointsItem.cxx,NO_DATA,NO_VALID TestControlPointsItem.cxx,NO_DATA,NO_VALID
TestControlPointsItemEvents.cxx,NO_DATA,NO_VALID TestControlPointsItemEvents.cxx,NO_DATA,NO_VALID
...@@ -101,6 +101,6 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests ...@@ -101,6 +101,6 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
TestSurfacePlot.cxx TestSurfacePlot.cxx
TestZoomAxis.cxx TestZoomAxis.cxx
) )
vtk_test_cxx_executable(${vtk-module}CxxTests tests vtk_test_cxx_executable(vtkChartsCoreCxxTests tests
RENDERING_FACTORY RENDERING_FACTORY
) )
vtk_add_test_cxx(${vtk-module}CxxTests tests vtk_add_test_cxx(vtkCommonColorCxxTests tests
TestCategoricalColors.cxx,NO_VALID TestCategoricalColors.cxx,NO_VALID
TestColorSeries.cxx TestColorSeries.cxx
TestColorSeriesLookupTables.cxx,NO_VALID TestColorSeriesLookupTables.cxx,NO_VALID
TestNamedColors.cxx,NO_VALID TestNamedColors.cxx,NO_VALID
) )
vtk_test_cxx_executable(${vtk-module}CxxTests tests) vtk_test_cxx_executable(vtkCommonColorCxxTests tests)
vtk_add_test_cxx(${vtk-module}CxxTests tests vtk_add_test_cxx(vtkCommonComputationalGeometryCxxTests tests
NO_DATA NO_VALID NO_OUTPUT NO_DATA NO_VALID NO_OUTPUT
UnitTestParametricSpline.cxx UnitTestParametricSpline.cxx
) )
vtk_test_cxx_executable(${vtk-module}CxxTests tests) vtk_test_cxx_executable(vtkCommonComputationalGeometryCxxTests tests)
...@@ -77,7 +77,7 @@ set(TestSystemInformation_ARGS ${CMAKE_BINARY_DIR}) ...@@ -77,7 +77,7 @@ set(TestSystemInformation_ARGS ${CMAKE_BINARY_DIR})
# Tell TestXMLFileOutputWindow where to write test file # Tell TestXMLFileOutputWindow where to write test file
set(TestXMLFileOutputWindow_ARGS ${CMAKE_BINARY_DIR}/Testing/Temporary/XMLFileOutputWindow.txt) set(TestXMLFileOutputWindow_ARGS ${CMAKE_BINARY_DIR}/Testing/Temporary/XMLFileOutputWindow.txt)
vtk_add_test_cxx(${vtk-module}CxxTests tests vtk_add_test_cxx(vtkCommonCoreCxxTests tests
NO_DATA NO_VALID NO_OUTPUT NO_DATA NO_VALID NO_OUTPUT
UnitTestMath.cxx UnitTestMath.cxx
TestArrayAPI.cxx TestArrayAPI.cxx
...@@ -141,6 +141,6 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests ...@@ -141,6 +141,6 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
${data_array_tests} ${data_array_tests}
) )
vtk_test_cxx_executable(${vtk-module}CxxTests tests vtk_test_cxx_executable(vtkCommonCoreCxxTests tests
vtkTestNewVar.cxx vtkTestNewVar.cxx
) )
vtk_add_test_cxx(${vtk-module}CxxTests tests vtk_add_test_cxx(vtkCommonDataModelCxxTests tests
NO_DATA NO_VALID NO_OUTPUT NO_DATA NO_VALID NO_OUTPUT
LagrangeHexahedron.cxx LagrangeHexahedron.cxx
TestAngularPeriodicDataArray.cxx TestAngularPeriodicDataArray.cxx
...@@ -70,7 +70,7 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests ...@@ -70,7 +70,7 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
UnitTestPlanesIntersection.cxx UnitTestPlanesIntersection.cxx
UnitTestTriangleIntersection.cxx UnitTestTriangleIntersection.cxx
) )
vtk_add_test_cxx(${vtk-module}CxxTests data_tests vtk_add_test_cxx(vtkCommonDataModelCxxTests data_tests
TestLagrangeTriangle.cxx TestLagrangeTriangle.cxx
TestLagrangeTetra.cxx TestLagrangeTetra.cxx
quadraticIntersection.cxx quadraticIntersection.cxx
...@@ -85,12 +85,12 @@ vtk_add_test_cxx(${vtk-module}CxxTests data_tests ...@@ -85,12 +85,12 @@ vtk_add_test_cxx(${vtk-module}CxxTests data_tests
# add to the list but don't define a test # add to the list but don't define a test
list(APPEND data_tests TestPolyhedron2.cxx) list(APPEND data_tests TestPolyhedron2.cxx)
vtk_add_test_cxx(${vtk-module}CxxTests output_tests vtk_add_test_cxx(vtkCommonDataModelCxxTests output_tests
TestKdTreeRepresentation.cxx,NO_DATA TestKdTreeRepresentation.cxx,NO_DATA
) )
ExternalData_add_test(VTKData ExternalData_add_test(VTKData
NAME TestPolyhedron2 NAME TestPolyhedron2
COMMAND ${vtk-module}CxxTests TestPolyhedron2 COMMAND vtkCommonDataModelCxxTests TestPolyhedron2
-D DATA{../Data/polyhedron_mesh.vtu} -D DATA{../Data/polyhedron_mesh.vtu}
) )
set(all_tests set(all_tests
...@@ -99,4 +99,4 @@ set(all_tests ...@@ -99,4 +99,4 @@ set(all_tests
${output_tests} ${output_tests}
${custom_tests} ${custom_tests}
) )
vtk_test_cxx_executable(${vtk-module}CxxTests all_tests) vtk_test_cxx_executable(vtkCommonDataModelCxxTests all_tests)
vtk_add_test_cxx(${vtk-module}CxxTests tests vtk_add_test_cxx(vtkCommonExecutionModelCxxTests tests
NO_DATA NO_VALID NO_DATA NO_VALID
TestCopyAttributeData.cxx TestCopyAttributeData.cxx
TestImageDataToStructuredGrid.cxx TestImageDataToStructuredGrid.cxx
...@@ -9,4 +9,4 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests ...@@ -9,4 +9,4 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
TestTrivialConsumer.cxx TestTrivialConsumer.cxx
UnitTestSimpleScalarTree.cxx UnitTestSimpleScalarTree.cxx
) )
vtk_test_cxx_executable(${vtk-module}CxxTests tests) vtk_test_cxx_executable(vtkCommonExecutionModelCxxTests tests)
vtk_add_test_cxx(${vtk-module}CxxTests tests vtk_add_test_cxx(vtkCommonMathCxxTests tests
NO_DATA NO_VALID NO_OUTPUT NO_DATA NO_VALID NO_OUTPUT
TestAmoebaMinimizer.cxx TestAmoebaMinimizer.cxx
TestMatrix3x3.cxx TestMatrix3x3.cxx
TestPolynomialSolversUnivariate.cxx TestPolynomialSolversUnivariate.cxx
TestQuaternion.cxx TestQuaternion.cxx
) )
vtk_test_cxx_executable(${vtk-module}CxxTests tests) vtk_test_cxx_executable(vtkCommonMathCxxTests tests)
vtk_add_test_cxx(${vtk-module}CxxTests tests vtk_add_test_cxx(vtkCommonMiscCxxTests tests
NO_DATA NO_VALID NO_OUTPUT NO_DATA NO_VALID NO_OUTPUT
TestPolygonBuilder.cxx TestPolygonBuilder.cxx
TestPolygonBuilder2.cxx TestPolygonBuilder2.cxx
...@@ -8,4 +8,4 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests ...@@ -8,4 +8,4 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
TestPolygonBuilder5.cxx TestPolygonBuilder5.cxx
UnitTestFunctionParser.cxx UnitTestFunctionParser.cxx
) )
vtk_test_cxx_executable(${vtk-module}CxxTests tests) vtk_test_cxx_executable(vtkCommonMiscCxxTests tests)
vtk_add_test_cxx(${vtk-module}CxxTests tests vtk_add_test_cxx(vtkCommonSystemCxxTests tests
NO_DATA NO_VALID NO_OUTPUT NO_DATA NO_VALID NO_OUTPUT
TestDirectory.cxx TestDirectory.cxx
otherTimerLog.cxx otherTimerLog.cxx
) )
vtk_test_cxx_executable(${vtk-module}CxxTests tests) vtk_test_cxx_executable(vtkCommonSystemCxxTests tests)
vtk_add_test_cxx(${vtk-module}CxxTests tests vtk_add_test_cxx(vtkCommonTransformsCxxTests tests
NO_DATA NO_VALID NO_OUTPUT NO_DATA NO_VALID NO_OUTPUT
TestTransform.cxx TestTransform.cxx
TestLandmarkTransform.cxx TestLandmarkTransform.cxx
) )
vtk_test_cxx_executable(${vtk-module}CxxTests tests) vtk_test_cxx_executable(vtkCommonTransformsCxxTests tests)
...@@ -14,7 +14,7 @@ endif() ...@@ -14,7 +14,7 @@ endif()
set(TestVASPAnimationReader_ARGS DATA{../Data/VASP/NPT_Z_ANIMATE.out}) set(TestVASPAnimationReader_ARGS DATA{../Data/VASP/NPT_Z_ANIMATE.out})
set(TestVASPTessellationReader_ARGS DATA{../Data/VASP/NPT_Z_TESSELLATE.out}) set(TestVASPTessellationReader_ARGS DATA{../Data/VASP/NPT_Z_TESSELLATE.out})
vtk_add_test_cxx(${vtk-module}CxxTests tests vtk_add_test_cxx(vtkDomainsChemistryCxxTests tests
${generator_test} ${generator_test}
TestBallAndStick.cxx TestBallAndStick.cxx
TestPDBBallAndStick.cxx TestPDBBallAndStick.cxx
...@@ -39,7 +39,7 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests ...@@ -39,7 +39,7 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
TestVDWSpheres.cxx TestVDWSpheres.cxx
TestCMLMoleculeReader.cxx TestCMLMoleculeReader.cxx
) )
vtk_test_cxx_executable(${vtk-module}CxxTests tests vtk_test_cxx_executable(vtkDomainsChemistryCxxTests tests
RENDERING_FACTORY RENDERING_FACTORY
) )
...@@ -48,6 +48,6 @@ vtk_test_cxx_executable(${vtk-module}CxxTests tests ...@@ -48,6 +48,6 @@ vtk_test_cxx_executable(${vtk-module}CxxTests tests
if(NOT VTK_TEST_TIMEOUT_TestPDBBallAndStick) if(NOT VTK_TEST_TIMEOUT_TestPDBBallAndStick)
set(VTK_TEST_TIMEOUT_TestPDBBallAndStick 360) set(VTK_TEST_TIMEOUT_TestPDBBallAndStick 360)
endif() endif()
set_tests_properties(${vtk-module}Cxx-TestPDBBallAndStick set_tests_properties(vtkDomainsChemistryCxx-TestPDBBallAndStick
PROPERTIES TIMEOUT ${VTK_TEST_TIMEOUT_TestPDBBallAndStick} PROPERTIES TIMEOUT ${VTK_TEST_TIMEOUT_TestPDBBallAndStick}
RUN_SERIAL ON) RUN_SERIAL ON)
vtk_add_test_cxx(${vtk-module}CxxTests tests vtk_add_test_cxx(vtkDomainsChemistryOpenGL2CxxTests tests
TestPDBBallAndStickShadows.cxx TestPDBBallAndStickShadows.cxx
TestPDBBallAndStickShadowsDOFSSAA.cxx TestPDBBallAndStickShadowsDOFSSAA.cxx
) )
vtk_test_cxx_executable(${vtk-module}CxxTests tests vtk_test_cxx_executable(vtkDomainsChemistryOpenGL2CxxTests tests
RENDERING_FACTORY RENDERING_FACTORY
) )
...@@ -11,6 +11,6 @@ vtk_test_cxx_executable(${vtk-module}CxxTests tests ...@@ -11,6 +11,6 @@ vtk_test_cxx_executable(${vtk-module}CxxTests tests
if(NOT VTK_TEST_TIMEOUT_TestPDBBallAndStickShadows) if(NOT VTK_TEST_TIMEOUT_TestPDBBallAndStickShadows)
set(VTK_TEST_TIMEOUT_TestPDBBallAndStickShadows 360) set(VTK_TEST_TIMEOUT_TestPDBBallAndStickShadows 360)
endif() endif()
set_tests_properties(${vtk-module}Cxx-TestPDBBallAndStickShadows set_tests_properties(vtkDomainsChemistryOpenGL2Cxx-TestPDBBallAndStickShadows
PROPERTIES TIMEOUT ${VTK_TEST_TIMEOUT_TestPDBBallAndStickShadows} PROPERTIES TIMEOUT ${VTK_TEST_TIMEOUT_TestPDBBallAndStickShadows}
RUN_SERIAL ON) RUN_SERIAL ON)
# OpenSlideReader Tests # OpenSlideReader Tests
vtk_add_test_cxx(${vtk-module}CxxTests tests vtk_add_test_cxx(vtkDomainsMicroscopyCxxTests tests
TestOpenSlideReader.cxx TestOpenSlideReader.cxx
"DATA{${VTK_TEST_INPUT_DIR}/Microscopy/small2.ndpi}" "DATA{${VTK_TEST_INPUT_DIR}/Microscopy/small2.ndpi}"
) )
vtk_add_test_cxx(${vtk-module}CxxTests tests vtk_add_test_cxx(vtkDomainsMicroscopyCxxTests tests
TestOpenSlideReaderPartialTIF,TestOpenSlideReaderPartial.cxx TestOpenSlideReaderPartialTIF,TestOpenSlideReaderPartial.cxx
"DATA{${VTK_TEST_INPUT_DIR}/Microscopy/pathology.tif}" "DATA{${VTK_TEST_INPUT_DIR}/Microscopy/pathology.tif}"
) )
vtk_test_cxx_executable(${vtk-module}CxxTests tests RENDERING_FACTORY) vtk_test_cxx_executable(vtkDomainsMicroscopyCxxTests tests RENDERING_FACTORY)
...@@ -10,14 +10,14 @@ foreach(test IN LISTS cxx_tests) ...@@ -10,14 +10,14 @@ foreach(test IN LISTS cxx_tests)
${test}.cxx) ${test}.cxx)
endforeach() endforeach()
vtk_add_test_cxx(${vtk-module}CxxTests tests vtk_add_test_cxx(vtkFiltersAMRCxxTests tests
NO_VALID NO_OUTPUT NO_VALID NO_OUTPUT
${test_files} ${test_files}
) )
vtk_test_cxx_executable(${vtk-module}CxxTests tests) vtk_test_cxx_executable(vtkFiltersAMRCxxTests tests)
foreach(test IN LISTS cxx_tests) foreach(test IN LISTS cxx_tests)
set_tests_properties(${vtk-module}Cxx-${test} set_tests_properties(vtkFiltersAMRCxx-${test}
PROPERTIES PROPERTIES
FAIL_REGULAR_EXPRESSION "Error" FAIL_REGULAR_EXPRESSION "Error"
) )
......
...@@ -14,7 +14,7 @@ if(VTK_PYTHON_EXE) ...@@ -14,7 +14,7 @@ if(VTK_PYTHON_EXE)
${test_files} ${test_files}
) )
foreach(test IN LISTS python_tests) foreach(test IN LISTS python_tests)
set_tests_properties(${vtk-module}Python-${test} set_tests_properties(vtkFiltersAMRPython-${test}
PROPERTIES PROPERTIES
FAIL_REGULAR_EXPRESSION "Error" FAIL_REGULAR_EXPRESSION "Error"
) )
......
vtk_add_test_cxx(${vtk-module}CxxTests tests vtk_add_test_cxx(vtkFiltersCoreCxxTests tests
TestAppendArcLength.cxx,NO_VALID TestAppendArcLength.cxx,NO_VALID
TestAppendFilter.cxx,NO_VALID TestAppendFilter.cxx,NO_VALID
TestAppendPolyData.cxx,NO_VALID TestAppendPolyData.cxx,NO_VALID
...@@ -50,4 +50,4 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests ...@@ -50,4 +50,4 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
UnitTestMergeFilter.cxx,NO_VALID UnitTestMergeFilter.cxx,NO_VALID
) )
vtk_test_cxx_executable(${vtk-module}CxxTests tests) vtk_test_cxx_executable(vtkFiltersCoreCxxTests tests)
vtk_add_test_cxx(${vtk-module}CxxTests tests vtk_add_test_cxx(vtkFiltersExtractionCxxTests tests
TestConvertSelection.cxx,NO_VALID TestConvertSelection.cxx,NO_VALID
TestExtractSelection.cxx TestExtractSelection.cxx
TestExtraction.cxx TestExtraction.cxx
TestExtractRectilinearGrid.cxx,NO_VALID,NO_DATA TestExtractRectilinearGrid.cxx,NO_VALID,NO_DATA
TestExtractTimeSteps.cxx,NO_VALID TestExtractTimeSteps.cxx,NO_VALID
) )
vtk_test_cxx_executable(${vtk-module}CxxTests tests) vtk_test_cxx_executable(vtkFiltersExtractionCxxTests tests)
vtk_add_test_cxx(${vtk-module}CxxTests tests vtk_add_test_cxx(vtkFiltersFlowPathsCxxTests tests
TestBSPTree.cxx TestBSPTree.cxx
TestEvenlySpacedStreamlines2D.cxx TestEvenlySpacedStreamlines2D.cxx
TestStreamTracer.cxx,NO_VALID TestStreamTracer.cxx,NO_VALID
...@@ -9,7 +9,7 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests ...@@ -9,7 +9,7 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
TestLagrangianParticle.cxx,NO_VALID TestLagrangianParticle.cxx,NO_VALID
TestLagrangianParticleTracker.cxx TestLagrangianParticleTracker.cxx
) )
vtk_test_cxx_executable(${vtk-module}CxxTests tests vtk_test_cxx_executable(vtkFiltersFlowPathsCxxTests tests
RENDERING_FACTORY RENDERING_FACTORY
) )
ExternalData_Expand_Arguments(VTKData _ ExternalData_Expand_Arguments(VTKData _
......
...@@ -2,7 +2,7 @@ set(TestDensifyPolyData_ARGS -E 15) ...@@ -2,7 +2,7 @@ set(TestDensifyPolyData_ARGS -E 15)
set(TestDataSetGradient_ARGS -E 25) set(TestDataSetGradient_ARGS -E 25)
set(TestDataSetGradientPrecompute_ARGS -E 25) set(TestDataSetGradientPrecompute_ARGS -E 25)
vtk_add_test_cxx(${vtk-module}CxxTests tests vtk_add_test_cxx(vtkFiltersGeneralCxxTests tests
ArrayExtractFactoredArray.cxx,NO_VALID ArrayExtractFactoredArray.cxx,NO_VALID
ArrayMatricizeArray.cxx,NO_VALID ArrayMatricizeArray.cxx,NO_VALID
ArrayNormalizeMatrixVectors.cxx,NO_VALID ArrayNormalizeMatrixVectors.cxx,NO_VALID
...@@ -42,7 +42,7 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests ...@@ -42,7 +42,7 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
UnitTestMultiThreshold.cxx,NO_VALID UnitTestMultiThreshold.cxx,NO_VALID
) )
# Tests with data # Tests with data
vtk_add_test_cxx(${vtk-module}CxxTests data_tests vtk_add_test_cxx(vtkFiltersGeneralCxxTests data_tests
BoxClipPointData.cxx BoxClipPointData.cxx
BoxClipOrientedPointData.cxx BoxClipOrientedPointData.cxx
TestDataSetGradient.cxx TestDataSetGradient.cxx
...@@ -58,12 +58,12 @@ set(all_tests ...@@ -58,12 +58,12 @@ set(all_tests
${data_tests} ${data_tests}
) )
vtk_test_cxx_executable(${vtk-module}CxxTests all_tests vtk_test_cxx_executable(vtkFiltersGeneralCxxTests all_tests
RENDERING_FACTORY) RENDERING_FACTORY)
# On some machines this test takes some extra time # On some machines this test takes some extra time
if(NOT VTK_TEST_TIMEOUT_TestYoungsMaterialInterface) if(NOT VTK_TEST_TIMEOUT_TestYoungsMaterialInterface)
set(VTK_TEST_TIMEOUT_TestYoungsMaterialInterface 300) set(VTK_TEST_TIMEOUT_TestYoungsMaterialInterface 300)
endif() endif()
set_tests_properties(${vtk-module}Cxx-TestYoungsMaterialInterface set_tests_properties(vtkFiltersGeneralCxx-TestYoungsMaterialInterface
PROPERTIES TIMEOUT ${VTK_TEST_TIMEOUT_TestYoungsMaterialInterface}) PROPERTIES TIMEOUT ${VTK_TEST_TIMEOUT_TestYoungsMaterialInterface})
vtk_add_test_cxx(${vtk-module}CxxTests tests vtk_add_test_cxx(vtkFiltersGenericCxxTests tests
TestGenericStreamTracer.cxx TestGenericStreamTracer.cxx
TestGenericClip.cxx TestGenericClip.cxx
TestGenericContourFilter.cxx TestGenericContourFilter.cxx
...@@ -11,4 +11,4 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests ...@@ -11,4 +11,4 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
UnitTestGenericGeometryFilter.cxx,NO_VALID,NO_DATA UnitTestGenericGeometryFilter.cxx,NO_VALID,NO_DATA
) )
vtk_test_cxx_executable(${vtk-module}CxxTests tests) vtk_test_cxx_executable(vtkFiltersGenericCxxTests tests)
vtk_add_test_cxx(${vtk-module}CxxTests tests vtk_add_test_cxx(vtkFiltersGeometryCxxTests tests
TestExtractSurfaceNonLinearSubdivision.cxx TestExtractSurfaceNonLinearSubdivision.cxx
TestDataSetSurfaceFieldData.cxx,NO_VALID TestDataSetSurfaceFieldData.cxx,NO_VALID
TestDataSetSurfaceFilterQuadraticTetsGhostCells.cxx,NO_VALID TestDataSetSurfaceFilterQuadraticTetsGhostCells.cxx,NO_VALID
...@@ -12,7 +12,7 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests ...@@ -12,7 +12,7 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
TestUnstructuredGridGeometryFilter.cxx TestUnstructuredGridGeometryFilter.cxx
TestUnstructuredGridGeometryFilterGhostCells.cxx,NO_VALID TestUnstructuredGridGeometryFilterGhostCells.cxx,NO_VALID
) )
vtk_add_test_cxx(${vtk-module}CxxTests no_data_tests vtk_add_test_cxx(vtkFiltersGeometryCxxTests no_data_tests
NO_DATA NO_VALID NO_OUTPUT NO_DATA NO_VALID NO_OUTPUT
TestGeometryFilterCellData.cxx TestGeometryFilterCellData.cxx
TestStructuredAMRGridConnectivity.cxx TestStructuredAMRGridConnectivity.cxx
...@@ -26,4 +26,4 @@ set(all_tests ...@@ -26,4 +26,4 @@ set(all_tests
${tests} ${tests}
${no_data_tests} ${no_data_tests}
) )
vtk_test_cxx_executable(${vtk-module}CxxTests all_tests) vtk_test_cxx_executable(vtkFiltersGeometryCxxTests all_tests)
vtk_add_test_cxx(${vtk-module}CxxTests tests vtk_add_test_cxx(vtkFiltersHybridCxxTests tests
TemporalStatistics.cxx TemporalStatistics.cxx
TestHyperTreeGridBinary2DAdaptiveDataSetSurfaceFilter.cxx TestHyperTreeGridBinary2DAdaptiveDataSetSurfaceFilter.cxx
TestHyperTreeGridBinary2DAdaptiveDataSetSurfaceFilterMaterial.cxx TestHyperTreeGridBinary2DAdaptiveDataSetSurfaceFilterMaterial.cxx
...@@ -15,6 +15,6 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests ...@@ -15,6 +15,6 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
TestTemporalCacheTemporal.cxx,NO_VALID TestTemporalCacheTemporal.cxx,NO_VALID
TestTemporalFractal.cxx TestTemporalFractal.cxx
) )
vtk_test_cxx_executable(${vtk-module}CxxTests tests vtk_test_cxx_executable(vtkFiltersHybridCxxTests tests
RENDERING_FACTORY RENDERING_FACTORY
) )
...@@ -78,6 +78,6 @@ if (NOT VTK_LEGACY_REMOVE) ...@@ -78,6 +78,6 @@ if (NOT VTK_LEGACY_REMOVE)
) )
endif() endif()
vtk_add_test_cxx(${vtk-module}CxxTests tests ${test_sources}) vtk_add_test_cxx(vtkFiltersHyperTreeCxxTests tests ${test_sources})
vtk_test_cxx_executable(${vtk-module}CxxTests tests) vtk_test_cxx_executable(vtkFiltersHyperTreeCxxTests tests)
vtk_add_test_cxx(${vtk-module}CxxTests tests vtk_add_test_cxx(vtkFiltersModelingCxxTests tests
TestButterflyScalars.cxx TestButterflyScalars.cxx
TestNamedColorsIntegration.cxx TestNamedColorsIntegration.cxx
TestPolyDataPointSampler.cxx TestPolyDataPointSampler.cxx
...@@ -9,4 +9,4 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests ...@@ -9,4 +9,4 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
TestVolumeOfRevolutionFilter.cxx TestVolumeOfRevolutionFilter.cxx
UnitTestSubdivisionFilters.cxx,NO_DATA,NO_VALID,NO_OUTPUT UnitTestSubdivisionFilters.cxx,NO_DATA,NO_VALID,NO_OUTPUT
) )
vtk_test_cxx_executable(${vtk-module}CxxTests tests) vtk_test_cxx_executable(vtkFiltersModelingCxxTests tests)
vtk_add_test_cxx(${vtk-module}CxxTests tests vtk_add_test_cxx(vtkFiltersOpenTurnsCxxTests tests
NO_DATA NO_VALID NO_OUTPUT NO_DATA NO_VALID NO_OUTPUT
TestOTDensityMap.cxx TestOTDensityMap.cxx
TestOTKernelSmoothing.cxx TestOTKernelSmoothing.cxx
) )
vtk_add_test_cxx(${vtk-module}CxxTests tests vtk_add_test_cxx(vtkFiltersOpenTurnsCxxTests tests
TestScatterPlotMatrixVehiclesDensity.cxx) TestScatterPlotMatrixVehiclesDensity.cxx)
vtk_test_cxx_executable(${vtk-module}CxxTests tests) vtk_test_cxx_executable(vtkFiltersOpenTurnsCxxTests tests)
include(vtkMPI) include(vtkMPI)
vtk_add_test_cxx(${vtk-module}CxxTests testsStd vtk_add_test_cxx(vtkFiltersParallelCxxTests testsStd
TestAngularPeriodicFilter.cxx TestAngularPeriodicFilter.cxx
) )
vtk_add_test_mpi(${vtk-module}CxxTests-MPI tests vtk_add_test_mpi(vtkFiltersParallelCxxTests-MPI tests
TESTING_DATA TESTING_DATA
DistributedData.cxx DistributedData.cxx
DistributedDataRenderPass.cxx DistributedDataRenderPass.cxx
...@@ -13,24 +13,24 @@ vtk_add_test_mpi(${vtk-module}CxxTests-MPI tests ...@@ -13,24 +13,24 @@ vtk_add_test_mpi(${vtk-module}CxxTests-MPI tests
TransmitRectilinearGrid.cxx TransmitRectilinearGrid.cxx
TransmitStructuredGrid.cxx TransmitStructuredGrid.cxx
) )
vtk_add_test_mpi(${vtk-module}CxxTests-MPI no_data_tests vtk_add_test_mpi(vtkFiltersParallelCxxTests-MPI no_data_tests
ParallelResampling.cxx ParallelResampling.cxx
UnitTestPMaskPoints.cxx UnitTestPMaskPoints.cxx
) )
set(${vtk-module}CxxTests-MPI_NUMPROCS 1) set(vtkFiltersParallelCxxTests-MPI_NUMPROCS 1)
vtk_add_test_mpi(${vtk-module}CxxTests-MPI data_tests_1_proc vtk_add_test_mpi(vtkFiltersParallelCxxTests-MPI data_tests_1_proc
ParallelConnectivity1,ParallelConnectivity.cxx,TESTING_DATA,NO_VALID ParallelConnectivity1,ParallelConnectivity.cxx,TESTING_DATA,NO_VALID
) )
# We want 4 processes to test the vtkAggregateDataSetFilter # We want 4 processes to test the vtkAggregateDataSetFilter
# properly # properly
set(${vtk-module}CxxTests-MPI_NUMPROCS 4) set(vtkFiltersParallelCxxTests-MPI_NUMPROCS 4)
vtk_add_test_mpi(${vtk-module}CxxTests-MPI no_data_tests_4_procs vtk_add_test_mpi(vtkFiltersParallelCxxTests-MPI no_data_tests_4_procs
AggregateDataSet.cxx AggregateDataSet.cxx
) )
vtk_add_test_mpi(${vtk-module}CxxTests-MPI data_tests_4_procs vtk_add_test_mpi(vtkFiltersParallelCxxTests-MPI data_tests_4_procs
ParallelConnectivity4,ParallelConnectivity.cxx,TESTING_DATA,NO_VALID ParallelConnectivity4,ParallelConnectivity.cxx,TESTING_DATA,NO_VALID
) )
...@@ -41,5 +41,5 @@ set(all_tests ...@@ -41,5 +41,5 @@ set(all_tests
${no_data_tests_4_procs} ${no_data_tests_4_procs}
${data_tests_4_procs} ${data_tests_4_procs}
) )
vtk_test_mpi_executable(${vtk-module}CxxTests-MPI all_tests) vtk_test_mpi_executable(vtkFiltersParallelCxxTests-MPI all_tests)
vtk_test_cxx_executable(${vtk-module}CxxTests testsStd) vtk_test_cxx_executable(vtkFiltersParallelCxxTests testsStd)
...@@ -6,7 +6,7 @@ vtk_add_test_python(TestImageStreamer.py) ...@@ -6,7 +6,7 @@ vtk_add_test_python(TestImageStreamer.py)
vtk_add_test_python(TestRemoveGhosts.py NO_DATA NO_OUTPUT NO_VALID NO_RT) vtk_add_test_python(TestRemoveGhosts.py NO_DATA NO_OUTPUT NO_VALID NO_RT)
if(TARGET pvtkpython) if(TARGET pvtkpython)
add_test(NAME ${vtk-module}Python-testTransmit add_test(NAME vtkFiltersParallelPython-testTransmit
COMMAND ${MPIEXEC} ${MPIEXEC_NUMPROC_FLAG} 4 ${MPIEXEC_PREFLAGS} COMMAND ${MPIEXEC} ${MPIEXEC_NUMPROC_FLAG} 4 ${MPIEXEC_PREFLAGS}
$<TARGET_FILE:pvtkpython> ${CMAKE_CURRENT_SOURCE_DIR}/testTransmit.py $<TARGET_FILE:pvtkpython> ${CMAKE_CURRENT_SOURCE_DIR}/testTransmit.py
${VTK_MPI_POSTFLAGS}) ${VTK_MPI_POSTFLAGS})
......
include(vtkMPI) include(vtkMPI)
set (${vtk-module}CxxTests-MPI_NUMPROCS 2) set (vtkFiltersParallelDIY2CxxTests-MPI_NUMPROCS 2)
vtk_add_test_mpi(${vtk-module}CxxTests-MPI tests vtk_add_test_mpi(vtkFiltersParallelDIY2CxxTests-MPI tests
TESTING_DATA TESTING_DATA
TestPResampleToImage.cxx TestPResampleToImage.cxx
TestPResampleToImageCompositeDataSet.cxx TestPResampleToImageCompositeDataSet.cxx
...@@ -9,4 +9,4 @@ vtk_add_test_mpi(${vtk-module}CxxTests-MPI tests ...@@ -9,4 +9,4 @@ vtk_add_test_mpi(${vtk-module}CxxTests-MPI tests
TestPResampleWithDataSet2.cxx TestPResampleWithDataSet2.cxx
) )
vtk_test_mpi_executable(${vtk-module}CxxTests-MPI tests) vtk_test_mpi_executable(vtkFiltersParallelDIY2CxxTests-MPI tests)
...@@ -5,12 +5,12 @@ set(TestPStream_NUMPROCS 2) ...@@ -5,12 +5,12 @@ set(TestPStream_NUMPROCS 2)
set(TestPStreamGeometry_NUMPROCS 4) set(TestPStreamGeometry_NUMPROCS 4)
set(TestPParticleTracers_NUMPROCS 2) set(TestPParticleTracers_NUMPROCS 2)
set(TestPStreamAMR_NUMPROCS 4) set(TestPStreamAMR_NUMPROCS 4)
vtk_add_test_mpi(${vtk-module}CxxTests-MPI tests vtk_add_test_mpi(vtkFiltersParallelFlowPathsCxxTests-MPI tests
TestPLagrangianParticleTracker.cxx,TESTING_DATA TestPLagrangianParticleTracker.cxx,TESTING_DATA
TestPStream.cxx,TESTING_DATA TestPStream.cxx,TESTING_DATA
TestPStreamGeometry.cxx TestPStreamGeometry.cxx
TestPParticleTracers.cxx TestPParticleTracers.cxx
TestPStreamAMR.cxx,TESTING_DATA,NO_VALID