vtk_add_test_python(
  Canny.py
  OBBCylinder.py
  TestCellDerivs.py
  TestClipClosedSurface.py
  TestClipOutline.py
  TestCurvatures.py
  TestDeformPointSet.py
  TestDiscreteMarchingCubes.py
  TestGraphLayoutFilter.py
  TestMultiBlockStreamer.py
  TestRectilinearGridToTetrahedra.py
  TestSampleImplicitFunctionFilter.py
  TestSplineFilter.py
  WarpToImage.py
  blankGrid.py
  clipComb.py
  clipHex.py
  clipImage.py
  clipPyramid.py
  clipQuadraticCells.py
  clipTet.py
  clipVolume.py
  clipVolume2.py
  clipVolume3.py
  clipWedge.py
  contoursToSurface.py
  cursor3D.py
  dicer.py
  edgePoints.py
  mcubes.py
  recursiveDC.py
  splitVectors.py
  streamTracer.py
  subPixelPositionMin.py
  testDataSetTriangleFilter.py
  testDataSetTriangleFilter2.py
  testReflect.py
  warplens.py
  TestRandomAttributeGenerator.py
  TestRandomAttributeGeneratorScalar.py
  WarpScalarImage.py
  WarpVectorImage.py
  cursor2D.py
  spatialRepAll.py,NO_RT
  pointsPrecisions.py,NO_OUTPUT,NO_DATA,NO_VALID,NO_RT
  tableBasedClip.py,NO_RT
  GreenLagrangeStrain.py.py,NO_OUTPUT,NO_DATA,NO_VALID
  )

vtk_add_test_python(
  Canny.py
  OBBCylinder.py
  TestCellDerivs.py
  TestClipClosedSurface.py
  TestClipOutline.py
  TestCurvatures.py
  TestDeformPointSet.py
  TestDiscreteMarchingCubes.py
  TestGraphLayoutFilter.py
  TestMultiBlockStreamer.py
  TestRectilinearGridToTetrahedra.py
  TestSplineFilter.py
  WarpToImage.py
  blankGrid.py
  clipComb.py
  clipHex.py
  clipImage.py
  clipPyramid.py
  clipQuadraticCells.py
  clipTet.py
  clipVolume.py
  clipVolume2.py
  clipVolume3.py
  clipWedge.py
  contoursToSurface.py
  cursor3D.py
  dicer.py
  edgePoints.py
  mcubes.py
  recursiveDC.py
  splitVectors.py
  streamTracer.py
  subPixelPositionMin.py
  testDataSetTriangleFilter.py
  testDataSetTriangleFilter2.py
  testReflect.py
  warplens.py
  TestRandomAttributeGenerator.py
  TestRandomAttributeGeneratorScalar.py
  WarpScalarImage.py
  WarpVectorImage.py
  cursor2D.py
  spatialRepAll.py,NO_RT
  pointsPrecisions.py,NO_OUTPUT,NO_DATA,NO_VALID,NO_RT
  tableBasedClip.py,NO_RT
  GreenLagrangeStrain.py.py,NO_OUTPUT,NO_DATA,NO_VALID
  )

if ("${VTK_RENDERING_BACKEND}" STREQUAL "OpenGL2")
  vtk_add_test_python(
    TestSampleImplicitFunctionFilter.py
    )
endif()

Work around test failure due to OpenGL2 not running on some machines
Work around test failure due to OpenGL2 not running on some machines
