Michael Blow has uploaded a new change for review.
https://asterix-gerrit.ics.uci.edu/841
Change subject: Add Coverage For Hyracks
......................................................................
Add Coverage For Hyracks
Collect coverage data for hyracks modules.
Change-Id: Ib44d8ed4fe81d2e26380e1bf6e02b7458910be0a
---
M hyracks-fullstack/pom.xml
1 file changed, 60 insertions(+), 5 deletions(-)
git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb
refs/changes/41/841/1
diff --git a/hyracks-fullstack/pom.xml b/hyracks-fullstack/pom.xml
index f2e0eea..802f3a8 100644
--- a/hyracks-fullstack/pom.xml
+++ b/hyracks-fullstack/pom.xml
@@ -55,6 +55,7 @@
<hadoop.version>2.2.0</hadoop.version>
<junit.version>4.8.1</junit.version>
<commons.io.version>2.4</commons.io.version>
+ <jacoco.version>0.7.6.201602180812</jacoco.version>
</properties>
<dependencyManagement>
<dependencies>
@@ -218,11 +219,14 @@
<failIfNoTests>false</failIfNoTests>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
- <argLine>-enableassertions -Xmx2048m
- -Dfile.encoding=UTF-8
- -Djava.util.logging.config.file=${user.home}/logging.properties
- -Xdebug
-
-Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n</argLine>
+ <argLine>
+ -enableassertions -Xmx2048m
+ -Dfile.encoding=UTF-8
+ -Djava.util.logging.config.file=${user.home}/logging.properties
+ -Xdebug
+ -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n
+ ${coverageArgLine}
+ </argLine>
<includes>
<include>${global.test.includes},${test.includes}</include>
</includes>
@@ -385,6 +389,57 @@
</build>
</profile>
<profile>
+ <id>coverage</id>
+ <activation>
+ <property>
+ <name>coverage</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <version>${jacoco.version}</version>
+ <executions>
+ <execution>
+ <id>default-prepare-agent</id>
+ <goals>
+ <goal>prepare-agent</goal>
+ </goals>
+ <configuration>
+ <propertyName>coverageArgLine</propertyName>
+ </configuration>
+ </execution>
+ <execution>
+ <id>default-prepare-agent-integration</id>
+ <goals>
+ <goal>prepare-agent-integration</goal>
+ </goals>
+ <configuration>
+ <propertyName>coverageArgLine</propertyName>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ <properties>
+ <coverage/>
+ </properties>
+ </profile>
+ <profile>
+ <id>no-coverage</id>
+ <activation>
+ <property>
+ <name>!coverage</name>
+ </property>
+ </activation>
+ <properties>
+ <coverageArgLine/>
+ </properties>
+ </profile>
+ <profile>
<id>java8</id>
<activation>
<jdk>1.8</jdk>
--
To view, visit https://asterix-gerrit.ics.uci.edu/841
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib44d8ed4fe81d2e26380e1bf6e02b7458910be0a
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Michael Blow <[email protected]>