<div class="gmail_quote">On Fri, Apr 15, 2011 at 9:56 AM, David Cole <span dir="ltr"><<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Fri, Apr 15, 2011 at 9:28 AM, David Doria <<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>> wrote:<br>
> 1) Is it possible to check if the build name is localhost.localdomain and<br>
> prompt the user for a better name when ctest -D Experimental is run and they<br>
> haven't specified the build name in a file?<br>
<br>
</div>What is your suggestion for a better name? We should just use a better<br>
"default name generating algorithm" if our default names are currently<br>
"worse" than ideal...<br>
<br>
It is trivially easy to override the values used for SITE and<br>
BUILDNAME if you want to:<br>
<br>
  cmake -DSITE:STRING=sitename -DBUILDNAME:STRING=buildname .<br>
  ctest -D Experimental</blockquote><div><br></div><meta http-equiv="content-type" content="text/html; charset=utf-8">Maybe add these instructions in the output?</div><div class="gmail_quote"><br></div><div class="gmail_quote">
<div class="gmail_quote">[doriad@localhost ITK]$ ctest -D Experimental</div><div class="gmail_quote">   Site: localhost.localdomain</div><div class="gmail_quote">   Build name: Linux-c++</div><div class="gmail_quote"><meta http-equiv="content-type" content="text/html; charset=utf-8">(use "cmake -DSITE:STRING=sitename -DBUILDNAME:STRING=buildname" to change)</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">or mention the file which contains the settings:</div><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8">(edit "filename.ext" to change)</div>
<div><br></div><div>The problem is that instructions on ITK, etc simply say to run</div><div><br></div><div>ctest -D Experimental</div><div><br></div><div>and don't have any mention of how to configure it.</div><br>David</div>