View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000060 | VTK | (No Category) | public | 2003-07-07 15:15 | 2005-02-25 08:38 | ||||
Reporter | tk.sinha | ||||||||
Assigned To | Ken Martin | ||||||||
Priority | low | Severity | feature | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000060: The default VTK_DATA_ROOT is not assigned dynamically in vtkTestUtilities.h | ||||||||
Description | In the current version of vtkTestUtilities.h, the default VTK_DATA_ROOT is not assigned dynamically during the CMake generation process. Instead it is assigned to "../../../../VTKData". While this facilitates easy testing for any code in the VTK directory tree, projects wishing to use the VTK_DATA_ROOT outside the VTK tree are unable to. A possible fix for this (I think) is to mv vtkTestUtilities.h to vtkTestUtilities.h.in and change instances of "../../../../VTKData" to "@VTK_DATA_ROOT@". Then add a line to the CMakeLists.txt: CONFIGURE_FILE(vtkTestUtilities.h.in vtkTestUtilities.h) | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Type | |||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0000978) Ken Martin (developer) 2004-04-26 11:18 |
OK. This code has changed quite a bit recently so let me check and see if the current situaiton works for you. Currently the testing framework sets VTK_DATA_ROOT using the following algorithm. If a -D option is passed on the command line then that argument will be used as VTK_DATA_ROOT, otherwise it checks to see if the environment variable VTK_DATA_ROOT is set and uses that, otherwise it uses ../../../../VTKData. Generally all the testing in VTK uses the -D flag to explicitly specify VTK_DATA_ROOT. Does this meet your needs? Or do you still prefer to have the fallback use a configured value instead of the ../../.. value? |
(0002114) Ken Martin (developer) 2005-02-25 08:38 |
Modified vtkTesting.cxx to use a configured value for VTK_DATA_ROOT as the last resort as opposed to ../../../../VTKData |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |