Commit 050fd10e authored by Brad King's avatar Brad King

Mark non-baseline tests with NO_VALID option

Tell calls to vtk_add_test_(cxx|python|tcl) explicitly when there is no
valid baseline image to avoid passing -V unnecessarily.

Change-Id: Ibe5aecdfa076446ddda0b95e814483eb6622af73
parent 02f0a6d2
vtk_add_test_cxx(Common
vtk_add_test_cxx(NO_VALID
TestCategoricalColors.cxx
TestNamedColors.cxx
)
......
......@@ -6,15 +6,15 @@ vtk_add_test_cxx(Chemistry
TestCompositeRender.cxx
TestFastRender.cxx
TestLiquoriceSticks.cxx
TestMolecule.cxx
TestMoleculeSelection.cxx
TestMolecule.cxx,NO_VALID
TestMoleculeSelection.cxx,NO_VALID
TestMoleculeMapperPropertyUpdate.cxx
TestMultiCylinderOn.cxx
TestMultiCylinderOff.cxx
TestPeriodicTable.cxx
TestProgrammableElectronicData.cxx
TestPeriodicTable.cxx,NO_VALID
TestProgrammableElectronicData.cxx,NO_VALID
TestProteinRibbon.cxx
TestSimpleBondPerceiver.cxx
TestSimpleBondPerceiver.cxx,NO_VALID
TestVDWSpheres.cxx
)
......
# Tests with data
if(VTK_DATA_ROOT)
vtk_add_test_cxx(Graphics
TestArrayCalculator.cxx
TestArrayCalculator.cxx,NO_VALID
)
endif()
vtk_add_test_cxx(Graphics
TestGhostArray.cxx
TestGhostArray.cxx,NO_VALID
# TestAppendPolyData.cxx
TestAppendSelection.cxx
TestAssignAttribute.cxx
TestCellDataToPointData.cxx
TestCenterOfMass.cxx
TestDecimatePolylineFilter.cxx
TestAppendSelection.cxx,NO_VALID
TestAssignAttribute.cxx,NO_VALID
TestCellDataToPointData.cxx,NO_VALID
TestCenterOfMass.cxx,NO_VALID
TestDecimatePolylineFilter.cxx,NO_VALID
TestDelaunay2D.cxx
TestExecutionTimer.cxx
TestExecutionTimer.cxx,NO_VALID
TestGlyph3D.cxx
TestImplicitPolyDataDistance.cxx
TestCutter.cxx
TestThreshold.cxx
TestImplicitPolyDataDistance.cxx,NO_VALID
TestCutter.cxx,NO_VALID
TestThreshold.cxx,NO_VALID
)
vtk_test_cxx_executable(${vtk-module}CxxTests)
......@@ -10,7 +10,7 @@ vtk_add_test_python(TestMarchingSquares.py Graphics)
vtk_add_test_python(TestRectilinearSynchronizedTemplates.py Graphics)
vtk_add_test_python(TestSynchronizedTemplates2D.py Graphics)
vtk_add_test_python(TestSynchronizedTemplates3D.py Graphics)
vtk_add_test_python(TestContourGrid.py Graphics)
vtk_add_test_python(TestContourGrid.py NO_VALID)
vtk_add_test_python(TestTensorGlyph.py Graphics NO_RT)
vtk_add_test_python(TestTextureGlyph.py Graphics)
vtk_add_test_python(TestTriangleFilter.py Graphics)
......
vtk_add_test_cxx(Graphics
TestConvertSelection.cxx
TestConvertSelection.cxx,NO_VALID
TestExtractSelection.cxx
TestExtraction.cxx
)
......
vtk_add_test_cxx(Graphics
TestBSPTree.cxx
TestStreamTracer.cxx
TestAMRInterpolatedVelocityField.cxx
TestParticleTracers.cxx
TestStreamTracer.cxx,NO_VALID
TestAMRInterpolatedVelocityField.cxx,NO_VALID
TestParticleTracers.cxx,NO_VALID
)
vtk_test_cxx_executable(${vtk-module}CxxTests RENDERING_FACTORY)
vtk_add_test_cxx(Graphics
TestGraphWeightEuclideanDistanceFilter.cxx
TestGraphWeightEuclideanDistanceFilter.cxx,NO_VALID
BoxClipPolyData.cxx
BoxClipTetrahedra.cxx
BoxClipTriangulate.cxx
BoxClipTriangulate.cxx,NO_VALID
BoxClipTriangulateAndInterpolate.cxx
TestBooleanOperationPolyDataFilter.cxx
TestBooleanOperationPolyDataFilter2.cxx
......@@ -12,18 +12,18 @@ vtk_add_test_cxx(Graphics
TestDeformPointSet.cxx
TestDensifyPolyData.cxx,-E15
TestDistancePolyDataFilter.cxx
TestImageDataToPointSet.cxx
TestImageDataToPointSet.cxx,NO_VALID
TestIntersectionPolyDataFilter.cxx
TestIntersectionPolyDataFilter2.cxx
TestRectilinearGridToPointSet.cxx
TestReflectionFilter.cxx
TestIntersectionPolyDataFilter2.cxx,NO_VALID
TestRectilinearGridToPointSet.cxx,NO_VALID
TestReflectionFilter.cxx,NO_VALID
TestUncertaintyTubeFilter.cxx
)
# Tests with data
if(VTK_DATA_ROOT)
vtk_add_test_cxx(Graphics
TestGradientAndVorticity.cxx
TestGradientAndVorticity.cxx,NO_VALID
TestIconGlyphFilterGravity.cxx
TestQuadraturePoints.cxx
TestYoungsMaterialInterface.cxx
......
......@@ -10,6 +10,7 @@ vtk_add_test_cxx(GenericFiltering
TestGenericGeometryFilter.cxx
TestGenericGlyph3DFilter.cxx
TestGenericProbeFilter.cxx
otherCreation.cxx)
otherCreation.cxx,NO_VALID
)
vtk_test_cxx_executable(${vtk-module}CxxTests)
vtk_add_test_cxx(Graphics
TestExtractSurfaceNonLinearSubdivision.cxx
TestImageDataToUniformGrid.cxx
TestProjectSphereFilter.cxx
TestStructuredAMRNeighbor.cxx
TestUniformGridGhostDataGenerator.cxx
TestImageDataToUniformGrid.cxx,NO_VALID
TestProjectSphereFilter.cxx,NO_VALID
TestStructuredAMRNeighbor.cxx,NO_VALID
TestUniformGridGhostDataGenerator.cxx,NO_VALID
TestUnstructuredGridGeometryFilter.cxx
)
vtk_test_cxx_executable(${vtk-module}CxxTests)
......
vtk_add_test_cxx(Hybrid
# TestBSplineWarp.cxx # Fixme after vtkImageViewer deps
TestPolyDataSilhouette.cxx
TestTemporalCacheSimple.cxx
TestTemporalCacheTemporal.cxx
TestTemporalCacheSimple.cxx,NO_VALID
TestTemporalCacheTemporal.cxx,NO_VALID
)
vtk_add_test_cxx(Parallel
TestTemporalFractal.cxx
......
vtk_add_test_cxx(Graphics
vtk_add_test_cxx(NO_VALID
TestLinearSelector2D.cxx
)
# Tests with data
if(VTK_DATA_ROOT)
vtk_add_test_cxx(Graphics
vtk_add_test_cxx(NO_VALID
TestCellDistanceSelector2D.cxx
TestCellDistanceSelector3D.cxx
TestLinearSelector3D.cxx
......
vtk_add_test_cxx(Graphics
TestLineSource.cxx
TestTessellatedBoxSource.cxx
TestLineSource.cxx,NO_VALID
TestTessellatedBoxSource.cxx,NO_VALID
TestMultiBlock.cxx
)
vtk_test_cxx_executable(${vtk-module}CxxTests)
vtk_add_test_cxx(QVTK
vtk_add_test_cxx(NO_VALID
TestQtDebugLeaksView.cxx
TestQtTableModelAdapter.cxx
TestQtTreeModelAdapter.cxx
......
......@@ -2,7 +2,7 @@ vtk_add_test_cxx(Geovis
TestCoincidentGeoGraphRepresentation2D.cxx
TestGeoAssignCoordinates.cxx
TestGeoGraticule.cxx
TestGeoProjection.cxx
TestGeoProjection.cxx,NO_VALID
TestGlobeSource.cxx
TestLabeledGeoView2D.cxx
)
......
vtk_add_test_cxx(IO
vtk_add_test_cxx(NO_VALID
TestArrayDataWriter.cxx
TestArrayDenormalized.cxx
TestArraySerialization.cxx
......
# Only run GL2PS tests if GhostScript is available if VTK_DATA_ROOT is set
if(VTK_GHOSTSCRIPT_EXECUTABLE AND VTK_DATA_ROOT)
set(GL2PSTests
TestContextGL2PS.cxx
TestContextGL2PS.cxx,NO_VALID
TestGL2PSExporterMultipleRenderers.cxx
TestGL2PSExporterRaster.cxx
TestGL2PSExporterRaster.cxx,NO_VALID
TestGL2PSExporterRasterExclusion.cxx
TestGL2PSExporterVector.cxx
TestGL2PSExporterVolumeRaster.cxx
TestGL2PSExporterVector.cxx,NO_VALID
TestGL2PSExporterVolumeRaster.cxx,NO_VALID
TestGL2PSTextActor3D.cxx
TestStackedPlotGL2PS.cxx
)
......@@ -24,7 +24,8 @@ vtk_test_cxx_executable(${vtk-module}CxxTests RENDERING_FACTORY)
if(GL2PSTests)
set(TestGL2PSExporterVolumeRasterError 50)
foreach(test ${GL2PSTests})
get_filename_component(TName ${test} NAME_WE)
string(REGEX REPLACE ",.*" "" testsrc "${test}")
get_filename_component(TName ${testsrc} NAME_WE)
add_test(NAME ${vtk-module}Cxx-${TName}-RasterizePNG
COMMAND ${CMAKE_COMMAND}
-DPSFILE=${VTK_TEST_OUTPUT_DIR}/${TName}.ps
......
vtk_add_test_cxx(IO
vtk_add_test_cxx(NO_VALID
TestFFMPEGWriter.cxx
)
vtk_test_cxx_executable(${vtk-module}CxxTests)
......@@ -3,11 +3,11 @@ if(VTK_DATA_ROOT)
vtk_add_test_cxx(IO
TestProStarReader.cxx
TestTecplotReader.cxx
TestAMRReadWrite.cxx
TestAMRReadWrite.cxx,NO_VALID
)
endif()
vtk_add_test_cxx(IO
vtk_add_test_cxx(NO_VALID
TestSimplePointsReaderWriter.cxx
)
......
vtk_add_test_python(ParticleReader.py IO)
vtk_add_test_python(Plot3D IO)
vtk_add_test_python(Plot3D NO_VALID)
vtk_add_test_python(Plot3DScalars.py IO)
vtk_add_test_python(Plot3DVectors.py IO)
vtk_add_test_python(TestAVSucdReader.py IO)
......
if(VTK_DATA_ROOT)
vtk_add_test_cxx(Hybrid
vtk_add_test_cxx(NO_VALID
TestVRMLNormals.cxx
)
vtk_test_cxx_executable(${vtk-module}CxxTests)
......
if(VTK_DATA_ROOT)
vtk_add_test_cxx(IO
vtk_add_test_cxx(NO_VALID
TestBiomTableReader.cxx
TestNewickTreeReader.cxx
TestMultiNewickTreeReader.cxx
......
if(VTK_DATA_ROOT)
vtk_add_test_cxx(TestLegacyCompositeDataReaderWriter.cxx Parallel)
vtk_add_test_cxx(TestLegacyCompositeDataReaderWriter.cxx NO_VALID)
vtk_test_cxx_executable(${vtk-module}CxxTests RENDERING_FACTORY)
endif()
......@@ -8,7 +8,7 @@ if(vtkIOMovie_vtkoggtheora)
list(APPEND TEST_SRC TestOggTheoraWriter.cxx)
endif()
vtk_add_test_cxx(IO
vtk_add_test_cxx(NO_VALID
# TestMovieWriter.cxx # fixme (deps not satisfied)
${TEST_SRC}
)
......
vtk_add_test_cxx(IO
vtk_add_test_cxx(NO_VALID
TestSQLDatabaseSchema.cxx
TestSQLiteDatabase.cxx
)
......
if(VTK_DATA_ROOT)
vtk_add_test_cxx(IO
TestAMRXMLIO.cxx
TestXMLHierarchicalBoxDataFileConverter.cxx
TestAMRXMLIO.cxx,NO_VALID
TestXMLHierarchicalBoxDataFileConverter.cxx,NO_VALID
TestXMLUnstructuredGridReader.cxx
)
set(TestXML_ARGS ${VTK_DATA_ROOT}/Data/sample.xml)
vtk_add_test_cxx(TestXML.cxx NO_DATA NO_VALID NO_OUTPUT)
endif()
vtk_add_test_cxx(IO
vtk_add_test_cxx(NO_VALID
TestDataObjectXMLIO.cxx
)
......
vtk_add_test_cxx(Imaging
# FastSplatter.cxx # todo (unsatistfied deps)
ImageAccumulate.cxx
ImageAccumulate.cxx,NO_VALID
# ImageAutoRange.cxx # todo (unsatistfied deps)
ImageBSplineCoefficients.cxx
# ImageHistogram.cxx # todo (unsatistfied deps)
......@@ -8,9 +8,9 @@ vtk_add_test_cxx(Imaging
# ImageResize.cxx # todo (unsatistfied deps)
# ImageResize3D.cxx # todo (unsatistfied deps)
# ImageResizeCropping.cxx # todo (unsatistfied deps)
ImageWeightedSum.cxx
ImageWeightedSum.cxx,NO_VALID
# ImportExport.cxx # todo (unsatistfied deps)
TestUpdateExtentReset.cxx
TestUpdateExtentReset.cxx,NO_VALID
)
# The stencil test is special
......
......@@ -3,14 +3,14 @@ include_directories(${Boost_INCLUDE_DIRS})
vtk_add_test_cxx(Infovis
# BoostArrayLogWeighting.cxx # todo (unsatisfied deps)
BoostArrayRandomSparseArraySource.cxx
TestBoostAdapter.cxx
BoostArrayRandomSparseArraySource.cxx,NO_VALID
TestBoostAdapter.cxx,NO_VALID
TestBoostAlgorithms.cxx
TestBoostBetweennessClustering.cxx
TestBoostBetweennessClustering.cxx,NO_VALID
# TestBoostBrandesCentrality.cxx # todo (unsatisfied deps)
TestBoostDividedEdgeBundling.cxx
TestBoostExtractLargestComponent.cxx
TestBoostSplitTableField.cxx
TestBoostExtractLargestComponent.cxx,NO_VALID
TestBoostSplitTableField.cxx,NO_VALID
)
vtk_test_cxx_executable(${vtk-module}CxxTests)
if(VTK_DATA_ROOT)
set (NEEDS_DATA TestStringToNumeric.cxx TestMergeTables.cxx)
set (NEEDS_DATA
TestStringToNumeric.cxx,NO_VALID
TestMergeTables.cxx,NO_VALID
)
endif()
vtk_add_test_cxx(Infovis
${NEEDS_DATA}
ArraySparseArrayToTable.cxx
ArrayTableToSparseArray.cxx
ArrayToTable.cxx
ArrayTransposeMatrix.cxx
ArraySparseArrayToTable.cxx,NO_VALID
ArrayTableToSparseArray.cxx,NO_VALID
ArrayToTable.cxx,NO_VALID
ArrayTransposeMatrix.cxx,NO_VALID
# TestArrayNorm.cxx # todo (unsatisfied deps)
TestCollapseVerticesByArray.cxx
TestCollapseVerticesByArray.cxx,NO_VALID
# TestConvexHull2D.cxx # todo (unsatisfied deps)
TestDataObjectToTable.cxx
TestExtractSelectedTree.cxx
TestExtractSelectedGraph.cxx
TestDataObjectToTable.cxx,NO_VALID
TestExtractSelectedTree.cxx,NO_VALID
TestExtractSelectedGraph.cxx,NO_VALID
TestGraphAlgorithms.cxx
TestMergeGraphs.cxx
TestMergeGraphs.cxx,NO_VALID
TestPruneTreeFilter.cxx
TestRandomGraphSource.cxx
TestRemoveIsolatedVertices.cxx
TestStreamGraph.cxx
TestTableToArray.cxx
TestThresholdTable.cxx
TestTreeDifferenceFilter.cxx
TestRandomGraphSource.cxx,NO_VALID
TestRemoveIsolatedVertices.cxx,NO_VALID
TestStreamGraph.cxx,NO_VALID
TestTableToArray.cxx,NO_VALID
TestThresholdTable.cxx,NO_VALID
TestTreeDifferenceFilter.cxx,NO_VALID
# TestTimePoint.cxx # deprecated dep
)
......
......@@ -3,8 +3,8 @@ vtk_add_test_cxx(Infovis
# TestChacoGraphReader.cxx # todo (unsatisfied deps)
TestCirclePackLayoutStrategy.cxx
# TestCosmicTreeLayoutStrategy.cxx # todo (unsatisfied deps)
TestGraphLayoutStrategy.cxx
TestIncrementalForceLayout.cxx
TestGraphLayoutStrategy.cxx,NO_VALID
TestIncrementalForceLayout.cxx,NO_VALID
TestTreeMapLayoutStrategy.cxx
)
......
......@@ -41,7 +41,7 @@ vtk_add_test_cxx(Widgets
TestPlaybackWidget.cxx
TestPointHandleRepresentation3D.cxx
TestProgrammaticPlacement.cxx
TestProp3DButtonRepresentation.cxx
TestProp3DButtonRepresentation.cxx,NO_VALID
TestRectilinearWipeWidget.cxx
# TestResliceCursorWidget2.cxx # todo (unsatistfied deps)
# TestResliceCursorWidget3.cxx # todo (unsatistfied deps)
......@@ -53,6 +53,8 @@ vtk_add_test_cxx(Widgets
TestSliderWidget2D.cxx
# TestSplineWidget.cxx # todo (unsatistfied deps)
TestTextWidget.cxx
)
vtk_add_test_cxx(NO_VALID
vtkAngleRepresentation2DTest1.cxx
vtkAngleRepresentation3DTest1.cxx
vtkAngleWidgetTest1.cxx
......@@ -82,7 +84,7 @@ if(VTK_DATA_ROOT)
TestLineWidget2.cxx
TestPlaneWidget.cxx
TestPointWidget.cxx
TestPolyPlane.cxx
TestPolyPlane.cxx,NO_VALID
TestPolygonalHandleRepresentations.cxx
TestPolygonalRepresentationHandleWidget.cxx
TestPolygonalSurfaceConstrainedDistanceWidget.cxx
......
vtk_add_test_cxx(Rendering
TestPickingManager.cxx
TestPickingManager.cxx,NO_VALID
TestSplitViewportStereoHorizontal.cxx
# otherLookupTable.cxx # fixme
# otherLookupTableWithEnabling.cxx # fixme
......
......@@ -32,7 +32,7 @@ option(VTK_BUILD_FREETYPE_BENCHMARK
mark_as_advanced(VTK_BUILD_FREETYPE_BENCHMARK)
if(VTK_BUILD_FREETYPE_BENCHMARK)
vtk_add_test_cxx(BenchmarkFreeTypeRendering.cxx Rendering)
vtk_add_test_cxx(BenchmarkFreeTypeRendering.cxx NO_VALID)
endif()
vtk_test_cxx_executable(${vtk-module}CxxTests RENDERING_FACTORY)
......@@ -16,14 +16,14 @@ vtk_add_test_cxx(Rendering
TestBackfaceCulling.cxx
TestBlurAndSobelPasses.cxx
TestDynamic2DLabelMapper.cxx
TestFBO.cxx
TestFBO.cxx,NO_VALID
TestFollowerPicking.cxx
TestGaussianBlurPass.cxx
TestGlyph3DMapper.cxx
TestGlyph3DMapperMasking.cxx
TestGlyph3DMapperOrientationArray.cxx
TestGlyph3DMapperPicking.cxx
TestGPUInfo.cxx
TestGPUInfo.cxx,NO_VALID
TestGradientBackground.cxx
TestHomogeneousTransformOfActor.cxx
TestImageResliceMapperAlpha.cxx
......@@ -38,23 +38,23 @@ vtk_add_test_cxx(Rendering
TestImageSliceMapperOrient3D.cxx
TestImageSliceMapperInterpolation.cxx
TestImageStack.cxx
TestInteractorStyleImageProperty.cxx
TestInteractorTimers.cxx
TestInteractorStyleImageProperty.cxx,NO_VALID
TestInteractorTimers.cxx,NO_VALID
TestLabelPlacer.cxx
TestLabelPlacer2D.cxx
TestLabelPlacerCoincidentPoints.cxx
TestLabelPlacementMapper2D.cxx
TestLabelPlacementMapperCoincidentPoints.cxx
TestLightActor.cxx
TestLODActor.cxx
TestManyActors.cxx
TestLODActor.cxx,NO_VALID
TestManyActors.cxx,NO_VALID
TestOffAxisStereo.cxx
TestOrderedTriangulator.cxx
TestOpacity.cxx
TestOpenGLPolyDataMapper.cxx
TestOSConeCxx.cxx
TestPolygonSelection.cxx
TestPOVExporter.cxx
TestPOVExporter.cxx,NO_VALID
TestResetCameraVerticalAspectRatio.cxx
TestResetCameraVerticalAspectRatioParallel.cxx
TestSetImageOrientation.cxx
......@@ -64,7 +64,7 @@ vtk_add_test_cxx(Rendering
TestTextActor3DAlphaBlending.cxx
TestTextActor3DDepthPeeling.cxx
TestTexturedBackground.cxx
TestTextureSize.cxx
TestTextureSize.cxx,NO_VALID
TestTDx.cxx
TestTilingCxx.cxx
TestTransformCoordinateUseDouble.cxx
......@@ -79,7 +79,7 @@ if(NOT APPLE)
endif()
if(WIN32 AND NOT VTK_USE_X)
vtk_add_test_cxx(TestWin32OpenGLRenderWindow.cxx Rendering)
vtk_add_test_cxx(TestWin32OpenGLRenderWindow.cxx NO_VALID)
endif()
include_directories(${OPENGL_INCLUDE_DIR})
......@@ -94,7 +94,7 @@ if(VTK_DATA_ROOT)
TestImageSliceMapperBorder.cxx
TestImageResliceMapperBorder.cxx
TestScalarBar.cxx
TestScenePicker.cxx
TestScenePicker.cxx,NO_VALID
TestTextureRGBA.cxx
TestTextureRGBADepthPeeling.cxx
TestTranslucentImageActorAlphaBlending.cxx
......
......@@ -30,7 +30,7 @@ vtk_add_test_cxx(VolumeRendering
# Tests with data
if(VTK_DATA_ROOT)
vtk_add_test_cxx(VolumeRendering
ProjectedTetrahedraZoomIn.cxx
ProjectedTetrahedraZoomIn.cxx,NO_VALID
TestFinalColorWindowLevel.cxx
TestGPURayCastNearestDataTypesMIP.cxx
TestGPURayCastDataTypesMinIP.cxx
......
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