1. 08 Jan, 2019 1 commit
  2. 04 Aug, 2018 1 commit
    • Sean McBride's avatar
      Fixed more cppcheck 1.84 warnings · c868a18d
      Sean McBride authored
      This fixed issues were:
      
      clarifyCondition,Common/Core/vtkLargeInteger.cxx:355
      identicalInnerCondition,Filters/Texture/vtkTextureMapToPlane.cxx:103,warning,Identical inner 'if' condition is always true.
      nullPointerArithmeticRedundantCheck,Rendering/GL2PSOpenGL2/vtkOpenGLGL2PSHelperImpl.cxx:173,warning,Either the condition '!data' is redundant or there is pointer arithmetic with NULL pointer.
      identicalInnerCondition,Filters/FlowPaths/vtkModifiedBSPTree.cxx:1069,warning,Identical inner 'if' condition is always true.
      identicalInnerCondition,Rendering/OpenGL2/vtkOSOpenGLRenderWindow.cxx:199,warning,Identical inner 'if' condition is always true.
      nullPointerArithmeticRedundantCheck,Infovis/BoostGraphAlgorithms/vtkBoostGraphAdapter.h:222,warning,Either the condition 'iter!=0' is redundant or there is pointer arithmetic with NULL pointer.
      
      The vtkTestingRenderingDriver.cmake changed cause many many warnings in files generated from it.
      c868a18d
  3. 12 Apr, 2017 1 commit
    • David C. Lonie's avatar
      Add VTK_SKIP_RETURN_CODE to skip tests at runtime. · ca8ce383
      David C. Lonie authored
      We have some new volume rendering tests depend on runtime state, and
      we cannot know whether or not the required support will be there
      during configure time.
      
      This patch adds a new symbolic constant, VTK_SKIP_RETURN_CODE that
      uses the SKIP_RETURN_CODE cmake test property, which allows us to skip
      the test at runtime when invalid configurations are detected. The
      value of 125 was chosen to match git rebase's skip value.
      ca8ce383
  4. 08 Mar, 2016 1 commit
  5. 31 Oct, 2013 1 commit
  6. 04 Jun, 2013 1 commit
    • Brad King's avatar
      Convert VTKData test inputs to ExternalData content links · 3797f83d
      Brad King authored
      Add to the Testing/Data directory ExternalData content links mirroring
      the content and layout we use from the VTKData/Data directory.
      
      Add a CMake/vtkLegacyData.cmake module, included from CMakeLists.txt and
      Testing/External/CMakeLists.txt, to call ExternalData_Expand_Arguments
      for all data directories added from VTKData/Data.  This will bulk-fetch
      all test input data currently used by tests of any module, enabled or
      not.  We can make the DATA{} references more granular later.
      
      Add a VTK_TEST_DATA_DIR variable to refer to the directory we tell the
      ExternalData module to populate the real data files.  Replace references
      to VTK_DATA_ROOT in test command lines (after -D) with references to
      VTK_TEST_DATA_DIR.  Drop the VTK_DATA_ROOT CMake option and stop using
      the VTKData repository.
      
      Remove the TESTING_DATA option from the vtk_add_test_cxx API and remove
      the VTK_DATA_ROOT option from the vtk_add_test_mpi API since all test
      input data are now handled through ExternalData and Testing/Data content
      links.
      
      Change-Id: Id02490b76ea2e161b9038188264a4830485039d8
      3797f83d
  7. 23 May, 2013 1 commit
    • Brad King's avatar
      Remove references to old VTKData/Baseline directories · fc5d874c
      Brad King authored
      The VTKData repository no longer holds Baseline directories so drop
      references to such directories from the VTK source tree:
      
      * Replace the default -V in CMake/vtkTestingRenderingDriver.cmake with a
        value that will fail but indicate what to do.  All current uses of
        this module have an explicit -V so the default should never be used.
      
      * Drop a few leftover Baseline directory references from comments in
        "*/*/Testing/*/CMakeLists.txt".
      
      * Remove boilerplate duplicate test command-line examples (that
        reference Baseline directories) from *.py tests and leave an updated
        example in "Wrapping/Python/README.txt".  The command-line example
        convention was added long before the modern CTest infrastructure
        and is no longer needed anyway.
      
      Change-Id: I3001e99b3cc8c2717107e61b3b7f988caeb49cab
      fc5d874c
  8. 14 May, 2013 1 commit
  9. 25 Jan, 2013 1 commit
    • Utkarsh Ayachit's avatar
      Moving vtkTestingObjectFactory.cmake to ${VTK_SOURCE_DIR}/CMake. · c2eeaa2d
      Utkarsh Ayachit authored
      This makes it easier for external applications attempting to use
      vtkTestingObjectFactory since they don't require the
      vtkTestingRendering_SOURCE_DIR to set anymore (which won't even when the
      vtkTestingRendering module has been successfully imported.
      
      Change-Id: I14795bbe0f9d71d41da14c970ba49bdb8e11a913
      c2eeaa2d
  10. 10 Apr, 2012 2 commits
    • Brad King's avatar
      Avoid VTK_SOURCE_DIR references in Testing/Cxx directories · 6944ba05
      Brad King authored
      Replace references to ${VTK_SOURCE_DIR}/Testing/Rendering with
      ${vtkTestingRendering_SOURCE_DIR}.  The latter is shorter and will also
      be useful to build module tests as an external application that does not
      have VTK_SOURCE_DIR available.
      
      Change-Id: Ic947470af0dd49f184f902a4c73d3aa665d58164
      6944ba05
    • 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
  11. 09 Apr, 2012 3 commits
    • VTK Developers's avatar
      Remove trailing whitespace from all source files · 2d323fc4
      VTK Developers authored
      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
      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
      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
  12. 26 Aug, 2010 1 commit
  13. 22 Aug, 2010 1 commit
    • Bill Lorensen's avatar
      ENH: Added a -E error-thresold flag to testing interactor. · ecbfce92
      Bill Lorensen authored
      The vtkTestingInteractor now has an ErrorThreshold static
      variable. vtkTestObjectFactory.cmake now parses the command line of a
      test for -E error-threshold. This new flag can be placed on ADD_TEST
      commands for tests that may have image error variation on different
      platforms.
      ecbfce92
  14. 09 Jun, 2010 1 commit
  15. 18 Jan, 2010 1 commit
  16. 30 Dec, 2009 1 commit
  17. 27 Dec, 2009 1 commit