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
      52b51415
  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
        vtkTclTestToPy.py and they they needed to be run through the
        rtImageTest.py driver which defines a few needed
        functions/variables for their operation. To this end
        backdrop.py has been added where it is needed.
      
      Change-Id: I50d6505628c140ea4551f74f7f3e85df907567e1
      Signed-off-by: Andrew Maclean's avatarAndrew Maclean <andrew.amaclean@gmail.com>
      3810c5a6
  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
      TestParametricFunctions.py 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
      ca880016
  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
      consistency.
      
      CMakeLists.txt files are changed to isolate tests that need input
      data.
      
      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
      c5ab6fda
  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
      interactively.
      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 <andrew.amaclean@gmail.com>
      53e22801
  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
      758a3cc5
  12. 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
      f31ca66e
  13. 17 May, 2012 2 commits
  14. 17 Apr, 2012 1 commit
  15. 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
      13e19ed9
  16. 09 Apr, 2012 3 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 <marcus.hanwell@kitware.com>
      Co-Author: Chris Harris <chris.harris@kitware.com>
      Co-Author: Brad King <brad.king@kitware.com>
      2d323fc4
    • 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 <marcus.hanwell@kitware.com>
      Co-Author: Chris Harris <chris.harris@kitware.com>
      Co-Author: Brad King <brad.king@kitware.com>
      Co-Author: Nikhil Shetty <nikhil.shetty@kitware.com>
      0c1471f1
    • 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 <marcus.hanwell@kitware.com>
      Co-Author: Chris Harris <chris.harris@kitware.com>
      Co-Author: Brad King <brad.king@kitware.com>
      Co-Author: Nikhil Shetty <nikhil.shetty@kitware.com>
      cdd4d6fd