[vtk-developers] An interesting statistic about VTK

Andrew Maclean andrew.amaclean at gmail.com
Fri May 8 02:00:08 EDT 2015


Hi All,

Look at this for VTK:
----------------------------------------
Total number of Cxx tests :   1053
Total number of Python tests :    537
Total number of TCL tests :    443
Total number of tests :   2033
----------------------------------------
Tests in TCL but not in Python or Cxx.
Common/Core/Testing/Tcl
TestArrays
TestString
otherInterp
otherPrint
Filters/Core/Testing/Tcl
probe
Filters/Sources/Testing/Tcl
squadViewer
Rendering/Tk/Testing/Tcl
TestTextActor3D
cursor3D
----------------------------------------

Some time ago we spent a lot of time converting the Tcl tests to Python
either automatically or by hand, so now these 8 tests are the only ones not
in Python or TCL. Although Common/Core/Testing/Python/TestStrings.py vastly
extends the TCL version so really there are just 7 tests not tested by
either Python or Cxx.

Is it time to disable the duplicate 436 TCL tests?
The advantage here is that it may speed up the testing times and these 436
tests are redundant anyway.

Note: I am NOT advocating removing the tests as there may be people still
using TCL and these may be a useful reference for them.

I wrote a python script to do this investigation. If people think it is
useful, I will clean it up and put it into VTK. The code currently only
looks at Testing/Cxx, Testing/Python, Testing/Tcl in the VTK tree, so
folders below these are not looked at.

Regards
   Andrew

-- 
___________________________________________
Andrew J. P. Maclean

___________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20150508/39825f9a/attachment.html>


More information about the vtk-developers mailing list