View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012536CMakeCTestpublic2011-10-24 04:292012-03-06 08:37
Reporterycollet 
Assigned ToDavid Cole 
PrioritynormalSeverityfeatureReproducibilityhave not tried
StatusclosedResolutionno change required 
PlatformPCOSWindowsOS VersionXP 64
Product VersionCMake 2.8.6 
Target VersionFixed in VersionCMake 2.8.7 
Summary0012536: Add a local drop method
DescriptionFor 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
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0027635)
David Cole (manager)
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 (manager)
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 (manager)
2012-03-06 08:37

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2011-10-24 04:29 ycollet New Issue
2011-10-24 09:54 David Cole Assigned To => David Cole
2011-10-24 09:54 David Cole Status new => assigned
2011-10-24 09:59 David Cole Note Added: 0027635
2011-10-24 09:59 David Cole Status assigned => resolved
2011-10-24 09:59 David Cole Fixed in Version => CMake 2.8.7
2011-10-24 09:59 David Cole Resolution open => no change required
2011-10-24 10:00 David Cole Note Added: 0027636
2012-03-06 08:37 David Cole Note Added: 0028830
2012-03-06 08:37 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team