An update will be applied December 9th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

  1. 17 May, 2013 1 commit
  2. 14 May, 2013 1 commit
  3. 13 May, 2013 1 commit
    • Brad King's avatar
      vtkTestingMacros: Generalize add_test_(python|tcl) · 52b51415
      Brad King authored
      Teach add_test_(python|tcl) to parse explicit NO_DATA, NO_RT, NO_VALID,
      and NO_OUTPUT keyword options for tests that do not need VTK_DATA_ROOT
      or do not use a valid baseline image.  Factor add_test_python1 into
      add_test_python and distinguish them with the NO_RT keyword argument.
      Update call sites to produce identical test command lines before and
      after this change.
      Change-Id: I09f874b26aab409e55e7aa6f92412314540dbb85
  4. 28 Apr, 2013 1 commit
    • Andrew Maclean's avatar
      These Python tests have been refactored. · 3810c5a6
      Andrew Maclean authored
      This has been done by removing the "tcl-isms" and making
       the code more readable. In some cases redundant code
       has been removed (often a result of copy/paste operations).
       The code has also been checked to ensure each line is 80
       characters or less.
      The code can now be run using vtkpython or by using the
       appropriate Python environment.
      Originally these were TCL scripts that were converted using and they they needed to be run through the driver which defines a few needed
        functions/variables for their operation. To this end has been added where it is needed.
      Change-Id: I50d6505628c140ea4551f74f7f3e85df907567e1
      Signed-off-by: Andrew Maclean's avatarAndrew Maclean <>
  5. 28 Feb, 2013 1 commit
    • Bill Lorensen's avatar
      COMP: Remove redundant test and unify tolerances · ca880016
      Bill Lorensen authored and David Gobbi's avatar David Gobbi committed existed in two modules. The version in
      Filters/Sources used random numbers to populate the splines. This was
      undesirable for producing consistent results across platforms.
      The version in Common/ComputationalGeometry uses explicit points and
      matches the points in the corresponding .tcl test.
      Also, the .tcl and .py tests had different image tolerances. This
      patch unifies those tolerances.
      There are currently four baselines for these tests. Once merged, we
      will remove all of the alternate baselines.
      Change-Id: Ie09a6a27e0856596fcda2df7cec2d11ee279ed78
  6. 17 Feb, 2013 1 commit
  7. 15 Feb, 2013 1 commit
    • Bill Lorensen's avatar
      ENH: Tcl tests should not fail if VTK_DATA_ROOT is missing. · c5ab6fda
      Bill Lorensen authored
      A test should run without VTK_DATA_ROOT unless it needs input data
      from VTK_DATA_ROOT. Tests that have image baselines should still run
      unless they need input data.
      rtImage.tcl is modified to skip baseline comparisons if VTK_DATA_ROOT
      is not defined.
      CMakeLists.txt files are converted to use add_test_tcl macro for
      CMakeLists.txt files are changed to isolate tests that need input
      This was tested as follows:
      1) configured a build with VTK_DATA_ROOT undefine
         ctest -R Tcl-
         154 tests passed
      2) configured a build with VTK_DATA_ROOT defined
         ctest -R Tcl-
         390 tests passed
      This means that 390-154 = 236 tcl tests require input data
      Change-Id: I9067a3e3e2a710ddf353f0181cc7b22a85b5ef10
  8. 10 Feb, 2013 1 commit
  9. 19 Oct, 2012 1 commit
  10. 16 Oct, 2012 1 commit
    • Andrew Maclean's avatar
      Removing random in regression tests. · 53e22801
      Andrew Maclean authored
      It was noticed in skinOrder.tcl that when run under ctest,
      math.Random() produces different results to that when run
      These are the rgb values when skinOrder.tcl is run as a test:
       0.87595 0.598302 0.656878
       0.641134 0.536594 0.537889 ...
      When we run the tcl version as as standalone:
       0.504606 0.909988 0.673732
       0.915603 0.533519 0.857481 ...
      In the case of Python code the standalone values are the same
      as when it is run under ctest.
      To resolve this discrepancy, preset values are used.
      TestParametricFunctions.tcl has been moved to
      Common/ComputationalGeometry/Testing/Tcl but not activated
      as a test because the Python one should be sufficient.
      Change-Id: I1a35ff34ba139ce5afd15ad3f3c81b4fe444c4aa
      Signed-off-by: Andrew Maclean's avatarAndrew Maclean <>
  11. 11 Oct, 2012 1 commit
    • Nikhil Shetty's avatar
      Adding CommonComutationalGeometry python tests · 758a3cc5
      Nikhil Shetty authored
      - add_test_python() macro is used.
      - New test which were previously autogenerated from Tcl are brought in
      Note: Not all tests work. Will need to revisit them.
      Change-Id: Ia9130012fc38ccb066def01557320e89ef91c25d
  12. 19 Jul, 2012 1 commit
    • Bill Lorensen's avatar
      BUG: Modules missing membership in StandAlone or Rendering. · 453a2f95
      Bill Lorensen authored
      The StandAlone + Rendering groups should contain what was in VTK
      before modularization without turning on additional flags.
      The StandAlone group is a special group of all modules that need no
      external dependencies, such as Boost, MPI, etc. It does include
      modules that rely on third party libraries VTK can build (by
      default). It DOES NOT include modules that depend on OpenGL. Those
      modules are in the Rendering group.
      Several modules that meet the above criteria for membership in the
      StandAlone group did not specify their membership via the GROUPS
      StandAlone property. Also, several modules were missing from the
      Rendering group.
      This topic was verified by building the VTK Wiki Examples: against an installed VTK that
      was built with only the StandAlone and Rendering properties enabled.
      Change-Id: I8bbca22f44c087b0cbe9ff92ee2819a292b43da5
  13. 19 May, 2012 1 commit
    • Bill Lorensen's avatar
      BUG: Python test was not being run · f31ca66e
      Bill Lorensen authored
      The function name for the test was incorrect.
      TestParametricFunctions should be testParametricFunctions
      Change-Id: Ieb5c857959361ad03ab5403a01be84f72a462476
  14. 17 May, 2012 2 commits
  15. 17 Apr, 2012 1 commit
  16. 10 Apr, 2012 1 commit
    • Brad King's avatar
      Define VTK_TEST_OUTPUT_DIR to name Testing/Temporary directory · 13e19ed9
      Brad King authored
      Replace all references to ${VTK_BINARY_DIR}/Testing/Temporary with
      ${VTK_TEST_OUTPUT_DIR} and set the variable accordingly.  The latter is
      shorter and will also be useful to build module tests as an external
      application that does not have VTK_BINARY_DIR available.
      Change-Id: I5159077c10dd2eab23365e9ac917bc6cbd806589
  17. 09 Apr, 2012 4 commits
    • VTK Developers's avatar
      Remove trailing whitespace from all source files · 2d323fc4
      VTK Developers authored and Brad King's avatar Brad King committed
      Exclude ThirdParty, Utilities/MetaIO, and Utilities/KWSys as these
      are maintained outside VTK.
      Co-Author: Marcus D. Hanwell <>
      Co-Author: Chris Harris <>
      Co-Author: Brad King <>
    • VTK Developers's avatar
      Include module-wide headers and export macros · 144f03ca
      VTK Developers authored and Brad King's avatar Brad King committed
      Include the module-wide header from every header in each module.
      Reference the export/visibility macro for the module.
      Co-Author: Marcus D. Hanwell <>
      Co-Author: Chris Harris <>
    • VTK Developers's avatar
      Add modular VTK build system · 0c1471f1
      VTK Developers authored and Brad King's avatar Brad King committed
      Add module.cmake, CMakeLists.txt, and other build system files.
      The modular VTK build system is not yet mature.  The monolithic build
      files had a lot of infrastructure.  The modular build files reproduce
      much of the functionality but some features will need to be restored
      later.  Document status and tasks in "TODO-Modularization.txt".
      Co-Author: Marcus D. Hanwell <>
      Co-Author: Chris Harris <>
      Co-Author: Brad King <>
      Co-Author: Nikhil Shetty <>
    • VTK Developers's avatar
      Modularize VTK tree layout · cdd4d6fd
      VTK Developers authored and Brad King's avatar Brad King committed
      Move source files from their former monolithic VTK location to their new
      location in modular VTK without modification.  This preserves enough
      information for "git blame -M" and "git log --follow" to connect
      modularized VTK files to their original location and history.
      Co-Author: Marcus D. Hanwell <>
      Co-Author: Chris Harris <>
      Co-Author: Brad King <>
      Co-Author: Nikhil Shetty <>