MantisBT - CMake
View Issue Details
0012536CMakeCTestpublic2011-10-24 04:292012-03-06 08:37
ycollet 
David Cole 
normalfeaturehave not tried
closedno change required 
PCWindowsXP 64
CMake 2.8.6 
CMake 2.8.7 
0012536: Add a local drop method
For my project, I have no distant server which can receive results from ctest.
So, It should be a good idea to have a local drop method.
Something like:

  set(CTEST_DROP_METHOD cp) # cp for a local drop
  set(CTEST_TRIGGER_SITE "")
  set(CTEST_DROP_SITE_USER "")
  # set(CTEST_DROP_SITE "e") -> This variable should not be taken into account
                                for linux windows support. The complete path
                                (with drive letter) is handled by
                                CTEST_DROP_LOCATION
  set(CTEST_DROP_LOCATION "e:/Sources/Arc2d_Rep/trunk/tests/Results") # Windows
  set(CTEST_DROP_LOCATION "/opt/Sources/Arc2d_Rep/trunk/tests/Results") # Linux
No tags attached.
Issue History
2011-10-24 04:29ycolletNew Issue
2011-10-24 09:54David ColeAssigned To => David Cole
2011-10-24 09:54David ColeStatusnew => assigned
2011-10-24 09:59David ColeNote Added: 0027635
2011-10-24 09:59David ColeStatusassigned => resolved
2011-10-24 09:59David ColeFixed in Version => CMake 2.8.7
2011-10-24 09:59David ColeResolutionopen => no change required
2011-10-24 10:00David ColeNote Added: 0027636
2012-03-06 08:37David ColeNote Added: 0028830
2012-03-06 08:37David ColeStatusresolved => closed

Notes
(0027635)
David Cole   
2011-10-24 09:59   
Did you try this?

It should work already.

If I try this, on a Windows or Mac build:

  set(CTEST_DROP_METHOD "cp")
  set(CTEST_DROP_LOCATION "Drop/Location")

ctest copies the xml files into a "Drop/Location" folder in my build tree.

It even works if I give it an absolute path on another drive letter, as in:

  set(CTEST_DROP_LOCATION "D:/Drop/Location")
(0027636)
David Cole   
2011-10-24 10:00   
By the way, you can also set up CDash on any LAMP/WAMP/XAMPP server, even on your own development machine quite easily, and then submit to it via "http://localhost" [^]
(0028830)
David Cole   
2012-03-06 08:37   
Closing resolved issues that have not been updated in more than 4 months.