[dom4j] 64/74: Enabled the unit tests

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Oct 25 10:34:22 UTC 2017


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository dom4j.

commit bdddba3ad370d33ffe9ee2759485239811056fbd
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Oct 25 09:44:35 2017 +0200

    Enabled the unit tests
---
 debian/patches/08_disable-jacoco.patch | 25 +++++++++++++++++++++++++
 debian/patches/series                  |  1 +
 debian/rules                           |  3 +++
 3 files changed, 29 insertions(+)

diff --git a/debian/patches/08_disable-jacoco.patch b/debian/patches/08_disable-jacoco.patch
new file mode 100644
index 0000000..fed2c50
--- /dev/null
+++ b/debian/patches/08_disable-jacoco.patch
@@ -0,0 +1,25 @@
+Description: Disables Jacoco to run the tests
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/build.gradle
++++ b/build.gradle
+@@ -1,5 +1,4 @@
+ apply plugin: 'java'
+-apply plugin: 'jacoco'
+ apply plugin: 'maven'
+ apply plugin: 'signing'
+ 
+@@ -66,13 +65,6 @@
+ 	useTestNG()
+ }
+ 
+-jacocoTestReport {
+-	reports {
+-		xml.enabled true
+-	}
+-}
+-
+-check.dependsOn 'jacocoTestReport'
+ 
+ if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword')) {
+ 	signing {
diff --git a/debian/patches/series b/debian/patches/series
index a42369b..002e523 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 04_headless-test.patch
 07_xpp2-compatibility.patch
+08_disable-jacoco.patch
diff --git a/debian/rules b/debian/rules
index c7f5447..88d9d97 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,5 +6,8 @@
 override_dh_auto_build:
 	dh_auto_build -- jar javadoc
 
+override_dh_auto_test:
+	dh_auto_build -- test
+
 get-orig-source:
 	uscan --force-download --rename

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/dom4j.git



More information about the pkg-java-commits mailing list