The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=12953 ====================================================================== Reported By: Jean-Christophe Fillion-Robin Assigned To: ====================================================================== Project: CMake Issue ID: 12953 Category: CTest Reproducibility: have not tried Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2012-02-09 18:38 EST Last Modified: 2012-02-09 18:38 EST ====================================================================== Summary: Make sure argument passed to CTest are not modified Description: In the "steps to reproduce", we can read:
Reading Script: /home/jchris/Projects/sandbox/foo.cmake,url##http:/cmake.org whereas the following is expected: Reading Script: /home/jchris/Projects/sandbox/foo.cmake,url##http://cmake.org It seems the problem occurs in cmCTestScriptHandler line 186. Calling "CollapseFullPath" on the string "/path/to/ctestscript.cmake,arguments" probably causes the arguments to be modified. See http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/CTest/cmCTestScriptHandler.cxx;h=5841b8d42bd3873ccdbeaee25349b103bf89eb18;hb=HEAD#l186 Steps to Reproduce: jchris@karakoram:~/Projects/sandbox $ ctest -S foo.cmake,url##http://cmake.org -VV * Extra verbosity turned on Reading Script: /home/jchris/Projects/sandbox/foo.cmake,url##http:/cmake.org CMake Error: Cannot find file: /home/jchris/Projects/sandbox/foo.cmake ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2012-02-09 18:38 Jean-Christophe Fillion-RobinNew Issue ====================================================================== -- 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