Since d0170584c54b515b7eb2d044c3d48332523b3a37 there is a comment stating that 
"spaces, quotes, or other characters special in CMake syntax" are not allowed 
in a test name. This raised 2 topics:

-first: the only check done in add_test() is that the name is not empty. If 
there are forbidden characters we must test for them, reject everything that 
is invalid, and have a check that verifies that this works. I've been fooled 
at least twice myself when adding a test with a space in the name and then 
wondering why it didn't work.

-second: what does "special" mean? I fear that any test name would end up as 
some sort of target name in Makefile/project files somewhere, in which case we 
are limited to the valid subset of all supported generators. Which can be 
something like [a-zA-Z0-9_] with special rules like "must not start/end with 
$something". And maybe even some case problems?

So, who can shed some light on this? Brad?

Eike

Attachment: signature.asc
Description: This is a digitally signed message part.

--

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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to