Who prints the note? ctest should not print the notes files. You must have a "message" call in your script, or something else that you do prints it out during the dashboard run.<br><br><div><br><div class="gmail_quote">
On Mon, Mar 7, 2011 at 11:35 AM, sun sun <span dir="ltr"><<a href="mailto:truemailnow@gmail.com">truemailnow@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
I am using -VV on the command line, and redirecting the output to a<br>
file (log.txt).<br>
I am uploading this file to cdash as a note. Due to this, the size of<br>
this log file is doubled (as it prints "itself" entirely as a note).<br>
So I need to supress the printing of the note file.<br>
<div><div></div><div class="h5"><br>
On 3/7/11, David Cole <<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>> wrote:<br>
> What do you mean "prints out the entire text from the Notes file onto<br>
> the console" -- I've never seen that behavior before.<br>
><br>
> What does your full ctest script look like? How are you invoking ctest when<br>
> you run the script? (Are you using "-V" or "-VV" on the command line args?)<br>
><br>
><br>
> On Mon, Mar 7, 2011 at 3:49 AM, sun sun <<a href="mailto:truemailnow@gmail.com">truemailnow@gmail.com</a>> wrote:<br>
><br>
>> Hi,<br>
>><br>
>> The set(CTEST_NOTES_FILES "file-path") serves the purpose.<br>
>><br>
>> Currently it prints out the entire text from the Notes file onto the<br>
>> console. Can we supress the output of Only this option ?<br>
>><br>
>> Thanks<br>
>><br>
>> On 3/1/11, David Cole <<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>> wrote:<br>
>> > Text files can already be "attached to build rows" (as notes) by setting<br>
>> > CTEST_NOTES_FILES in the driving ctest -S script to the list of text<br>
>> files<br>
>> > you want to display there. Are you setting CTEST_NOTES_FILES?<br>
>> ><br>
>> > We typically do this from dashboard scripts to attach the script itself<br>
>> as a<br>
>> > note:<br>
>> ><br>
>> > set(CTEST_NOTES_FILES ${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME})<br>
>> ><br>
>> ><br>
>> > HTH,<br>
>> > David<br>
>> ><br>
>> ><br>
>> > On Tue, Mar 1, 2011 at 9:44 AM, Zach Mullen <<a href="mailto:zach.mullen@kitware.com">zach.mullen@kitware.com</a>><br>
>> wrote:<br>
>> ><br>
>> >> Hello,<br>
>> >><br>
>> >> I'm currently working on a CDash/CTest feature that will allow you to<br>
>> >> do<br>
>> >> this. It will be in the next release of CTest and CDash, or if you<br>
>> >> wish<br>
>> >> you<br>
>> >> can use the trunk version of CDash and the "next" branch of CMake to<br>
>> >> try<br>
>> >> it<br>
>> >> out, it should be ready in the next couple of days.<br>
>> >><br>
>> >> Thanks,<br>
>> >><br>
>> >> --<br>
>> >> Zach Mullen<br>
>> >> R & D Engineer<br>
>> >> Kitware Inc.<br>
>> >> (919) 969-6990 x314<br>
>> >><br>
>> >> On Tue, Mar 1, 2011 at 4:00 AM, sun sun <<a href="mailto:truemailnow@gmail.com">truemailnow@gmail.com</a>> wrote:<br>
>> >><br>
>> >>> I have setup cdash for my project. I would like to submit additional<br>
>> >>> files (like log files and other text files) to cdash so that<br>
>> >>> additional details can be seen on the cdash page. How should I go<br>
>> >>> about it ?<br>
>> >>> _______________________________________________<br>
>> >>> Cdash mailing list<br>
>> >>> <a href="mailto:Cdash@public.kitware.com">Cdash@public.kitware.com</a><br>
>> >>> <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/cdash" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/cdash</a><br>
>> >>><br>
>> >><br>
>> >><br>
>> >><br>
>> >><br>
>> >><br>
>> >> _______________________________________________<br>
>> >> Cdash mailing list<br>
>> >> <a href="mailto:Cdash@public.kitware.com">Cdash@public.kitware.com</a><br>
>> >> <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/cdash" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/cdash</a><br>
>> >><br>
>> >><br>
>> ><br>
>><br>
><br>
</div></div></blockquote></div><br></div>