Brad King wrote: > On 07/22/2013 04:18 PM, Rolf Eike Beer wrote: > > 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: > This was just documenting an existing limitation.
Yes, of course. > > -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. > > One could add such a check and test with a policy for compatibility > if the validation is particularly strict. > > > -second: what does "special" mean? > > Look at the CMake language lexer. So for the beginning I would go and just simply reject every test name that has spaces or quotes, because that has never worked. Eike --
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