Execute tests with $JAVA_HOME.

This commit is contained in:
Robert Muir 2015-04-21 20:27:27 -04:00
parent b7ab378996
commit 730314fec1
1 changed files with 3 additions and 1 deletions

View File

@ -47,6 +47,7 @@
<tests.heap.size>512m</tests.heap.size>
<tests.heapdump.path>${basedir}/logs/</tests.heapdump.path>
<tests.topn>5</tests.topn>
<jvm.executable>${java.home}${file.separator}bin${file.separator}java</jvm.executable>
<execution.hint.file>.local-${project.version}-execution-hints.log</execution.hint.file>
<!-- Properties used for building RPM & DEB packages (see common/packaging.properties) -->
@ -444,7 +445,7 @@
</execution>
</executions>
<configuration>
<executable>java</executable>
<executable>${jvm.executable></executable>
<arguments>
<argument>-classpath</argument>
<classpath/>
@ -516,6 +517,7 @@
<goal>junit4</goal>
</goals>
<configuration>
<jvm>${jvm.executable}</jvm>
<heartbeat>10</heartbeat>
<jvmOutputAction>pipe,warn</jvmOutputAction>
<leaveTemporary>true</leaveTemporary>