Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-10899

buildall.sh -release_and_debug -codecoverage doesn't work as expected

    XMLWordPrintableJSON

Details

    • ghx-label-1

    Description

      If the user issues "buildall.sh -release_and_debug -codecoverage", the script will do a releae build, then a debug build, without generating any code coverage data:

      https://github.com/apache/impala/blob/beb8019f5300bb163424e7fdfec50b8e4b796e26/buildall.sh#L607

      We cannot really generate code coverage information for both release and debug builds because the second build overwrites the cmake directories, hence it overwrites the .gcno files as well.

      Therefore we should raise an error when the use specifies both -release_and_debug and -codecoverage. Another workaround could be to copy the .gcno files to a directory after the builds.

      Attachments

        Activity

          People

            boroknagyz Zoltán Borók-Nagy
            boroknagyz Zoltán Borók-Nagy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: