View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012953CMakeCTestpublic2012-02-09 18:382016-06-10 14:31
ReporterJean-Christophe Fillion-Robin 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake 2.8.7 
Target VersionFixed in Version 
Summary0012953: Make sure argument passed to CTest are not modified
DescriptionIn 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 Reproducejchris@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
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0029580)
Jean-Christophe Fillion-Robin (reporter)
2012-05-28 22:18

Problem still occurs using CMake 2.8.8.
(0030429)
David Cole (manager)
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 (administrator)
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.

 Issue History
Date Modified Username Field Change
2012-02-09 18:38 Jean-Christophe Fillion-Robin New Issue
2012-05-28 22:18 Jean-Christophe Fillion-Robin Note Added: 0029580
2012-08-11 21:42 David Cole Status new => backlog
2012-08-11 21:42 David Cole Note Added: 0030429
2016-06-10 14:28 Kitware Robot Note Added: 0041984
2016-06-10 14:28 Kitware Robot Status backlog => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:28 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team