Zoltán Borók-Nagy created IMPALA-10899:
------------------------------------------
Summary: buildall.sh -release_and_debug -codecoverage doesn't work
as expected
Key: IMPALA-10899
URL: https://issues.apache.org/jira/browse/IMPALA-10899
Project: IMPALA
Issue Type: Bug
Components: Infrastructure
Reporter: Zoltán Borók-Nagy
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)