1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
|
if(VTK_RENDERING_BACKEND STREQUAL "OpenGL2")
set(extra_opengl2_tests
TestCompositePolyDataMapper2.cxx,NO_DATA
TestCompositePolyDataMapper2Scalars.cxx,NO_DATA
# the following produce incorrect results in OpenGL
TestTranslucentLUTAlphaBlending.cxx
TestTranslucentLUTTextureAlphaBlending.cxx
TestAreaSelections.cxx
)
endif()
vtk_add_test_cxx(${vtk-module}CxxTests tests
${extra_opengl2_tests}
otherCoordinate.cxx,NO_DATA,NO_VALID
FrustumClip.cxx
Mace.cxx
RGrid.cxx
TestActor2D.cxx
TestActor2DTextures.cxx
TestActorLightingFlag.cxx
TestAnimationScene.cxx
TestAssemblyBounds.cxx,NO_VALID
TestBackfaceCulling.cxx
TestBareScalarsToColors.cxx
TestBlockOpacity.cxx
TestColorByCellDataStringArray.cxx
TestColorByPointDataStringArray.cxx
TestColorByStringArrayDefaultLookupTable.cxx
TestColorByStringArrayDefaultLookupTable2D.cxx
TestColorTransferFunction.cxx,NO_VALID
TestColorTransferFunctionStringArray.cxx,NO_VALID
TestDirectScalarsToColors.cxx
TestDiscretizableColorTransferFunction.cxx,NO_VALID
TestDiscretizableColorTransferFunctionStringArray.cxx,NO_VALID
TestEdgeFlags.cxx
TestFollowerPicking.cxx
TestGlyph3DMapper.cxx
TestGlyph3DMapperArrow.cxx
TestGlyph3DMapperMasking.cxx
TestGlyph3DMapperOrientationArray.cxx
TestGlyph3DMapperPicking.cxx
TestGradientBackground.cxx
TestHomogeneousTransformOfActor.cxx
TestInteractorStyleImageProperty.cxx,NO_VALID
TestInteractorTimers.cxx,NO_VALID
TestLabeledContourMapper.cxx
TestLabeledContourMapperWithActorMatrix.cxx
TestPickingManager.cxx,NO_VALID
TestManyActors.cxx,NO_VALID
TestMapVectorsAsRGBColors.cxx
TestMapVectorsToColors.cxx
TestOffAxisStereo.cxx
TestOrderedTriangulator.cxx
TestOpacity.cxx
TestOSConeCxx.cxx
TestPointSelection.cxx,NO_VALID
TestPolygonSelection.cxx
TestResetCameraVerticalAspectRatio.cxx
TestResetCameraVerticalAspectRatioParallel.cxx
TestSplitViewportStereoHorizontal.cxx
TestTexturedBackground.cxx
TestTextureSize.cxx,NO_VALID
TestTextureRGBA.cxx
TestTextureRGBADepthPeeling.cxx
TestTilingCxx.cxx
TestTransformCoordinateUseDouble.cxx
TestTranslucentImageActorAlphaBlending.cxx
TestTranslucentImageActorDepthPeeling.cxx
TestTranslucentLUTDepthPeeling.cxx
TestTranslucentLUTTextureDepthPeeling.cxx
TestTStripsColorsTCoords.cxx
TestTStripsNormalsColorsTCoords.cxx
TestTStripsNormalsTCoords.cxx
TestTStripsTCoords.cxx
otherLookupTable.cxx,NO_VALID
otherLookupTableWithEnabling.cxx,NO_VALID
RenderNonFinite.cxx
SurfacePlusEdges.cxx
# TestViewDependentErrorMetric.cxx # Loads of extra deps - move?
# TestHierarchicalBoxPipeline.cxx # legacy code
)
if(VTK_RENDERING_BACKEND STREQUAL "OpenGL2")
set_source_files_properties(
TestEdgeFlags.cxx # fails on OpenGL Mesa
PROPERTIES COMPILE_FLAGS -DVTK_OPENGL2)
endif()
vtk_test_cxx_executable(${vtk-module}CxxTests tests)
|