[vtk-developers] An interesting statistic about VTK

David Cole DLRdave at aol.com
Fri May 8 09:20:32 EDT 2015


On the other hand, the tests are "not even there" if you simply turn
off TCL wrapping... So why bother removing them? They're a useful
reference for those who turn on TCL wrapping.

If TCL wrapping is supported, there should be some tests/examples in TCL.

I would say if you want to get rid of them, get rid of TCL wrapping
entirely. But if you're not willing to go all the way like that, leave
the tests for the poor souls stuck using TCL.

Just an alternate opinion to consider. Please don't give it too much
weight, as I have personally totally been in favor of getting rid of
TCL entirely since 2005.


David C.



On Fri, May 8, 2015 at 8:51 AM, Berk Geveci <berk.geveci at kitware.com> wrote:
> Seconded.
>
> On Fri, May 8, 2015 at 5:50 AM, Will Schroeder <will.schroeder at kitware.com>
> wrote:
>>
>> Nice work Andrew!
>>
>> I'm all for eliminating duplicates, especially if it means people can test
>> more and faster, although if we are going to retain Tcl for the long haul we
>> do have to continue to test Tcl language bindings. Personally I have not
>> used Tcl for several years now.....
>>
>> W
>>
>> On Fri, May 8, 2015 at 2:00 AM, Andrew Maclean <andrew.amaclean at gmail.com>
>> wrote:
>>>
>>> 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
>>>
>>> ___________________________________________
>>>
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/vtk-developers
>>>
>>>
>>
>>
>>
>> --
>> William J. Schroeder, PhD
>> Kitware, Inc.
>> 28 Corporate Drive
>> Clifton Park, NY 12065
>> will.schroeder at kitware.com
>> http://www.kitware.com
>> (518) 881-4902
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtk-developers
>>
>>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
>


More information about the vtk-developers mailing list