<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Arial, sans-serif" size="2">
<div>Hey guys,</div>
<div> </div>
<div>I've noticed that there are (seemingly) two ways of getting to the VTKData directory from a test file:</div>
<div> </div>
<div>vtkTestUtilities::ExpandDataFileName(…)</div>
<div>and</div>
<div>vtkTesting::GetDataRoot()</div>
<div> </div>
<div>The first one looks for a command line argument, then for a VTK_DATA_ROOT environment variable, and failing those uses "../../../../VTKData".</div>
<div>The second option looks for a command line argument, then for a VTK_DATA_ROOT environment variable, then a CMAKE variable (VTK_DATA_ROOT, again), and failing those applies "../../../../VTKData".</div>
<div> </div>
<div>Is there a reason for not checking for the CMAKE variable in ExpandDataFileName() ?</div>
<div> </div>
<div>Jason Shepherd</div>
<div> </div>
<div> </div>
</font>
</body>
</html>