set(tests
  TestArrays
  TestEmptyInput
  TestSetGet
  TestString
  TestIgnoreBTX
  otherInterp
  otherPrint
  )

foreach(test ${tests})
  add_test(NAME ${vtk-module}Tcl-${test}
         COMMAND ${TCL_TCLSH}
         ${CMAKE_CURRENT_SOURCE_DIR}/${test}.tcl
         -A ${VTK_BINARY_DIR}/Wrapping/Tcl)
endforeach()

set(tests
  TestArrays
  TestEmptyInput
  TestSetGet
  TestString
  TestIgnoreBTX
  otherInterp
  otherPrint
  )

foreach(test ${tests})
  add_test(NAME ${vtk-module}Tcl-${test}
         COMMAND ${VTK_TCL_EXE}
         ${CMAKE_CURRENT_SOURCE_DIR}/${test}.tcl
         -A ${VTK_SOURCE_DIR}/Wrapping/Tcl)
endforeach()

Change to tclsh does not work on windows
COMP: Change to tclsh does not work on windows

The change to use tclsh rather than the vtk executable does not work
on windows.

This patch reverts that change.

Change-Id: I048e8c62a547a2a04a2923df084016b451c636d3
