[Cdash] upload custom files to cdash

David Cole david.cole at kitware.com
Mon Mar 7 11:43:20 EST 2011


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.


On Mon, Mar 7, 2011 at 11:35 AM, sun sun <truemailnow at gmail.com> wrote:

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


More information about the Cdash mailing list