[CMake] CMake with CTest, cannot submit results to CDash

hgc-01134@hkedcity.net wong emeplease at gmail.com
Thu Aug 19 05:14:22 EDT 2010


Hi,

I am using CMake with CTest and CDash on a project.

This is the CTestConfig.cmake located under the source directory:
================================================================
set(CTEST_PROJECT_NAME "CDE")
set(CTEST_NIGHTLY_START_TIME "00:00:00 EST")

set(CTEST_DROP_METHOD "http")
set(CTEST_DROP_SITE "cde.abc.com")
set(CTEST_DROP_LOCATION "/cdash/submit.php?project=CDE")
set(CTEST_DROP_SITE_CDASH TRUE)
================================================================

However, the generated DartConfiguration.tcl is something like below,
the DropSite and DropLocation are incorrect.
Thank you very much

=================================================================
 This file is configured by CMake automatically as DartConfiguration.tcl
# If you choose not to use CMake, this file may be hand configured, by
# filling in the required variables.


# Configuration directories and files
SourceDirectory: /home/cywong/cpe3/svnlocal/trunk/test
BuildDirectory: /home/cywong/cpe3/build/test

# Site is something like machine.domain, i.e. pragmatic.crd
Site: cdevm2centos55x86

# Build name is osname-revision-compiler, i.e. Linux-2.4.2-2smp-c++
BuildName: Linux-c++

# Submission information
IsCDash:
DropSite: public.kitware.com
DropLocation: /cgi-bin/HTTPUploadDartFile.cgi
DropSiteUser:
DropSitePassword:
DropSiteMode:
DropMethod: http
TriggerSite: http://public.kitware.com/cgi-bin/Submit-Random-TestingResults.cgi
ScpCommand: /usr/bin/scp
====================================================================


More information about the CMake mailing list