[vtk-developers] Tcl to Python tests

Berk Geveci berk.geveci at kitware.com
Tue Aug 28 10:21:29 EDT 2012


Nikhil,

Many of these tests are standard tests that you should be able to convert
with the Python conversion tool, maybe with some manual help. The
exceptions are probably the top ones:

./Common/Core/Testing/Tcl/TestIgnoreBTX.tcl
./Common/Core/Testing/Tcl/TestSetGet.tcl
./Common/Core/Testing/Tcl/TestArrays.tcl
./Common/Core/Testing/Tcl/otherInterp.tcl
./Common/Core/Testing/Tcl/FindString.tcl
./Common/Core/Testing/Tcl/TestEmptyInput.tcl
./Common/Core/Testing/Tcl/PrintSelfCheck.tcl
./Common/Core/Testing/Tcl/TestString.tcl
./Common/Core/Testing/Tcl/otherPrint.tcl

and maybe some parallel ones such as:

./Parallel/MPI/Testing/Tcl/TestPProbe.tcl

Among those, some don't use VTK. They could stay around since they work
without requiring VTK being wrapped in Tcl. The dashboard just need a
working Tcl installation. Others should be converted to Python also,
probably manually.

On Mon, Aug 27, 2012 at 11:59 AM, Nikhil Shetty
<nikhil.shetty at kitware.com>wrote:

> Hi All,
>
> Prior to VTK-modular all Tcl tests were auto-converted to Python tests.
> However with VTK-modular we got rid of the 'autoConvert' script. Instead we
> have copied over the converted python tests directly into VTK's repo.
> However not all Tcl tests had a Python counterpart. I am listing all such
> tests below.  Some of these perform some sanity checks on VTK source files
> (in Common/Core/Testing/Tcl). If you find some files that you believe had a
> python counterpart and is still listed here please let me know.
>
> -Nikhil
>
> -----------------------------------------
>
> ./Common/Core/Testing/Tcl/TestIgnoreBTX.tcl
> ./Common/Core/Testing/Tcl/TestSetGet.tcl
>  ./Common/Core/Testing/Tcl/TestArrays.tcl
> ./Common/Core/Testing/Tcl/otherInterp.tcl
> ./Common/Core/Testing/Tcl/FindString.tcl
> ./Common/Core/Testing/Tcl/TestEmptyInput.tcl
> ./Common/Core/Testing/Tcl/PrintSelfCheck.tcl
> ./Common/Core/Testing/Tcl/TestString.tcl
> ./Common/Core/Testing/Tcl/otherPrint.tcl
> ./Common/Math/Testing/Tcl/TestAmoebaMinimizer.tcl
> ./Common/Transforms/Testing/Tcl/SliceOrder.tcl
> ./Common/DataModel/Testing/Tcl/otherDataSetAttributes.tcl
> ./Common/DataModel/Testing/Tcl/quadricCut.tcl
> ./Common/DataModel/Testing/Tcl/TestConvexPointSet.tcl
> ./Common/DataModel/Testing/Tcl/TestICPTransform.tcl
> ./Interaction/Widgets/Testing/Tcl/TestSphereWidget.tcl
> ./Interaction/Widgets/Testing/Tcl/TestBoxWidget.tcl
> ./Interaction/Widgets/Testing/Tcl/TestInteractorEventRecorder.tcl
> ./Interaction/Widgets/Testing/Tcl/TestTextWidget.tcl
> ./Interaction/Style/Testing/Tcl/TestStyleTerrain.tcl
> ./Interaction/Style/Testing/Tcl/TestStyleJoystickCamera.tcl
> ./Interaction/Style/Testing/Tcl/TestStyleTrackballCamera.tcl
> ./Interaction/Style/Testing/Tcl/TestStyleBase.tcl
> ./Interaction/Style/Testing/Tcl/TestStyleBaseSpike.tcl
> ./Interaction/Style/Testing/Tcl/TestStyleJoystickActor.tcl
> ./Interaction/Style/Testing/Tcl/TestInteractorStyleTerrain.tcl
> ./Interaction/Style/Testing/Tcl/TestStyleTrackballActor.tcl
> ./Imaging/Core/Testing/Tcl/TestAllMathematics.tcl
> ./Imaging/Core/Testing/Tcl/TestAllBlends.tcl
> ./Imaging/Core/Testing/Tcl/TestImageWeightedSum.tcl
> ./Imaging/Core/Testing/Tcl/TestAllBlendsFloat.tcl
> ./Imaging/Core/Testing/Tcl/imageMCAll.tcl
> ./Imaging/Core/Testing/Tcl/reconstructSurface.tcl
> ./Imaging/Core/Testing/Tcl/TestWipe.tcl
> ./Imaging/Core/Testing/Tcl/WindowLevelInterface.tcl
> ./Imaging/Core/Testing/Tcl/TestThreshold.tcl
> ./Imaging/Core/Testing/Tcl/TestAllMaskBits.tcl
> ./Imaging/Core/Testing/Tcl/TestBlendStencil.tcl
> ./Imaging/Core/Testing/Tcl/TestExtractVOI.tcl
> ./Imaging/Core/Testing/Tcl/TestAllShrinks.tcl
> ./Imaging/Core/Testing/Tcl/TestImageThresholdConnectivity.tcl
> ./Imaging/Core/Testing/Tcl/TestAllLogic.tcl
> ./Filters/Modeling/Testing/Tcl/contour2DAll.tcl
> ./Filters/Modeling/Testing/Tcl/contour3DAll.tcl
> ./Filters/Modeling/Testing/Tcl/TestFillHolesFilter.tcl
> ./Filters/Hybrid/Testing/Tcl/TestProcrustesRigidCentroid.tcl
> ./Filters/General/Testing/Tcl/WarpScalarImage.tcl
> ./Filters/General/Testing/Tcl/spatialRepAll.tcl
> ./Filters/General/Testing/Tcl/TestRandomAttributeGenerator.tcl
> ./Filters/General/Testing/Tcl/WarpVectorImage.tcl
> ./Filters/General/Testing/Tcl/cursor2D.tcl
> ./Filters/Sources/Testing/Tcl/squadViewer.tcl
> ./Filters/Sources/Testing/Tcl/TestPlatonicSolids.tcl
> ./Filters/Core/Testing/Tcl/deciPlane.tcl
> ./Filters/Core/Testing/Tcl/MassProperties.tcl
> ./Filters/Core/Testing/Tcl/skinOrder.tcl
> ./Filters/Core/Testing/Tcl/financialField3.tcl
> ./Filters/Core/Testing/Tcl/probeComb.tcl
> ./Filters/Core/Testing/Tcl/SliceOrder.tcl
> ./Filters/Core/Testing/Tcl/deciFranFace.tcl
> ./Filters/Core/Testing/Tcl/financialField2.tcl
> ./Filters/Parallel/Testing/Tcl/TestCutMaterial.tcl
> ./Filters/Parallel/Testing/Tcl/TestImageStreamer.tcl
> ./Filters/Parallel/Testing/Tcl/TestExtractCTHPart.tcl
> ./Filters/Parallel/Testing/Tcl/TestExtrudePiece.tcl
> ./Filters/Parallel/Testing/Tcl/RectOutline.tcl
> ./Rendering/FreeType/Testing/Tcl/TestTextActor3D.tcl
> ./Rendering/Annotation/Testing/Tcl/cubeAxes2.tcl
> ./Rendering/Annotation/Testing/Tcl/cubeAxes3.tcl
> ./Rendering/OpenGL/Testing/Tcl/TestFreetypeTextMapperBigger.tcl
> ./Rendering/OpenGL/Testing/Tcl/TestFreetypeTextOverlay.tcl
> ./Rendering/OpenGL/Testing/Tcl/TestFreetypeTextMapper.tcl
> ./Rendering/Core/Testing/Tcl/cells.tcl
> ./Rendering/Core/Testing/Tcl/TestGenericVertexAttributesCg.tcl
> ./Rendering/Core/Testing/Tcl/SurfacePickerWithTexture.tcl
> ./Rendering/Core/Testing/Tcl/TexturedSphere.tcl
> ./Rendering/Core/Testing/Tcl/TestWindowToImageTransparency.tcl
> ./Rendering/Core/Testing/Tcl/TestGLSLShader.tcl
> ./Rendering/Core/Testing/Tcl/TestOpacity2.tcl
> ./Rendering/Core/Testing/Tcl/TestLeaderActor2D.tcl
> ./Rendering/Core/Testing/Tcl/TestTransformCoordinateSystems.tcl
> ./Rendering/Core/Testing/Tcl/TestCgShader.tcl
> ./Rendering/Core/Testing/Tcl/TestGenericVertexAttributesGLSL.tcl
> ./Rendering/Core/Testing/Tcl/PickerWithLocator.tcl
> ./Rendering/Volume/Testing/Tcl/volTM3DCompressedCropRegions.tcl
> ./Rendering/Volume/Testing/Tcl/TestFixedPointRayCasterLinearCropped.tcl
> ./Rendering/Volume/Testing/Tcl/TestFixedPointRayCasterLinear.tcl
> ./Rendering/Volume/Testing/Tcl/cursor3D.tcl
> ./Rendering/Volume/Testing/Tcl/TestFixedPointRayCasterNearestCropped.tcl
> ./Rendering/Volume/Testing/Tcl/VolumePickerCrop.tcl
> ./Rendering/Volume/Testing/Tcl/VolumeOutlineSourceClipped.tcl
> ./Rendering/Volume/Testing/Tcl/VolumeOutlineSource.tcl
> ./Rendering/Volume/Testing/Tcl/volTM3DCropRegions.tcl
> ./Rendering/Volume/Testing/Tcl/volTM3DRotateClip.tcl
> ./Rendering/Volume/Testing/Tcl/VolumePicker.tcl
> ./Rendering/LOD/Testing/Tcl/TestQuadricLODActor.tcl
> ./IO/Image/Testing/Tcl/TestMetaImage2D.tcl
> ./IO/Image/Testing/Tcl/TestSetFileNames.tcl
> ./IO/MINC/Testing/Tcl/TestMINCImageWriter.tcl
> ./IO/MINC/Testing/Tcl/TestMINCImageReader.tcl
> ./IO/XML/Testing/Tcl/TestEmptyXML.tcl
> ./IO/XML/Testing/Tcl/TestXMLRectilinearGridIO.tcl
> ./IO/XML/Testing/Tcl/TestXMLPolyDataIO.tcl
> ./IO/XML/Testing/Tcl/TestXMLImageDataIO.tcl
> ./IO/XML/Testing/Tcl/TestXMLUnstructuredGridIO.tcl
> ./IO/XML/Testing/Tcl/TestXMLStructuredGridIO.tcl
> ./IO/Core/Testing/Tcl/TestGlobFileNames.tcl
> ./IO/Core/Testing/Tcl/TestSortFileNames.tcl
> ./IO/Geometry/Testing/Tcl/TestSimplePointsReader.tcl
> ./IO/Geometry/Testing/Tcl/TestChacoReader.tcl
> ./IO/Parallel/Testing/Tcl/TestPImageWriter.tcl
> ./IO/Parallel/Testing/Tcl/TestPDataSetReaderGrid.tcl
> ./Parallel/Core/Testing/Tcl/TestUnstructuredPieces.tcl
> ./Parallel/Core/Testing/Tcl/TestPolyDataPieces.tcl
> ./Parallel/MPI/Testing/Tcl/TestPProbe.tcl
>
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20120828/5ce6460e/attachment.html>


More information about the vtk-developers mailing list