[libjgroups-java] 08/38: * Run testsuite during build process.

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Nov 23 12:36:55 UTC 2017


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

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

commit 78d300df41a2468ff7e4d13285ed836648ab4ef1
Author: Torsten Werner <twerner at debian.org>
Date:   Mon Nov 19 05:48:37 2007 +0000

    * Run testsuite during build process.
---
 debian/ant.properties |  1 +
 debian/changelog      |  3 ++-
 debian/control        |  2 +-
 debian/rules          | 10 ++++++----
 4 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/debian/ant.properties b/debian/ant.properties
new file mode 100644
index 0000000..e9d87d4
--- /dev/null
+++ b/debian/ant.properties
@@ -0,0 +1 @@
+build.sysclasspath=first
diff --git a/debian/changelog b/debian/changelog
index ec81e65..dfe530e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,9 @@ libjgroups-java (2.6.0-GA-1) unstable; urgency=low
   UNRELEASED
   * new upstream release
   * Fix debian/watch to support the new upstream version.
+  * Run testsuite during build process.
 
- -- Torsten Werner <twerner at debian.org>  Sun, 18 Nov 2007 21:49:15 +0100
+ -- Torsten Werner <twerner at debian.org>  Mon, 19 Nov 2007 06:47:51 +0100
 
 libjgroups-java (2.5.1-1) unstable; urgency=low
 
diff --git a/debian/control b/debian/control
index 2e2c068..6b0073d 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders: Varun Hiremath <varunhiremath at gmail.com>, Torsten Werner <twerner at deb
 Build-Depends: cdbs, debhelper (>= 5)
 Build-Depends-Indep: ant, sun-java6-jdk, glassfish-javaee, bsh, junit,
  libxalan2-java, libbcprov-java, libcommons-logging-java,
- liblog4j1.2-java
+ liblog4j1.2-java, ant-optional
 Standards-Version: 3.7.2
 Homepage: http://www.jgroups.org/javagroupsnew/docs/index.html
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libjgroups-java
diff --git a/debian/rules b/debian/rules
index 9c3dafe..7eaf9b7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,13 @@
 #!/usr/bin/make -f
 
-include /usr/share/cdbs/1/class/ant.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
 
-JAVA_HOME 		:= /usr/lib/jvm/java-6-sun
-DEB_ANT_BUILD_TARGET	:= jar
-DEB_JARS		:= xalan2 serializer junit log4j-1.2 bsh commons-logging bcprov glassfish-javaee
+JAVA_HOME            := /usr/lib/jvm/java-6-sun
+ANT_OPTS             := -Xmx128M
+DEB_ANT_BUILD_TARGET := jar
+DEB_ANT_CHECK_TARGET := -Djgroups.bind_addr=`hostname` all-tests
+DEB_JARS             := xalan2 serializer junit log4j-1.2 bsh commons-logging bcprov glassfish-javaee ant-junit
 
 install/libjgroups-java::
 	install -m 644 -D dist/jgroups-all.jar $(DEB_DESTDIR)/usr/share/java/jgroups-all-$(DEB_UPSTREAM_VERSION).jar

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



More information about the pkg-java-commits mailing list