- 04 Jun, 2013 2 commits
-
-
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
-
Brad King authored
Teach IO/Image/Testing/(Python|Tcl)/TestSetFileNames.(py|tcl) to glob only Data/headsq/quarter.* files ending in a digit. This will avoid picking up ".<algo>-stamp" files created by the ExternalData module. Change-Id: Ieb145f1d41edbcce7e57355b485baf2dd8b4b9ee
-
- 28 May, 2013 4 commits
-
-
Brad King authored
The ExternalData_LINK_CONTENT option tells ExternalData to convert real data files it finds into content links and to "stage" the original content in a ".ExternalData_<algo>_<hash>" file. However, after a data object has been staged it is possible that a user-provided pattern in the "REGEX:" option will later match the staged object file. We must not process staged object files even when a user pattern matches them. Fix the implementation to not match a staged object file as a normal data file for conversion. Change-Id: Ie9340855e0b1af93bfeae284805339b8ee8e0295
-
Dave DeMarle authored
4a67254c Fix compilation against libav 54 and OGG-Theora extension detection
-
Anton Gladky authored
Change-Id: I78892722d9294a43a8a6979c2ac4a6d39faf9378
-
- 24 May, 2013 5 commits
-
-
Brad King authored
Add a Testing/Data directory with ExternalData content links mirroring the content and layout we use from the VTKLargeData/Data directory. Add a VTK_USE_LARGE_DATA option to enable tests using such data. Call ExternalData_Expand_Arguments in */*/Testing/Cxx/CMakeLists.txt for tests that reference these data files in order to tell the ExternalData module to populate a ExternalData/Testing/Data directory in the build tree. Pass the ExternalData/Testing directory in the build tree as the "-D" data directory option to tests using these data so that they can find the files where ExternalData puts them at build time. In the vtk_add_test_* API replace the LARGE_DATA options with a new TESTING_DATA option to indicate that a test uses the directory ExternalData/Testing/Data populated by ExternalData from the Testing/Data source directory. Drop VTK_LARGE_DATA_ROOT and stop using the VTKLargeData repository. Drop references to VTKLargeData from test source comments. Change-Id: Iaaf36293a840e65d6c171ae69b5c99db4c61443e
-
Utkarsh Ayachit authored
* pvvtk/pv-master: Change-Id: I7f71aa9bb43a83428d5addca276a73e48d40f840
-
Utkarsh Ayachit authored
710ce99d BUG #14086: Fix vtkImageAppend when no active scalars are present.
-
Utkarsh Ayachit authored
227749cb Cleanup OggTheora support.
-
Bill Lorensen authored
3c68fe1f BUG: Examples should build if BUILD_TESTING is OFF
-
- 23 May, 2013 11 commits
-
-
Dave DeMarle authored
Change-Id: Ice402567fc1cd085f7eeecb67d61ede4acdcc342
-
Dave DeMarle authored
Change-Id: I8233c8cbb425523d774d32032956e767b64524a5
-
Bill Lorensen authored
With BUILD_EXAMPLES:ON and BUILD_TESTING:OFF, the Examples should compile. To configure VTK with BUILD_EXAMPLES:ON and BUILD_TESTING:OFF, from an empty build tree, cmake -DBUILD_TESTING:BOOL=OFF -DCMAKE_BUILD_TYPE:STRING=Release vtk_src_tree NOTE: If you have already configured VTK with default settings, you must clean the build tree and rerun cmake with the above setting. Otherwise, bogus tests will remain. Change-Id: I2035e49c7df4ba6f3d88447ea1b768ec63b87ee7
-
Utkarsh Ayachit authored
710ce99d BUG #14086: Fix vtkImageAppend when no active scalars are present.
-
Utkarsh Ayachit authored
vtkImageAppend failed when the image data didn't have any point-arrays marked as scalars. Though vtkImageAppend's execution handled that case correctly, the initialization did not. This patch fixes the initialization code. Change-Id: I9207646b13038a96a26051fc3aed6d554a55aaf3
-
Brad King authored
Move the search for the Ghostscript executable added by commit 870dd114 (Add new GL2PS testing system using ghostscript, 2012-10-01) into a dedicated vtkGhostscript module. Include it from CMakeLists.txt that need VTK_GHOSTSCRIPT_EXECUTABLE. This avoids keeping module-specific code in the top-level CMakeLists.txt file and enables the corresponding tests in the Testing/External build. Change-Id: I410737f16c653aaaa60799ce1471cb1798707079
-
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
-
Brad King authored
Replace the last use of vtkTestingObjectFactory.cmake and remove it. CMake modules that have immediate inline effects are hard to follow, so drop this one. Change-Id: I813644b0c31c1eecd3415f11e57e703d035940fd
-
- 22 May, 2013 7 commits
-
-
Utkarsh Ayachit authored
227749cb Cleanup OggTheora support.
-
Utkarsh Ayachit authored
There was no way to know if vtkIOMovie had OggTheora support enabled. Hence adding a vtkIOMovieConfigure file that has this configuration made available. Now when OggTheora support is available, vtkIOMovieConfigure.h defines VTK_HAS_OGGTHEORA_SUPPORT. Change-Id: I1efe54cb43f3ea09ab36a7bfa5a6a13d9b5c0593
-
Brad King authored
Replace the ExternalData_OBJECT_STORES cache entry with a VTK-specific name "VTK_DATA_STORE". In the common use case there is only one store so make the option a "PATH" cache entry for easy handling in cmake-gui. In order to allow advanced users to configure multiple stores honor any ExternalData_OBJECT_STORES that is set but do not add the cache option by default. Select a default for VTK_DATA_STORE based on the results of local user configuration. First, teach the SetupForDevelopment.sh script to run a SetupExternalData.sh script that prompts the developer for a default value. Second, if no default was selected by developer setup, look for a VTKExternalData or ExternalData directory as a sibling to the source tree. Third, if the previous two attempts failed, fall back to the environment variable ExternalData_OBJECT_STORES for advanced users. Change-Id: I964cb99aa204176010f27948a9bd40a00836532f
-
Brad King authored
Teach vtk_add_test_cxx and vtk_test_cxx_executable to work in Examples/*/Cxx directories when variable "vtk-example" is set and "vtk-module" is not set. Convert Examples/*/Cxx/CMakeLists.txt to use these functions. Populate Examples/*/Cxx/Baseline/ directories with ExternalData content links for example baseline images. Change-Id: Ic7d847a4561f5ed882b35e80c3ce98aa578ef7d3
- 21 May, 2013 11 commits
-
-
Bill Lorensen authored
vtkLODActor failed to delete its mappers because of flawed logic. Change-Id: If796925ab899a2453b5247ae859172bbedd23372
-
Utkarsh Ayachit authored
* pvvtk/pv-master: Change-Id: I45f33e43d52b7de567aba18524a7669e63bbd8a1
-
Utkarsh Ayachit authored
443af9fa Merge branch 'Virtualize_Color_Methods-rel' into release 293e5386 Make some color methods consistent. 79a811b6 Merge branch '12994-xmlmultiblockwriter-improvements-rel' into release 3a192370 BUG #12994. vtkXMLMultiBlockDataWriter not writing names for leaf nodes.
-
Utkarsh Ayachit authored
3299c70d Fixed wrongful logic for ExtractOnlyBoundaryCells in vtkExtractGeometry.
-
Brad King authored
Configure the ExternalData_SOURCE_ROOT to use the top of the VTK source tree. Add the VTKData target to prepare referenced data when building the tests. This completes the Testing/External changes started by commit 43f0b283 (Add ExternalData infrastructure, 2013-05-06). Change-Id: Icb16a5420ae895a1d85c0a9eb253bbc3ed2897b9
-
Brad King authored
0b2e4d3b Add TestVRMLNormals baseline 62926b2d Update TestGraphLayoutView baseline 3d5b9534 Merge branch 'master' into use-ExternalData ce185b24 Add script to upload content-linked external data files to MIDAS 0a1d19a9 vtkTestingMacros: Remove vtk_add_test_* baseline directory arguments c0b451a5 Add ExternalData content links to test baselines 42baebf3 Use ExternalData to reference test baselines 4362dcb5 vtkTestingMacros: Revert temporary data transform changes 1d24c352 vtkTestingMacros: Temporarily remove baselines from VTKData 9eca66db vtkTestingMacros: Temporarily copy baselines to source tree 578c738f Merge branch 'cleanup-add_test-calls' into use-ExternalData 050fd10e Mark non-baseline tests with NO_VALID option 02f0a6d2 Use vtk_add_test_(python|tcl) where possible 5b018861 Use vtk_add_test_cxx function ef7f0191 vtkTestingMacros: Remove vtk_tests macro 954ca17c vtkTestingMacros: Simplify vtk_add_test_mpi signature dbb4c573 vtkTestingMacros: Add vtk_add_test_cxx function d45ec734 Factor vtkTestingRenderingDriver out of vtkTestingObjectFactory 6f185233 vtkTestingMacros: Validate argument combinations more strictly e58d8029 vtkTestingMacros: Rename add_test_(mpi|python|tcl) with vtk_ prefix 52b51415 vtkTestingMacros: Generalize add_test_(python|tcl) 0e3f070e vtkTestingMacros: Remove unused code 6943b707 Filters/Modeling: Fix sync3dAll.py valid image name 43f0b283 Add ExternalData infrastructure a0172acd ExternalData: Remove compatibility with CMake < 2.8.5 8bc7d03a Add ExternalData module Change-Id: I9fa6dccc795026b72c876c43b39f061da0245f08
-
Bill Lorensen authored
Port the baseline image from the VTKData repository where it was just added. Change-Id: I7d78e2f43eda17e3b022e19b8389a667b7dfc0cb
-
Brad King authored
Change-Id: I801cf85a4e75433399123f57200c5ad4a7e9abfc
-
Matt McCormick authored
Port the Utilities/Maintenance/ArchiveTestingData.py from ITK to VTK. Add the VTK Community on the Kitware Midas server as a resource for downloading VTK ExternalData. This improves robustness against failed connections with the Apache file server, protection against the other server going down, and a web interface to examine and download the individual files. Add a script to upload all files corresponding to the content links in the source tree to the Midas server. Make the paths of the files mirror the content link location within the source tree. Obtain the files from a local ExternalData object store. Change-Id: I2dc9234d3ab0499dc2196e68d2c967d9445e10d7
-