CMakeLists.txt 1.24 KB
Newer Older
1 2
include(vtkMPI)

3
vtk_add_test_cxx(vtkFiltersParallelCxxTests testsStd
4 5 6
  TestAngularPeriodicFilter.cxx
  )

7
vtk_add_test_mpi(vtkFiltersParallelCxxTests-MPI tests
Ben Boeckel's avatar
Ben Boeckel committed
8 9 10 11 12 13 14 15
  TESTING_DATA
  DistributedData.cxx
  DistributedDataRenderPass.cxx
  TransmitImageData.cxx
  TransmitImageDataRenderPass.cxx
  TransmitRectilinearGrid.cxx
  TransmitStructuredGrid.cxx
  )
16
vtk_add_test_mpi(vtkFiltersParallelCxxTests-MPI no_data_tests
Ben Boeckel's avatar
Ben Boeckel committed
17
  ParallelResampling.cxx
18
  UnitTestPMaskPoints.cxx
Ben Boeckel's avatar
Ben Boeckel committed
19
  )
20

21 22
set(vtkFiltersParallelCxxTests-MPI_NUMPROCS 1)
vtk_add_test_mpi(vtkFiltersParallelCxxTests-MPI data_tests_1_proc
23 24 25
  ParallelConnectivity1,ParallelConnectivity.cxx,TESTING_DATA,NO_VALID
  )

26 27
# We want 4 processes to test the vtkAggregateDataSetFilter
# properly
28 29
set(vtkFiltersParallelCxxTests-MPI_NUMPROCS 4)
vtk_add_test_mpi(vtkFiltersParallelCxxTests-MPI no_data_tests_4_procs
30 31
  AggregateDataSet.cxx
  )
32

33
vtk_add_test_mpi(vtkFiltersParallelCxxTests-MPI data_tests_4_procs
34 35 36
  ParallelConnectivity4,ParallelConnectivity.cxx,TESTING_DATA,NO_VALID
  )

Ben Boeckel's avatar
Ben Boeckel committed
37 38
set(all_tests
  ${tests}
39
  ${data_tests_1_proc}
Ben Boeckel's avatar
Ben Boeckel committed
40
  ${no_data_tests}
41
  ${no_data_tests_4_procs}
42
  ${data_tests_4_procs}
Ben Boeckel's avatar
Ben Boeckel committed
43
  )
44 45
vtk_test_mpi_executable(vtkFiltersParallelCxxTests-MPI all_tests)
vtk_test_cxx_executable(vtkFiltersParallelCxxTests testsStd)