1. 14 May, 2013 9 commits
    • Brad King's avatar
      Mark non-baseline tests with NO_VALID option · 050fd10e
      Brad King authored
      Tell calls to vtk_add_test_(cxx|python|tcl) explicitly when there is no
      valid baseline image to avoid passing -V unnecessarily.
      
      Change-Id: Ibe5aecdfa076446ddda0b95e814483eb6622af73
      050fd10e
    • Brad King's avatar
      Use vtk_add_test_(python|tcl) where possible · 02f0a6d2
      Brad King authored
      Convert some direct add_test calls to use the helper functions instead.
      
      Change-Id: I4f6b92e24804885c6b1449b21ae8efffd22ffdbf
      02f0a6d2
    • Brad King's avatar
      Use vtk_add_test_cxx function · 5b018861
      Brad King authored
      Refactor */*/Testing/Cxx/CMakeLists.txt to use the vtk_add_test_cxx
      function instead of direct add_test calls.
      
      Change-Id: I73dee627fa87a399c48b409af046b116fc75a0fd
      5b018861
    • Brad King's avatar
      vtkTestingMacros: Remove vtk_tests macro · ef7f0191
      Brad King authored
      Use vtk_add_test_cxx and vtk_test_cxx_executable to replace calls to
      vtk_tests.  Then remove vtk_tests and parse_optional_arguments.
      
      Change-Id: I73dee627fa87a399c48b409af046b116fc75a0fd
      ef7f0191
    • Brad King's avatar
      vtkTestingMacros: Simplify vtk_add_test_mpi signature · 954ca17c
      Brad King authored
      Use keyword options VTK_DATA_ROOT and VTK_LARGE_DATA_ROOT to indicate
      the source of data for the MPI test, if any.
      
      Change-Id: I170b4dcb88984df5ec0bba46fa6587e0aeea63f3
      954ca17c
    • Brad King's avatar
      vtkTestingMacros: Add vtk_add_test_cxx function · dbb4c573
      Brad King authored
      Create a function with a signature similar to vtk_add_test_(python|tcl)
      that can be used to add C++-implemented tests.  Support more than one
      test name per call each optionally followed by a comma-separated list of
      per-test options.  Store test source files in a VTK_TEST_CXX_SOURCES
      directory property so callers can get the list of source files to
      compile into a test driver.
      
      Add macro vtk_test_cxx_executable to get the VTK_TEST_CXX_SOURCES value
      and invoke create_test_sourcelist and vtk_module_test_executable.  Use
      optional arguments to enable the rendering factory or add extra sources
      to the executable.
      
      Change-Id: I73dee627fa87a399c48b409af046b116fc75a0fd
      dbb4c573
    • Brad King's avatar
      Factor vtkTestingRenderingDriver out of vtkTestingObjectFactory · d45ec734
      Brad King authored
      Separate the test driver code from the create_test_sourcelist call.
      
      Change-Id: I9c9ba845e2f2ac27b67f2f54126735b959a15c5e
      d45ec734
    • Brad King's avatar
      vtkTestingMacros: Validate argument combinations more strictly · 6f185233
      Brad King authored
      Require all calls to vtk_add_test_(python|tcl) to specify either a
      baseline directory name or an explicit NO_VALID option to indicate that
      no baseline image is used.  Fix call sites to match what their tests
      expect.
      
      Change-Id: Ibd18f4de86415c72dfdad1491b1897883dc6d353
      6f185233
    • Brad King's avatar
      vtkTestingMacros: Rename add_test_(mpi|python|tcl) with vtk_ prefix · e58d8029
      Brad King authored
      Use shell code:
      
       git grep -Elz '\<add_test_(mpi|python|tcl)' |
       xargs -0 sed -ri 's/\<add_test_(mpi|python|tcl)/vtk_add_test_\1/g'
      
      Change-Id: I6d076e2483209a83231fb1c96053f0389a3fcdf2
      e58d8029
  2. 13 May, 2013 2 commits
    • 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
    • Brad King's avatar
      vtkTestingMacros: Remove unused code · 0e3f070e
      Brad King authored
      Remove unused vtk_tests_python macro.
      Remove unused -A "${VTK_LIBRARY_DIR}" argument.
      Remove computation of unused local _baselinedname value.
      
      Change-Id: I3f28e28e6f8576380c3e1aa51c0fb66a11e1c5ff
      0e3f070e
  3. 07 May, 2013 1 commit
    • Brad King's avatar
      Filters/Modeling: Fix sync3dAll.py valid image name · 6943b707
      Brad King authored
      Refer to valid image "sync3dAll.png", not "contour3DAll.png".  The two
      appear identical but we should use the one that matches the test name.
      
      Change-Id: Ie21559cde8aebcca9ad8529bcffb30852663834e
      6943b707
  4. 06 May, 2013 1 commit
  5. 03 May, 2013 2 commits
  6. 02 May, 2013 10 commits
  7. 01 May, 2013 7 commits
  8. 30 Apr, 2013 8 commits