On Mon, Jan 24, 2011 at 3:09 PM, Rolf Eike Beer <e...@sf-mail.de> wrote:

> > I found the issue. I happened to put a trailing newline in CTEST_SITE,
> > causing some error further down the line. I guess CDash could deal
> > with it a bit better, but all in all it's a user error. (I utilized
> > the hostname command to get the hostname, but forgot to use
> > OUTPUT_STRIP_TRAILING_WHITESPACE)
>
> Uh-oh. That sounds familiar. The same thing happened to me once. And if you
> don't set CTEST_SITE you get one entry per step (i.e. update, configure,
> build, test). IMHO CTest should do a) abort with a clear error message if
> CTEST_SITE is not a valid hostname for any reason (i.e. spaces or newlines)
> and b) set it to the hostname of the machine if it is not set at all.
>
> Any opinions on this before I file a bug report?
>
> Eike
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>

Sounds like a reasonable bug report candidate to me.
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to