[Cdash] Multiple calls to ctest_test

Pat Marion james.patrick.marion at gmail.com
Thu Sep 12 23:46:49 UTC 2013


I got it working.  You have to submit everything with ctest_submit(PARTS
...).  I think my problem was that, even though I was submitting with
ctest_submit(PARTS ...), I had one extra ctest_submit() at the end, which
re-submitted the last Test.xml.

So this works:

ctest_start()
ctest_build()
ctest_submit(PARTS Build)

ctest_test(BUILD top/subdir1 APPEND)
ctest_submit(PARTS Test)

ctest_test(BUILD top/subdir2 APPEND)
ctest_submit(PARTS Test)

# dont call ctest_submit without PARTS!
# ctest_submit()


Pat


On Thu, Sep 12, 2013 at 2:02 PM, Jean-Christophe Fillion-Robin <
jchris.fillionr at kitware.com> wrote:

> Worth trying. Keep us posted :)
> Jc
>
>
> On Thu, Sep 12, 2013 at 2:00 PM, Pat Marion <
> james.patrick.marion at gmail.com> wrote:
>
>> Ah, so maybe I just need the ctest_test(... APPEND) and then only one
>> ctest_submit() at the end.  I think I tried that combination, but I'll try
>> it again.  Thanks!
>>
>> Pat
>>
>>
>> On Thu, Sep 12, 2013 at 1:58 PM, Jean-Christophe Fillion-Robin <
>> jchris.fillionr at kitware.com> wrote:
>>
>>> Hi Pat,
>>>
>>> While it is possible the different part (configure, build, test, ..)
>>> independently, I wonder if submitting the same "part" multiple time is
>>> supported. That could explain what you observed.
>>>
>>> Jc
>>>
>>>
>>> On Thu, Sep 12, 2013 at 1:23 PM, Pat Marion <
>>> james.patrick.marion at gmail.com> wrote:
>>>
>>>> Hi Zack,
>>>>
>>>> I've tried with APPEND, and I tried doing ctest_submit(PARTS Test)
>>>> after each call to ctest_test, but no luck.  I think I will create a simple
>>>> project to demonstrate the issue (and maybe I'll discover my mistake while
>>>> doing that...)
>>>>
>>>> Pat
>>>>
>>>>
>>>> On Thu, Sep 12, 2013 at 1:21 PM, Zack Galbreath <
>>>> zack.galbreath at kitware.com> wrote:
>>>>
>>>>> On Thu9/1213 Thu Sep 12 12:15 PM, Pat Marion wrote:
>>>>>
>>>>>>
>>>>>> ctest_build()
>>>>>>
>>>>>>
>>>>> This is the line that is deleting your prior results.  use this
>>>>> instead:
>>>>> ctest_build(BUILD "${CTEST_BINARY_DIRECTORY}" APPEND)
>>>>>
>>>>> Here's the relevant blog post on why this is necessary:
>>>>> http://www.kitware.com/blog/**home/post/11<http://www.kitware.com/blog/home/post/11>
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Cdash mailing list
>>>> Cdash at public.kitware.com
>>>> http://public.kitware.com/cgi-bin/mailman/listinfo/cdash
>>>>
>>>>
>>>
>>>
>>> --
>>> +1 919 869 8849
>>>
>>
>>
>
>
> --
> +1 919 869 8849
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cdash/attachments/20130912/5bb8c94a/attachment-0003.htm>


More information about the CDash mailing list