Commit f83d821a authored by Bill Lorensen's avatar Bill Lorensen

ENH: Add InteractionStyle to rendering tests

When tests are run with -I they must be linked with InteractionStyle.

On the Mac, tests must be linked with MACOSX_BUNDLE to get keyboard
focus.

Change-Id: I938c4b6a5a44ca5792f5eeaaa946cc9fb27e1110
parent 980ce1d7
......@@ -9,6 +9,7 @@ vtk_module(vtkAcceleratorsPiston
vtkImagingHybrid #from piston
TEST_DEPENDS
vtkTestingRendering
vtkInteractionStyle
vtkInteractionWidgets
vtkImagingSources
vtkParallelCore
......
......@@ -407,7 +407,7 @@ endfunction()
macro(vtk_module_test_executable test_exe_name)
vtk_module_test()
# No forwarding or export for test executables.
add_executable(${test_exe_name} ${ARGN})
add_executable(${test_exe_name} MACOSX_BUNDLE ${ARGN})
target_link_libraries(${test_exe_name} ${${vtk-module-test}-Cxx_LIBRARIES})
if(${vtk-module-test}-Cxx_DEFINITIONS)
......
......@@ -7,4 +7,5 @@ vtk_module(vtkCommonColor
vtkRenderingOpenGL
vtkTestingCore
vtkTestingRendering
vtkInteractionStyle
)
......@@ -7,6 +7,7 @@ vtk_module(vtkCommonDataModel
TEST_DEPENDS
vtkTestingCore
vtkTestingRendering
vtkInteractionStyle
vtkCommonExecutionModel
vtkIOGeometry
vtkIOLegacy
......
......@@ -9,6 +9,7 @@ vtk_module(vtkFiltersCore
vtkCommonMath
TEST_DEPENDS
vtkTestingRendering
vtkInteractionStyle
vtkIOLegacy
vtkIOXML
vtkImagingCore
......
......@@ -11,6 +11,6 @@ vtk_module(vtkFiltersFlowPaths
vtkFiltersImaging
vtkTestingCore
vtkTestingRendering
vtkRenderingOpenGL
vtkInteractionStyle
vtkRenderingOpenGL
)
......@@ -12,4 +12,5 @@ vtk_module(vtkFiltersGeneric
vtkFiltersModeling
vtkRenderingLabel
vtkTestingRendering
vtkInteractionStyle
vtkTestingGenericBridge)
......@@ -7,4 +7,5 @@ vtk_module(vtkFiltersGeometry
vtkIOXML
vtkRenderingOpenGL
vtkTestingRendering
vtkInteractionStyle
)
......@@ -10,5 +10,6 @@ vtk_module(vtkFiltersHybrid
vtkRenderingOpenGL
vtkImagingCore
vtkTestingRendering
vtkInteractionStyle
vtkIOLegacy
)
......@@ -9,4 +9,5 @@ vtk_module(vtkFiltersModeling
vtkIOXML
vtkRenderingOpenGL
vtkTestingRendering
vtkInteractionStyle
)
......@@ -9,6 +9,7 @@ vtk_module(vtkFiltersParallel
TEST_DEPENDS
vtkParallelMPI
vtkTestingRendering
vtkInteractionStyle
vtkRenderingOpenGL
vtkRenderingParallel
vtkFiltersParallelMPI
......
......@@ -6,4 +6,5 @@ vtk_module(vtkFiltersProgrammable
TEST_DEPENDS
vtkRenderingOpenGL
vtkTestingRendering
vtkInteractionStyle
)
......@@ -4,4 +4,5 @@ vtk_module(vtkFiltersReebGraph
TEST_DEPENDS
vtkRenderingOpenGL
vtkTestingRendering
vtkInteractionStyle
)
......@@ -12,4 +12,5 @@ vtk_module(vtkFiltersSelection
vtkRenderingFreeTypeOpenGL
vtkRenderingAnnotation
vtkTestingRendering
vtkInteractionStyle
)
......@@ -7,6 +7,7 @@ vtk_module(vtkFiltersSources
TEST_DEPENDS
vtkTestingCore
vtkTestingRendering
vtkInteractionStyle
vtkRenderingOpenGL
vtkRenderingFreeTypeOpenGL
vtkFiltersModeling
......
......@@ -15,4 +15,5 @@ vtk_module(vtkGeovisCore
vtkRenderingCore
vtkRenderingFreeTypeOpenGL
vtkTestingRendering
vtkInteractionStyle
)
......@@ -15,6 +15,7 @@ vtk_module(vtkIOExport
vtkChartsCore
vtkInteractionImage
vtkTestingRendering
vtkInteractionStyle
vtkRenderingAnnotation
vtkRenderingFreeTypeOpenGL
vtkRenderingVolumeOpenGL
......
......@@ -6,4 +6,5 @@ vtk_module(vtkIOGDAL
vtkTestingCore
vtkRenderingOpenGL
vtkTestingRendering
vtkInteractionStyle
)
......@@ -14,4 +14,5 @@ vtk_module(vtkIOGeometry
vtkFiltersGeometry
vtkRenderingOpenGL
vtkTestingRendering
vtkInteractionStyle
)
......@@ -7,4 +7,5 @@ vtk_module(vtkIOImport
TEST_DEPENDS
vtkRenderingOpenGL
vtkTestingRendering
vtkInteractionStyle
)
......@@ -7,4 +7,5 @@ vtk_module(vtkIOLSDyna
TEST_DEPENDS
vtkRenderingOpenGL
vtkTestingRendering
vtkInteractionStyle
)
......@@ -9,4 +9,5 @@ vtk_module(vtkIOMPIParallel
TEST_DEPENDS
vtkRenderingOpenGL
vtkTestingRendering
vtkInteractionStyle
)
......@@ -11,4 +11,5 @@ vtk_module(vtkIONetCDF
vtkCommonExecutionModel
vtkRenderingOpenGL
vtkTestingRendering
vtkInteractionStyle
)
......@@ -9,4 +9,5 @@ vtk_module(vtkIOPLY
vtkRenderingOpenGL
vtkIOImage
vtkTestingRendering
vtkInteractionStyle
)
......@@ -7,5 +7,6 @@ vtk_module(vtkIOParallelLSDyna
vtkParallelMPI
vtkRenderingParallel
vtkTestingRendering
vtkInteractionStyle
vtkRenderingOpenGL
)
......@@ -10,4 +10,5 @@ vtk_module(vtkIOParallelNetCDF
vtkCommonExecutionModel
vtkRenderingOpenGL
vtkTestingRendering
vtkInteractionStyle
)
......@@ -14,4 +14,5 @@ vtk_module(vtkIOXML
vtkRenderingOpenGL
vtkTestingCore
vtkTestingRendering
vtkInteractionStyle
)
......@@ -13,6 +13,7 @@ vtk_module(vtkImagingCore
vtkFiltersHybrid
vtkRenderingOpenGL
vtkTestingRendering
vtkInteractionStyle
vtkInteractionImage
vtkImagingMath # Move tests
vtkImagingStencil # Move tests
......
......@@ -5,6 +5,7 @@ vtk_module(vtkInfovisBoostGraphAlgorithms
TEST_DEPENDS
vtkRenderingOpenGL
vtkTestingRendering
vtkInteractionStyle
vtkIOInfovis
vtkViewsInfovis
vtkRenderingFreeTypeOpenGL
......
......@@ -10,5 +10,6 @@ vtk_module(vtkInfovisCore
vtkInfovisLayout
vtkRenderingOpenGL
vtkTestingRendering
vtkInteractionStyle
vtkIOInfovis
)
......@@ -10,5 +10,6 @@ vtk_module(vtkInfovisLayout
vtkRenderingLabel
vtkRenderingOpenGL
vtkTestingRendering
vtkInteractionStyle
vtkIOInfovis
)
......@@ -9,4 +9,5 @@ vtk_module(vtkRenderingFreeTypeOpenGL
TEST_DEPENDS
vtkTestingCore
vtkTestingRendering
vtkInteractionStyle
)
......@@ -6,4 +6,5 @@ vtk_module(vtkRenderingGL2PS
vtkgl2ps
TEST_DEPENDS
vtkTestingRendering
vtkInteractionStyle
)
......@@ -11,4 +11,5 @@ vtk_module(vtkRenderingHybridOpenGL
vtkIOXML
vtkTestingCore
vtkTestingRendering
vtkInteractionStyle
)
......@@ -12,6 +12,7 @@ vtk_module(vtkRenderingMatplotlib
vtkIOExport
vtkIOGeometry
vtkTestingRendering
vtkInteractionStyle
vtkRenderingGL2PS
vtkRenderingOpenGL
vtkRenderingFreeTypeOpenGL
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment