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

David Cole david.cole at kitware.com
Thu Aug 19 06:51:30 EDT 2010


What version of cmake are you using?

Where is CTestConfig.cmake relative to your top level CMakeLists.txt file?
(They should be in the same directory.)

Is your source tree available for us to try to reproduce the problem?


On Thu, Aug 19, 2010 at 5:14 AM, hgc-01134 at hkedcity.net wong <
emeplease at gmail.com> wrote:

> 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
> ====================================================================
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100819/922570d2/attachment.htm>


More information about the CMake mailing list