[Cdash] Allow multiple coverage submissions for the same buildid

David Cole DLRdave at aol.com
Mon Apr 13 06:35:05 EDT 2015


Why not simply submit another build with the second coverage type (and
a different build name)?

I think you'll also need to decide how to handle multiple coverage
types from the link on top level page, and on the coverage summary
page itself. (Either links to multiple summaries, or a summary that
takes into account multiple types.)

Certainly more work than simply adding to the primary key...


On Mon, Apr 13, 2015 at 4:29 AM, Nils Gladitz <nilsgladitz at gmail.com> wrote:
> I am trying to submit both gcov and java emma coverage from the same build
> which I think leads to:
>
> SQL error: ERROR:  duplicate key value violates unique constraint
> "coveragesummary_pkey"
>
> Would it be possible to add a column to the coveragesummary table for the
> coverage type (e.g. gcov, emma) and make it part of the primary key so that
> multiple coverage submissions of different type become valid?
>
> Would any other changes be required to make this work?
>
> Nils
> _______________________________________________
> Cdash mailing list
> Cdash at public.kitware.com
> http://public.kitware.com/mailman/listinfo/cdash


More information about the Cdash mailing list