[dom4j] 23/74: Re-enable test case BeansTest by running tests in headless mode. (Closes: #403052)
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed Oct 25 10:34:08 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 1e81b178a9e713748ea29a296ab36ddf8c251405
Author: Marcus Better <marcus at better.se>
Date: Mon May 18 16:17:54 2009 +0000
Re-enable test case BeansTest by running tests in headless
mode. (Closes: #403052)
---
dom4j/build.xml | 1 -
dom4j/debian/ant.properties | 1 +
dom4j/debian/changelog | 4 +++-
dom4j/debian/rules | 3 ++-
4 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/dom4j/build.xml b/dom4j/build.xml
index f7b3fd2..bd028d5 100644
--- a/dom4j/build.xml
+++ b/dom4j/build.xml
@@ -292,7 +292,6 @@
<exclude name="**/TestCase.java" />
<exclude name="**/StaxTest.java" />
<exclude name="**/datatype/*Test.java" />
- <exclude name="**/bean/*Test.java" />
</fileset>
</batchtest>
</junit>
diff --git a/dom4j/debian/ant.properties b/dom4j/debian/ant.properties
new file mode 100644
index 0000000..a1d8f2a
--- /dev/null
+++ b/dom4j/debian/ant.properties
@@ -0,0 +1 @@
+java.awt.headless=true
diff --git a/dom4j/debian/changelog b/dom4j/debian/changelog
index 595ab11..9a6ff3b 100644
--- a/dom4j/debian/changelog
+++ b/dom4j/debian/changelog
@@ -4,8 +4,10 @@ dom4j (1.6.1+dfsg.2-1) UNRELEASED; urgency=low
* Change section to java.
* Remove source files from jaxen since we have (circular) build
dependency on libjaxen-java. (Closes: #427913)
+ * Re-enable test case BeansTest by running tests in headless
+ mode. (Closes: #403052)
- -- Marcus Better <marcus at better.se> Mon, 18 May 2009 17:55:40 +0200
+ -- Marcus Better <marcus at better.se> Mon, 18 May 2009 18:05:17 +0200
dom4j (1.6.1+dfsg-3) unstable; urgency=low
diff --git a/dom4j/debian/rules b/dom4j/debian/rules
index 86e096e..858ad48 100755
--- a/dom4j/debian/rules
+++ b/dom4j/debian/rules
@@ -15,8 +15,9 @@ DEB_CLASSPATH = $(shell for jar in $(DEB_JARS); do \
done; \
if [ -f "$(JAVA_HOME)/lib/tools.jar" ]; then echo -n "$(JAVA_HOME)/lib/tools.jar"; fi)
+ANT_ARGS := -propertyfile debian/ant.properties
ANT_INVOKE := $(JAVACMD) -classpath $(DEB_CLASSPATH) \
- org.apache.tools.ant.Main $(DEB_ANT_ARGS)
+ org.apache.tools.ant.Main $(ANT_ARGS)
PKGNAME := libdom4j-java
INSTALLDIR := $(CURDIR)/debian/$(PKGNAME)
--
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