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
TestVTKMClip.cxx
TestVTKMClipWithImplicitFunction.cxx
......@@ -14,6 +14,6 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
TestVTKMThreshold2.cxx
TestVTKMTriangleMeshPointNormals.cxx
)
vtk_test_cxx_executable(${vtk-module}CxxTests tests
vtk_test_cxx_executable(vtkAcceleratorsVtkmCxxTests tests
RENDERING_FACTORY
)
......@@ -36,7 +36,7 @@ set(TestParallelCoordinatesDouble_ARGS
-E 15
)
vtk_add_test_cxx(${vtk-module}CxxTests tests
vtk_add_test_cxx(vtkChartsCoreCxxTests tests
TestContextScene.cxx,NO_DATA,NO_VALID
TestControlPointsItem.cxx,NO_DATA,NO_VALID
TestControlPointsItemEvents.cxx,NO_DATA,NO_VALID
......@@ -101,6 +101,6 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
TestSurfacePlot.cxx
TestZoomAxis.cxx
)
vtk_test_cxx_executable(${vtk-module}CxxTests tests
vtk_test_cxx_executable(vtkChartsCoreCxxTests tests
RENDERING_FACTORY
)
vtk_add_test_cxx(${vtk-module}CxxTests tests
vtk_add_test_cxx(vtkCommonColorCxxTests tests
TestCategoricalColors.cxx,NO_VALID
TestColorSeries.cxx
TestColorSeriesLookupTables.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
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})
# Tell TestXMLFileOutputWindow where to write test file
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
UnitTestMath.cxx
TestArrayAPI.cxx
......@@ -141,6 +141,6 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
${data_array_tests}
)
vtk_test_cxx_executable(${vtk-module}CxxTests tests
vtk_test_cxx_executable(vtkCommonCoreCxxTests tests
vtkTestNewVar.cxx
)
vtk_add_test_cxx(${vtk-module}CxxTests tests
vtk_add_test_cxx(vtkCommonDataModelCxxTests tests
NO_DATA NO_VALID NO_OUTPUT
LagrangeHexahedron.cxx
TestAngularPeriodicDataArray.cxx
......@@ -70,7 +70,7 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
UnitTestPlanesIntersection.cxx
UnitTestTriangleIntersection.cxx
)
vtk_add_test_cxx(${vtk-module}CxxTests data_tests
vtk_add_test_cxx(vtkCommonDataModelCxxTests data_tests
TestLagrangeTriangle.cxx
TestLagrangeTetra.cxx
quadraticIntersection.cxx
......@@ -85,12 +85,12 @@ vtk_add_test_cxx(${vtk-module}CxxTests data_tests
# add to the list but don't define a test
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
)
ExternalData_add_test(VTKData
NAME TestPolyhedron2
COMMAND ${vtk-module}CxxTests TestPolyhedron2
COMMAND vtkCommonDataModelCxxTests TestPolyhedron2
-D DATA{../Data/polyhedron_mesh.vtu}
)
set(all_tests
......@@ -99,4 +99,4 @@ set(all_tests
${output_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
TestCopyAttributeData.cxx
TestImageDataToStructuredGrid.cxx
......@@ -9,4 +9,4 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
TestTrivialConsumer.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
TestAmoebaMinimizer.cxx
TestMatrix3x3.cxx
TestPolynomialSolversUnivariate.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
TestPolygonBuilder.cxx
TestPolygonBuilder2.cxx
......@@ -8,4 +8,4 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
TestPolygonBuilder5.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
TestDirectory.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
TestTransform.cxx
TestLandmarkTransform.cxx
)
vtk_test_cxx_executable(${vtk-module}CxxTests tests)
vtk_test_cxx_executable(vtkCommonTransformsCxxTests tests)
......@@ -14,7 +14,7 @@ endif()
set(TestVASPAnimationReader_ARGS DATA{../Data/VASP/NPT_Z_ANIMATE.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}
TestBallAndStick.cxx
TestPDBBallAndStick.cxx
......@@ -39,7 +39,7 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
TestVDWSpheres.cxx
TestCMLMoleculeReader.cxx
)
vtk_test_cxx_executable(${vtk-module}CxxTests tests
vtk_test_cxx_executable(vtkDomainsChemistryCxxTests tests
RENDERING_FACTORY
)
......@@ -48,6 +48,6 @@ vtk_test_cxx_executable(${vtk-module}CxxTests tests
if(NOT VTK_TEST_TIMEOUT_TestPDBBallAndStick)
set(VTK_TEST_TIMEOUT_TestPDBBallAndStick 360)
endif()
set_tests_properties(${vtk-module}Cxx-TestPDBBallAndStick
set_tests_properties(vtkDomainsChemistryCxx-TestPDBBallAndStick
PROPERTIES TIMEOUT ${VTK_TEST_TIMEOUT_TestPDBBallAndStick}
RUN_SERIAL ON)
vtk_add_test_cxx(${vtk-module}CxxTests tests
vtk_add_test_cxx(vtkDomainsChemistryOpenGL2CxxTests tests
TestPDBBallAndStickShadows.cxx
TestPDBBallAndStickShadowsDOFSSAA.cxx
)
vtk_test_cxx_executable(${vtk-module}CxxTests tests
vtk_test_cxx_executable(vtkDomainsChemistryOpenGL2CxxTests tests
RENDERING_FACTORY
)
......@@ -11,6 +11,6 @@ vtk_test_cxx_executable(${vtk-module}CxxTests tests
if(NOT VTK_TEST_TIMEOUT_TestPDBBallAndStickShadows)
set(VTK_TEST_TIMEOUT_TestPDBBallAndStickShadows 360)
endif()
set_tests_properties(${vtk-module}Cxx-TestPDBBallAndStickShadows
set_tests_properties(vtkDomainsChemistryOpenGL2Cxx-TestPDBBallAndStickShadows
PROPERTIES TIMEOUT ${VTK_TEST_TIMEOUT_TestPDBBallAndStickShadows}
RUN_SERIAL ON)
# OpenSlideReader Tests
vtk_add_test_cxx(${vtk-module}CxxTests tests
vtk_add_test_cxx(vtkDomainsMicroscopyCxxTests tests
TestOpenSlideReader.cxx
"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
"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)
${test}.cxx)
endforeach()
vtk_add_test_cxx(${vtk-module}CxxTests tests
vtk_add_test_cxx(vtkFiltersAMRCxxTests tests
NO_VALID NO_OUTPUT
${test_files}
)
vtk_test_cxx_executable(${vtk-module}CxxTests tests)
vtk_test_cxx_executable(vtkFiltersAMRCxxTests tests)
foreach(test IN LISTS cxx_tests)
set_tests_properties(${vtk-module}Cxx-${test}
set_tests_properties(vtkFiltersAMRCxx-${test}
PROPERTIES
FAIL_REGULAR_EXPRESSION "Error"
)
......
......@@ -14,7 +14,7 @@ if(VTK_PYTHON_EXE)
${test_files}
)
foreach(test IN LISTS python_tests)
set_tests_properties(${vtk-module}Python-${test}
set_tests_properties(vtkFiltersAMRPython-${test}
PROPERTIES
FAIL_REGULAR_EXPRESSION "Error"
)
......
vtk_add_test_cxx(${vtk-module}CxxTests tests
vtk_add_test_cxx(vtkFiltersCoreCxxTests tests
TestAppendArcLength.cxx,NO_VALID
TestAppendFilter.cxx,NO_VALID
TestAppendPolyData.cxx,NO_VALID
......@@ -50,4 +50,4 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
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
TestExtractSelection.cxx
TestExtraction.cxx
TestExtractRectilinearGrid.cxx,NO_VALID,NO_DATA
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
TestEvenlySpacedStreamlines2D.cxx
TestStreamTracer.cxx,NO_VALID
......@@ -9,7 +9,7 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
TestLagrangianParticle.cxx,NO_VALID
TestLagrangianParticleTracker.cxx
)
vtk_test_cxx_executable(${vtk-module}CxxTests tests
vtk_test_cxx_executable(vtkFiltersFlowPathsCxxTests tests
RENDERING_FACTORY
)
ExternalData_Expand_Arguments(VTKData _
......
......@@ -2,7 +2,7 @@ set(TestDensifyPolyData_ARGS -E 15)
set(TestDataSetGradient_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
ArrayMatricizeArray.cxx,NO_VALID
ArrayNormalizeMatrixVectors.cxx,NO_VALID
......@@ -42,7 +42,7 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
UnitTestMultiThreshold.cxx,NO_VALID
)
# Tests with data
vtk_add_test_cxx(${vtk-module}CxxTests data_tests
vtk_add_test_cxx(vtkFiltersGeneralCxxTests data_tests
BoxClipPointData.cxx
BoxClipOrientedPointData.cxx
TestDataSetGradient.cxx
......@@ -58,12 +58,12 @@ set(all_tests
${data_tests}
)
vtk_test_cxx_executable(${vtk-module}CxxTests all_tests
vtk_test_cxx_executable(vtkFiltersGeneralCxxTests all_tests
RENDERING_FACTORY)
# On some machines this test takes some extra time
if(NOT VTK_TEST_TIMEOUT_TestYoungsMaterialInterface)
set(VTK_TEST_TIMEOUT_TestYoungsMaterialInterface 300)
endif()
set_tests_properties(${vtk-module}Cxx-TestYoungsMaterialInterface
set_tests_properties(vtkFiltersGeneralCxx-TestYoungsMaterialInterface
PROPERTIES TIMEOUT ${VTK_TEST_TIMEOUT_TestYoungsMaterialInterface})
vtk_add_test_cxx(${vtk-module}CxxTests tests
vtk_add_test_cxx(vtkFiltersGenericCxxTests tests
TestGenericStreamTracer.cxx
TestGenericClip.cxx
TestGenericContourFilter.cxx
......@@ -11,4 +11,4 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
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
TestDataSetSurfaceFieldData.cxx,NO_VALID
TestDataSetSurfaceFilterQuadraticTetsGhostCells.cxx,NO_VALID
......@@ -12,7 +12,7 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
TestUnstructuredGridGeometryFilter.cxx
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
TestGeometryFilterCellData.cxx
TestStructuredAMRGridConnectivity.cxx
......@@ -26,4 +26,4 @@ set(all_tests
${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
TestHyperTreeGridBinary2DAdaptiveDataSetSurfaceFilter.cxx
TestHyperTreeGridBinary2DAdaptiveDataSetSurfaceFilterMaterial.cxx
......@@ -15,6 +15,6 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
TestTemporalCacheTemporal.cxx,NO_VALID
TestTemporalFractal.cxx
)
vtk_test_cxx_executable(${vtk-module}CxxTests tests
vtk_test_cxx_executable(vtkFiltersHybridCxxTests tests
RENDERING_FACTORY
)
......@@ -78,6 +78,6 @@ if (NOT VTK_LEGACY_REMOVE)
)
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
TestNamedColorsIntegration.cxx
TestPolyDataPointSampler.cxx
......@@ -9,4 +9,4 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
TestVolumeOfRevolutionFilter.cxx
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
TestOTDensityMap.cxx
TestOTKernelSmoothing.cxx
)
vtk_add_test_cxx(${vtk-module}CxxTests tests
vtk_add_test_cxx(vtkFiltersOpenTurnsCxxTests tests
TestScatterPlotMatrixVehiclesDensity.cxx)
vtk_test_cxx_executable(${vtk-module}CxxTests tests)
vtk_test_cxx_executable(vtkFiltersOpenTurnsCxxTests tests)
include(vtkMPI)
vtk_add_test_cxx(${vtk-module}CxxTests testsStd
vtk_add_test_cxx(vtkFiltersParallelCxxTests testsStd
TestAngularPeriodicFilter.cxx
)
vtk_add_test_mpi(${vtk-module}CxxTests-MPI tests
vtk_add_test_mpi(vtkFiltersParallelCxxTests-MPI tests
TESTING_DATA
DistributedData.cxx
DistributedDataRenderPass.cxx
......@@ -13,24 +13,24 @@ vtk_add_test_mpi(${vtk-module}CxxTests-MPI tests
TransmitRectilinearGrid.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
UnitTestPMaskPoints.cxx
)
set(${vtk-module}CxxTests-MPI_NUMPROCS 1)
vtk_add_test_mpi(${vtk-module}CxxTests-MPI data_tests_1_proc
set(vtkFiltersParallelCxxTests-MPI_NUMPROCS 1)
vtk_add_test_mpi(vtkFiltersParallelCxxTests-MPI data_tests_1_proc
ParallelConnectivity1,ParallelConnectivity.cxx,TESTING_DATA,NO_VALID
)
# We want 4 processes to test the vtkAggregateDataSetFilter
# properly
set(${vtk-module}CxxTests-MPI_NUMPROCS 4)
vtk_add_test_mpi(${vtk-module}CxxTests-MPI no_data_tests_4_procs
set(vtkFiltersParallelCxxTests-MPI_NUMPROCS 4)
vtk_add_test_mpi(vtkFiltersParallelCxxTests-MPI no_data_tests_4_procs
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
)
......@@ -41,5 +41,5 @@ set(all_tests
${no_data_tests_4_procs}
${data_tests_4_procs}
)
vtk_test_mpi_executable(${vtk-module}CxxTests-MPI all_tests)
vtk_test_cxx_executable(${vtk-module}CxxTests testsStd)
vtk_test_mpi_executable(vtkFiltersParallelCxxTests-MPI all_tests)
vtk_test_cxx_executable(vtkFiltersParallelCxxTests testsStd)
......@@ -6,7 +6,7 @@ vtk_add_test_python(TestImageStreamer.py)
vtk_add_test_python(TestRemoveGhosts.py NO_DATA NO_OUTPUT NO_VALID NO_RT)
if(TARGET pvtkpython)
add_test(NAME ${vtk-module}Python-testTransmit
add_test(NAME vtkFiltersParallelPython-testTransmit
COMMAND ${MPIEXEC} ${MPIEXEC_NUMPROC_FLAG} 4 ${MPIEXEC_PREFLAGS}
$<TARGET_FILE:pvtkpython> ${CMAKE_CURRENT_SOURCE_DIR}/testTransmit.py
${VTK_MPI_POSTFLAGS})
......
include(vtkMPI)
set (${vtk-module}CxxTests-MPI_NUMPROCS 2)
vtk_add_test_mpi(${vtk-module}CxxTests-MPI tests
set (vtkFiltersParallelDIY2CxxTests-MPI_NUMPROCS 2)
vtk_add_test_mpi(vtkFiltersParallelDIY2CxxTests-MPI tests
TESTING_DATA
TestPResampleToImage.cxx
TestPResampleToImageCompositeDataSet.cxx
......@@ -9,4 +9,4 @@ vtk_add_test_mpi(${vtk-module}CxxTests-MPI tests
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)
set(TestPStreamGeometry_NUMPROCS 4)
set(TestPParticleTracers_NUMPROCS 2)
set(TestPStreamAMR_NUMPROCS 4)
vtk_add_test_mpi(${vtk-module}CxxTests-MPI tests
vtk_add_test_mpi(vtkFiltersParallelFlowPathsCxxTests-MPI tests
TestPLagrangianParticleTracker.cxx,TESTING_DATA
TestPStream.cxx,TESTING_DATA
TestPStreamGeometry.cxx
TestPParticleTracers.cxx
TestPStreamAMR.cxx,TESTING_DATA,NO_VALID
)
vtk_test_mpi_executable(${vtk-module}CxxTests-MPI tests
vtk_test_mpi_executable(vtkFiltersParallelFlowPathsCxxTests-MPI tests
TestVectorFieldSource.cxx)
......@@ -8,7 +8,7 @@ set(Tests_SRCS
set(TestPUnstructuredGridGhostCellsGenerator_NUMPROCS 4)
vtk_add_test_mpi(${vtk-module}CxxTests-MPI tests ${Tests_SRCS})
vtk_add_test_mpi(vtkFiltersParallelGeometryCxxTests-MPI tests ${Tests_SRCS})
vtk_test_mpi_executable(${vtk-module}CxxTests-MPI tests
vtk_test_mpi_executable(vtkFiltersParallelGeometryCxxTests-MPI tests
UnstructuredGhostZonesCommon.cxx)
include(vtkMPI)
vtk_add_test_mpi(${vtk-module}CxxTests-MPI tests
vtk_add_test_mpi(vtkFiltersParallelMPICxxTests-MPI tests
TestImplicitConnectivity.cxx
)
vtk_test_mpi_executable(${vtk-module}CxxTests-MPI tests)
vtk_test_mpi_executable(vtkFiltersParallelMPICxxTests-MPI tests)
include(vtkMPI)
vtk_add_test_mpi(${vtk-module}CxxTests-MPI tests
vtk_add_test_mpi(vtkFiltersParallelStatisticsCxxTests-MPI tests
TestRandomPContingencyStatisticsMPI.cxx
TestRandomPKMeansStatisticsMPI.cxx
TestRandomPMomentStatisticsMPI.cxx
......@@ -9,4 +9,4 @@ vtk_add_test_mpi(${vtk-module}CxxTests-MPI tests
# # vtk. Why is that so?
# TestRealDataPDescriptiveStatisticsMPI.cxx
)
vtk_test_mpi_executable(${vtk-module}CxxTests-MPI tests)
vtk_test_mpi_executable(vtkFiltersParallelStatisticsCxxTests-MPI tests)
include(vtkMPI)
set(PCellSizeFilter_NUMPROCS 2)
vtk_add_test_mpi(${vtk-module}CxxTests-MPI tests PCellSizeFilter.cxx,TESTING_DATA,NO_VALID)
vtk_add_test_mpi(vtkFiltersParallelVerdictCxxTests-MPI tests PCellSizeFilter.cxx,TESTING_DATA,NO_VALID)
vtk_test_mpi_executable(${vtk-module}CxxTests-MPI tests
vtk_test_mpi_executable(vtkFiltersParallelVerdictCxxTests-MPI tests
PCellSizeFilter.cxx)
vtk_add_test_cxx(${vtk-module}CxxTests tests
vtk_add_test_cxx(vtkFiltersPointsCxxTests tests
UnitTestKernels.cxx,NO_VALID
TestSPHKernels.cxx,NO_VALID
PlotSPHKernels.cxx
TestPointCloudFilterArrays.cxx,NO_VALID,NO_DATA
)
vtk_test_cxx_executable(${vtk-module}CxxTests tests
vtk_test_cxx_executable(vtkFiltersPointsCxxTests tests
RENDERING_FACTORY
)
vtk_add_test_cxx(${vtk-module}CxxTests tests
vtk_add_test_cxx(vtkFiltersProgrammableCxxTests tests
TestProgrammableFilter.cxx,NO_VALID
TestProgrammableGlyph.cxx
)
vtk_test_cxx_executable(${vtk-module}CxxTests tests
vtk_test_cxx_executable(vtkFiltersProgrammableCxxTests tests
RENDERING_FACTORY)
vtk_add_test_cxx(${vtk-module}CxxTests tests
vtk_add_test_cxx(vtkFiltersReebGraphCxxTests tests
NO_DATA NO_VALID NO_OUTPUT
TestReebGraph.cxx
)
vtk_test_cxx_executable(${vtk-module}CxxTests tests)
vtk_test_cxx_executable(vtkFiltersReebGraphCxxTests tests)
vtk_add_test_cxx(${vtk-module}CxxTests tests
vtk_add_test_cxx(vtkFiltersSMPCxxTests tests
NO_VALID
TestSMPContour.cxx
)
if (NOT VTK_LEGACY_REMOVE)
vtk_add_test_cxx(${vtk-module}CxxTests tests
vtk_add_test_cxx(vtkFiltersSMPCxxTests tests
NO_VALID
TestThreadedSynchronizedTemplates3D.cxx
TestThreadedSynchronizedTemplatesCutter3D.cxx
......@@ -11,4 +11,4 @@ if (NOT VTK_LEGACY_REMOVE)
TestSMPWarp.cxx
)
endif()
vtk_test_cxx_executable(${vtk-module}CxxTests tests)
vtk_test_cxx_executable(vtkFiltersSMPCxxTests tests)
vtk_add_test_cxx(${vtk-module}CxxTests tests
vtk_add_test_cxx(vtkFiltersSelectionCxxTests tests
NO_VALID
TestLinearSelector2D.cxx
TestCellDistanceSelector2D.cxx
TestCellDistanceSelector3D.cxx
TestLinearSelector3D.cxx
)
vtk_test_cxx_executable(${vtk-module}CxxTests tests
vtk_test_cxx_executable(vtkFiltersSelectionCxxTests tests
RENDERING_FACTORY
)
vtk_add_test_cxx(${vtk-module}CxxTests tests
vtk_add_test_cxx(vtkFiltersSourcesCxxTests tests
TestArcSource.cxx,NO_VALID
TestCellTypeSource.cxx,NO_VALID
TestConeSource.cxx,NO_VALID
......@@ -28,5 +28,5 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
TestTexturedSphereSource.cxx,NO_VALID
TestGlyphSource2DResolution.cxx,
)
vtk_test_cxx_executable(${vtk-module}CxxTests tests
vtk_test_cxx_executable(vtkFiltersSourcesCxxTests tests
RENDERING_FACTORY)
vtk_add_test_cxx(${vtk-module}CxxTests tests
vtk_add_test_cxx(vtkFiltersStatisticsCxxTests tests
NO_DATA NO_VALID NO_OUTPUT
TestAutoCorrelativeStatistics.cxx
TestComputeQuartiles.cxx
......@@ -12,4 +12,4 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
TestOrderStatistics.cxx
TestPCAStatistics.cxx
)
vtk_test_cxx_executable(${vtk-module}CxxTests tests)
vtk_test_cxx_executable(vtkFiltersStatisticsCxxTests tests)
vtk_add_test_cxx(${vtk-module}CxxTests tests
vtk_add_test_cxx(vtkFiltersTopologyCxxTests tests
TestFiberSurface.cxx,NO_VALID
)
vtk_test_cxx_executable(${vtk-module}CxxTests tests)
vtk_test_cxx_executable(vtkFiltersTopologyCxxTests tests)
vtk_add_test_cxx(${vtk-module}CxxTests tests
vtk_add_test_cxx(vtkFiltersVerdictCxxTests tests
NO_VALID
CellSizeFilter.cxx
MeshQuality.cxx
)
vtk_test_cxx_executable(${vtk-module}CxxTests tests)
vtk_test_cxx_executable(vtkFiltersVerdictCxxTests tests)
include(vtkQt)
vtk_add_test_cxx(${vtk-module}CxxTests tests
vtk_add_test_cxx(vtkGUISupportQtCxxTests tests
NO_VALID
TestQtDebugLeaksView.cxx
TestQtTableModelAdapter.cxx
......@@ -9,7 +9,7 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
TestQtSwapWindows.cxx
)
vtk_add_test_cxx(${vtk-module}CxxTests tests
vtk_add_test_cxx(vtkGUISupportQtCxxTests tests
TestQVTKOpenGLWidget.cxx
TestQVTKOpenGLWidgetWithDisabledInteractor.cxx
TestQVTKOpenGLWidgetWithMSAA.cxx
......@@ -18,7 +18,7 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
if(NOT VTK_LEGACY_REMOVE)
# tests use legacy QVTKWidget.
if(WIN32)
vtk_add_test_cxx(${vtk-module}CxxTests tests
vtk_add_test_cxx(vtkGUISupportQtCxxTests tests
NO_VALID
TestWin32QVTKWidget.cxx)
endif()
......@@ -28,8 +28,8 @@ find_package(Qt5 COMPONENTS Widgets REQUIRED)
include_directories(${Qt5Widgets_INCLUDE_DIRS})
add_definitions(${Qt5Widgets_DEFINITIONS})
vtk_test_cxx_executable(${vtk-module}CxxTests tests
vtk_test_cxx_executable(vtkGUISupportQtCxxTests tests
QTestApp.cxx)
set_target_properties(${vtk-module}CxxTests PROPERTIES
set_target_properties(vtkGUISupportQtCxxTests PROPERTIES
COMPILE_FLAGS "${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS}")
if(NOT VTK_LEGACY_REMOVE)
vtk_add_test_cxx(${vtk-module}CxxTests tests
vtk_add_test_cxx(vtkGUISupportQtOpenGLCxxTests tests
TestQVTKWidget2.cxx,NO_DATA
)
find_package(Qt5 COMPONENTS Core Gui Widgets REQUIRED QUIET)
qt5_wrap_cpp(moc_srcs QTestMainWindow.h)
vtk_test_cxx_executable(${vtk-module}CxxTests tests
vtk_test_cxx_executable(vtkGUISupportQtOpenGLCxxTests tests
QTestMainWindow.cxx
${moc_srcs})
target_link_libraries(${vtk-module}CxxTests LINK_PRIVATE
target_link_libraries(vtkGUISupportQtOpenGLCxxTests LINK_PRIVATE
${QT_QTGUI_LIBRARY}