You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/03/01 22:32:00 UTC

[jira] [Commented] (GEODE-10075) Fix support for jacoco code coverage in Geode build

    [ https://issues.apache.org/jira/browse/GEODE-10075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17499795#comment-17499795 ] 

ASF subversion and git services commented on GEODE-10075:
---------------------------------------------------------

Commit 3551b8dc650c939d7832580dc9d24e11b95dc79e in geode's branch refs/heads/develop from Dan Smith
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=3551b8d ]

GEODE-10075 Fix jacoco code coverage reports

We haven't been maintaining this gradle build support, but it is useful to be
able to get code coverage from distributed test runs, eg.

./gradlew geode-core:distributedTest -PcodeCoverage --tests XXX geode-core:jacocoDistributedTestReport

Changes:
* Upgraded the jacoco report tasks to use the newer syntax for locations
* Changed our WorkingDirectoryIsolator to fix the relative paths to the jacoco
  agent and execution trace files.

It's hard for me to tell if gradle is actually using windows or unix paths when
running on Windows. Just to be sure, adding support for both types of paths for
this change and adding a unit test of WorkingDirectoryIsolator.

> Fix support for jacoco code coverage in Geode build
> ---------------------------------------------------
>
>                 Key: GEODE-10075
>                 URL: https://issues.apache.org/jira/browse/GEODE-10075
>             Project: Geode
>          Issue Type: Bug
>          Components: build
>            Reporter: Dan Smith
>            Priority: Major
>              Labels: pull-request-available
>
> We haven't been maintaining this gradle build support, but it is useful to be
> able to get code coverage from distributed test runs, eg.
> ./gradlew geode-core:distributedTest -PcodeCoverage --tests XXX geode-core:jacocoDistributedTestReport
> If you pass -PcodeCoverage it's currently failing.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)