diff options
author | Dominik Stadler <centic@apache.org> | 2016-12-30 18:37:24 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2016-12-30 18:37:24 +0000 |
commit | 6c5040f56591ac97a0b090ae63392c320a541ac1 (patch) | |
tree | 15a858f6ad640b957748d4d06c06751272044b3c /build.xml | |
parent | 02f2481d219c156f1acc6a5980550767de342a73 (diff) | |
download | poi-6c5040f56591ac97a0b090ae63392c320a541ac1.tar.gz poi-6c5040f56591ac97a0b090ae63392c320a541ac1.zip |
Add full support for using file-leak-detector, will be added to CI to report missing close() calls in test-runs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776617 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -240,6 +240,8 @@ under the License. <property name="coverage.dir" value="build/coverage"/> <!-- Exclude some uninteresting classes from coverage-instrumentation as we do not want to measure coverage in those packages anyway --> <property name="coverage.excludes" value="org.openxmlformats.*:com.*:org.junit.*:junit.*:org.etsi.*:org.w3.*"/> + + <property name="file.leak.detector" value="-Dthis.is.a.dummy=true"/> <!-- Apache RAT license check properties --> <property name="rat.reportdir" value="build/rat"/> @@ -1376,6 +1378,7 @@ under the License. <syspropertyset refid="junit.properties"/> <jvmarg value="-ea"/> <!-- jvmarg value="-Duser.timezone=UTC"/ --> + <jvmarg value="${file.leak.detector}" /> <!-- YK: ensure that JUnit has enough memory to run tests. Without the line below tests fail on Mac OS X with jdk-1.6.26 |