Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1697

Support gcc coverage

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 1.22.1
    • Toolchains: GCC
    • None

    Description

      I wrote a module that adds "–coverage" to compiler flags to use GCC's coverage feature (with lcov etc). Cleaning the project does not delete the generated *.gcda and *.gcno files. These are obviously not lists as output artifacts in the CPP.compilerOutputArtifacts() method in cpp.js.

      On the next run of the instrumented unit tests libgcov complains about inconsistent build ("overwriting an existing profile data with a different timestamp").

      It would be create to get support for this.

      Thank you!

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            gilead Jochen Becher
            gilead Jochen Becher
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes