[jabref] 377/459: debian/{rules,control}: activate unit tests.

gregor herrmann gregoa at debian.org
Thu Sep 15 20:41:12 UTC 2016


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

gregoa pushed a commit to branch master
in repository jabref.

commit 4d3e5f73326b274988c21a19b685d1feabf59a99
Author: gregor herrmann <gregoa at debian.org>
Date:   Tue Jan 1 18:34:06 2013 +0100

    debian/{rules,control}: activate unit tests.
---
 debian/control | 1 +
 debian/rules   | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/debian/control b/debian/control
index 927b913..547304b 100644
--- a/debian/control
+++ b/debian/control
@@ -24,6 +24,7 @@ Build-Depends-Indep: ant,
                      libpostgresql-jdbc-java,
                      libreoffice-java-common (>= 1:3.5),
                      libspin-java,
+                     junit,
                      ure,
                      velocity
 Standards-Version: 3.9.4
diff --git a/debian/rules b/debian/rules
index 6f31b72..93a33bd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,9 @@ override_dh_auto_build:
 	convert -geometry 32x32 src/images/JabRef-icon-48.png build/jabref32.xpm
 	convert -geometry 16x16 src/images/JabRef-icon-48.png build/jabref16.xpm
 
+override_dh_auto_test:
+	ANT_OPTS=-Dfile.encoding=iso-8859-1 ant compiletest
+
 override_dh_auto_install:
 	dh_auto_install
 	install -m 755 debian/jabref-wrapper $(CURDIR)/debian/jabref/usr/bin/jabref

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



More information about the pkg-java-commits mailing list