geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mbr...@apache.org
Subject incubator-geode git commit: Add merge task for merging Distributed and Integration test coverage for consumption by SonarQube
Date Wed, 30 Sep 2015 22:26:35 GMT
Repository: incubator-geode
Updated Branches:
  refs/heads/feature/GEODE-377 [created] e9ed07fa3


Add merge task for merging Distributed and Integration test coverage
for consumption by SonarQube


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/e9ed07fa
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/e9ed07fa
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/e9ed07fa

Branch: refs/heads/feature/GEODE-377
Commit: e9ed07fa3af1dcff3b28fb21facf9cfa0ec7caef
Parents: 48360fe
Author: Mark Bretl <mbretl@pivotal.io>
Authored: Wed Sep 30 15:25:13 2015 -0700
Committer: Mark Bretl <mbretl@pivotal.io>
Committed: Wed Sep 30 15:25:13 2015 -0700

----------------------------------------------------------------------
 build.gradle | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/e9ed07fa/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index eda7642..c1534de 100755
--- a/build.gradle
+++ b/build.gradle
@@ -181,9 +181,18 @@ subprojects {
       }
     }
 
+    task mergeIntegrationTestCoverage (type: JacocoMerge) {
+      description 'Merges Distributed and Integration test coverage results'
+
+      destinationFile = file("${buildDir}/jacoco/mergedIntegrationTestCoverage.exec")
+      executionData = fileTree(dir: 'build/jacoco', include: ['**/distributedTest.exec','**/integrationTest.exec'])
+
+    }
+
     jacocoTestReport {
       reports { 
         csv.enabled false
+        sourceSets project.sourceSets.main
         html.destination "${buildDir}/jacocoTestHtml"
       }
     }


Mime
View raw message