if(NOT VTK_OPENGL_HAS_OSMESA)
  vtk_add_test_python(TestImagePlaneWidget.py)
  vtk_add_test_python(TestBoxWidget.py NO_RT)
  vtk_add_test_python(TestInteractorEventRecorder.py NO_RT)
  vtk_add_test_python(TestSphereWidget.py NO_RT)
  vtk_add_test_python(TestTextWidget.py NO_RT)
endif()
