<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hi,<BR><BR> Thanks for your reply.<BR> I have now 2 different files CTestConfig.cmake and script.cmake<BR> I am giving the command :<BR><BR> ctest -S script.cmake -VV<BR><BR> my script.cmake has following lines in it (skipped initial lines) :<BR>..........<BR>..........<BR>ctest_start(Nightly)<BR>ctest_update()<BR>ctest_configure()<BR>ctest_build()<BR>ctest_test()<BR>ctest_coverage()<BR>ctest_submit()<BR><BR> Now, the issues are :<BR><BR> 1. it is not submitting under "Nightly" section on CDASH but under "Experimental" section.<BR> I even tried enclosing word 'Nightly' inside double quotes [ctest_start("Nightly")], but thats also not working.<BR><BR> 2. if I give :<BR> ctest_submit(FILES
<path_to_my_customized_Report.xml_file>)<BR><BR> instead of ctest_submit(), it gives me error :<BR><BR> CMake Error at script.cmake:37 (ctest_submit):<BR> ctest_submit called with incorrect number of arguments. Extra argument is:<BR> FILES.<BR><BR> How can I submit under "Nightly" section on CDASH and how do I submit my customized Report.xml test result file?<BR><BR>Regards,<BR>Girish </DIV>
<DIV><BR><BR>--- On <B>Mon, 12/27/10, David Cole <I><david.cole@kitware.com></I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px"><BR>From: David Cole <david.cole@kitware.com><BR>Subject: Re: [CMake] ctest_submit() error<BR>To: "girish hilage" <girish_hilage@yahoo.com><BR>Cc: cmake@cmake.org<BR>Date: Monday, December 27, 2010, 1:55 PM<BR><BR>
<DIV id=yiv1795150707>On Mon, Dec 27, 2010 at 8:39 AM, girish hilage <SPAN dir=ltr><<A href="http://us.mc576.mail.yahoo.com/mc/compose?to=girish_hilage@yahoo.com" rel=nofollow target=_blank ymailto="mailto:girish_hilage@yahoo.com">girish_hilage@yahoo.com</A>></SPAN> wrote:<BR>
<DIV class=yiv1795150707gmail_quote>
<BLOCKQUOTE style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class=yiv1795150707gmail_quote>
<TABLE border=0 cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD vAlign=top>
<DIV>Hi,<BR><BR>I am a newbie to cmake and cdash.</DIV>
<DIV>I am trying to submit my customized report to CDASH using ctest_submit(FILES <path to report file>) but getting following errors.<BR><BR>- if I give it in CTestConfig.cmake and give "cmake ." then I am getting below error :<BR><BR>CMake Error at CTestConfig.cmake:8 (ctest_submit):<BR> Unknown CMake command "ctest_submit".<BR>Call Stack (most recent call first):<BR> /usr/share/cmake-2.6/Modules/CTest.cmake:50 (INCLUDE)<BR> CMakeLists.txt:117 (INCLUDE)<BR><BR>- if I give it in CMakeLists.txt and give "cmake ." then I am getting below error :<BR><BR>CMake Error at CMakeLists.txt:121 (ctest_submit):<BR> Unknown CMake command "ctest_submit".<BR><BR>So want to ask :<BR>1. Am I using ctest_submit() properly for the purpose of submitting the customized report or is there any other way to do this?<BR>2. In which file should I give ctest_submit() (CTestConfig.cmake or
CMakeLists.txt)?<BR></DIV></TD></TR></TBODY></TABLE></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>Neither. Calls to ctest_submit belong in "ctest -S" scripts that drive dashboard builds and submissions. CMake itself does not implement any of the "ctest_*" commands, so you can only call them from ctest scripts.</DIV>
<DIV><BR></DIV>
<DIV>HTH,</DIV>
<DIV>David</DIV>
<DIV><BR></DIV>
<DIV> </DIV>
<BLOCKQUOTE style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class=yiv1795150707gmail_quote>
<TABLE border=0 cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD vAlign=top>
<DIV><BR>Regards,<BR>Girish</DIV></TD></TR></TBODY></TABLE><BR><BR>_______________________________________________<BR>Powered by <A href="http://www.kitware.com/" rel=nofollow target=_blank>www.kitware.com</A><BR><BR>Visit other Kitware open-source projects at <A href="http://www.kitware.com/opensource/opensource.html" rel=nofollow target=_blank>http://www.kitware.com/opensource/opensource.html</A><BR><BR>Please keep messages on-topic and check the CMake FAQ at: <A href="http://www.cmake.org/Wiki/CMake_FAQ" rel=nofollow target=_blank>http://www.cmake.org/Wiki/CMake_FAQ</A><BR><BR>Follow this link to subscribe/unsubscribe:<BR><A href="http://www.cmake.org/mailman/listinfo/cmake" rel=nofollow target=_blank>http://www.cmake.org/mailman/listinfo/cmake</A><BR></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE></td></tr></table><br>