This is an automated email from the ASF dual-hosted git repository.
jaikiran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant-ivy.git
The following commit(s) were added to refs/heads/master by this push:
new 70dfaf2 Allow jacoco coverage to be disabled when running tests
70dfaf2 is described below
commit 70dfaf2467b0ab860851c997fbeec5d552fe76a6
Author: Jaikiran Pai <[email protected]>
AuthorDate: Sat Jan 16 19:47:22 2021 +0530
Allow jacoco coverage to be disabled when running tests
This allows us to run the Ivy testsuite against latest Java
early access versions without having to wait for the instrumentation
libraries (that jacoco coverage needs) to start supporting the
class version of the new Java version being tested.
---
build.xml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/build.xml b/build.xml
index fedc0f0..25904c7 100644
--- a/build.xml
+++ b/build.xml
@@ -439,8 +439,10 @@
<!-- multiple runs into the same logfile let the later report
generation fail -->
<delete file="${jacoco.log}"/>
+ <property name="jacoco.coverage.enabled" value="true"/>
<jacoco:coverage xmlns:jacoco="antlib:org.jacoco.ant"
destfile="${jacoco.log}"
-
exclclassloader="sun.reflect.DelegatingClassLoader:javassist.Loader">
+
exclclassloader="sun.reflect.DelegatingClassLoader:javassist.Loader"
+ enabled="${jacoco.coverage.enabled}">
<junit
haltonfailure="off"
haltonerror="off"