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

Support gcc coverage

XMLWordPrintable

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

      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!

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

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

              Created:
              Updated:

                There are no open Gerrit changes