/hg/icedtea-web: Unittests coverage adapted to latest jacoco

jvanek at icedtea.classpath.org jvanek at icedtea.classpath.org
Thu Oct 23 10:19:10 UTC 2014


changeset 3e34c56ac6d0 in /hg/icedtea-web
details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=3e34c56ac6d0
author: Jiri Vanek <jvanek at redhat.com>
date: Thu Oct 23 12:18:50 2014 +0200

	Unittests coverage adapted to latest jacoco

	* Makefile.am: (JACOCO_AGENT_SWITCH) is now using both  JACOCO_ADVANCED_EXCLUDE) and inclbootstrapclasses=true too. (JACOCO_AGENT_JAVAWS_SWITCH) and (JACOCO_AGENT_PLUGIN_SWITCH) are using JACOCO_AGENT_SWITCH instead of copypasting values.


diffstat:

 ChangeLog   |  8 ++++++++
 Makefile.am |  6 +++---
 2 files changed, 11 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r d2f6040df270 -r 3e34c56ac6d0 ChangeLog
--- a/ChangeLog	Tue Oct 21 11:01:05 2014 -0400
+++ b/ChangeLog	Thu Oct 23 12:18:50 2014 +0200
@@ -1,3 +1,11 @@
+2014-10-17  Jiri Vanek  <jvanek at redhat.com>
+
+	Unittests coverage adapted to latest jacoco
+	* Makefile.am: (JACOCO_AGENT_SWITCH) is now using both  JACOCO_ADVANCED_EXCLUDE)
+	and inclbootstrapclasses=true too. (JACOCO_AGENT_JAVAWS_SWITCH) and
+	(JACOCO_AGENT_PLUGIN_SWITCH) are using JACOCO_AGENT_SWITCH instead of copypasting
+	values.
+
 2014-10-21  Lukasz Dracz  <ldracz at redhat.com>
 
 	PolicyFileModel null file tests added
diff -r d2f6040df270 -r 3e34c56ac6d0 Makefile.am
--- a/Makefile.am	Tue Oct 21 11:01:05 2014 -0400
+++ b/Makefile.am	Thu Oct 23 12:18:50 2014 +0200
@@ -69,9 +69,9 @@
 export JACOCO_AGENT_SWITCH_BODY=-javaagent:$(JACOCO_PATH)/$(JACOCO_AGENTRT)
 export JACOCO_BASE_EXCLUDE=org.junit.*:junit.*
 export JACOCO_ADVANCED_EXCLUDE=:*jacoco*:java.lang.*:java.reflect.*:java.util.*:sun.reflect.*
-export JACOCO_AGENT_SWITCH="$(JACOCO_AGENT_SWITCH_BODY)=excludes=$(JACOCO_BASE_EXCLUDE)"
-export JACOCO_AGENT_JAVAWS_SWITCH=\"$(JACOCO_AGENT_SWITCH_BODY)=excludes=$(JACOCO_BASE_EXCLUDE)$(JACOCO_ADVANCED_EXCLUDE),inclbootstrapclasses=true,destfile=$(JACOCO_JAVAWS_RESULTS)\"
-export JACOCO_AGENT_PLUGIN_SWITCH=\"$(JACOCO_AGENT_SWITCH_BODY)=excludes=$(JACOCO_BASE_EXCLUDE)$(JACOCO_ADVANCED_EXCLUDE),inclbootstrapclasses=true,destfile=$(JACOCO_PLUGIN_RESULTS)\"
+export JACOCO_AGENT_SWITCH="$(JACOCO_AGENT_SWITCH_BODY)=excludes=$(JACOCO_BASE_EXCLUDE)$(JACOCO_ADVANCED_EXCLUDE),inclbootstrapclasses=true"
+export JACOCO_AGENT_JAVAWS_SWITCH=\"$(JACOCO_AGENT_SWITCH),destfile=$(JACOCO_JAVAWS_RESULTS)\"
+export JACOCO_AGENT_PLUGIN_SWITCH=\"$(JACOCO_AGENT_SWITCH),destfile=$(JACOCO_PLUGIN_RESULTS)\"
 export JACOCO_OPERATOR_EXEC=$(BOOT_DIR)/bin/java $(EMMA_JAVA_ARGS) -cp $(JACOCO_OPERATOR_DIR):$(JACOCO_CLASSPATH):. org.jacoco.operator.Main
 
 # linking variables


More information about the distro-pkg-dev mailing list