MantisBT - CMake
View Issue Details
0012953CMakeCTestpublic2012-02-09 18:382016-06-10 14:31
Jean-Christophe Fillion-Robin 
Kitware Robot 
normalminorhave not tried
closedmoved 
CMake 2.8.7 
 
0012953: Make sure argument passed to CTest are not modified
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 [^]
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
No tags attached.
Issue History
2012-02-09 18:38Jean-Christophe Fillion-RobinNew Issue
2012-05-28 22:18Jean-Christophe Fillion-RobinNote Added: 0029580
2012-08-11 21:42David ColeStatusnew => backlog
2012-08-11 21:42David ColeNote Added: 0030429
2016-06-10 14:28Kitware RobotNote Added: 0041984
2016-06-10 14:28Kitware RobotStatusbacklog => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:28Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0029580)
Jean-Christophe Fillion-Robin   
2012-05-28 22:18   
Problem still occurs using CMake 2.8.8.
(0030429)
David Cole   
2012-08-11 21:42   
Sending old, never assigned issues to the backlog.

(The age of the bug, plus the fact that it's never been assigned to anyone means that nobody is actively working on it...)

If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it: http://www.cmake.org/mailman/listinfo/cmake [^]

It's easy to re-activate a bug here if you can find a CMake developer who has the bandwidth to take it on, and ferry a fix through to our 'next' branch for dashboard testing.
(0041984)
Kitware Robot   
2016-06-10 14:28   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.