You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemml.apache.org by ba...@apache.org on 2020/06/15 08:21:42 UTC
[systemml] branch master updated: [MINOR] Fix code coverage tool
This is an automated email from the ASF dual-hosted git repository.
baunsgaard pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/systemml.git
The following commit(s) were added to refs/heads/master by this push:
new 027f46c [MINOR] Fix code coverage tool
027f46c is described below
commit 027f46ccad3d6ffc8140577212889dae1d8f98ca
Author: Sebastian <ba...@tugraz.at>
AuthorDate: Mon Jun 15 10:20:03 2020 +0200
[MINOR] Fix code coverage tool
Minor change to pom to update and re-enable code coverage in testing.
when testing using the following command (replace ??? with package name)
`mvn test -DskipTests=false -Dtest=org.apache.sysds.???`
This uses jacoco to produce a folder containing a webpage in
`target/site` that show coverage.
Closes #956
---
pom.xml | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/pom.xml b/pom.xml
index bbc3088..b4be60d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -50,7 +50,9 @@
<enableGPU>false</enableGPU>
<jcuda.scope>provided</jcuda.scope>
<jcuda.version>10.2.0</jcuda.version>
+ <!-->Testing settings<!-->
<skipTests>true</skipTests>
+ <argLine>-Xms4g -Xmx4g</argLine>
</properties>
<repositories>
@@ -260,7 +262,6 @@
<threadCount>12</threadCount>
<!-- 1C means the number of threads times 1 possible maximum forks for testing-->
<forkCount>1C</forkCount>
- <argLine>-Xms4g -Xmx4g</argLine>
<reuseForks>false</reuseForks>
<reportFormat>brief</reportFormat>
<trimStackTrace>true</trimStackTrace>
@@ -332,14 +333,20 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
- <version>0.7.6.201602180812</version>
+ <version>0.8.5</version>
<executions>
<execution>
- <id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
+ <execution>
+ <id>generate-code-coverage-report</id>
+ <phase>test</phase>
+ <goals>
+ <goal>report</goal>
+ </goals>
+ </execution>
</executions>
</plugin>