[med-svn] [artemis] 04/13: Set up build-time testing

Afif Elghraoui afif-guest at moszumanska.debian.org
Fri Oct 23 06:10:51 UTC 2015


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

afif-guest pushed a commit to branch master
in repository artemis.

commit 18e3ab20f5b5ad2e0d5a0baaca27fc5a98fdbea2
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Thu Oct 22 21:32:18 2015 -0700

    Set up build-time testing
---
 debian/control | 7 ++++++-
 debian/rules   | 3 +++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index bbd1c7a..accdd72 100644
--- a/debian/control
+++ b/debian/control
@@ -17,7 +17,12 @@ Build-Depends:
 	libsam-java,
 	libcommons-net2-java,
 	libbatik-java,
-	jemboss
+	jemboss,
+# For tests
+	ant,
+	ant-optional,
+	junit4,
+	libhamcrest-java,
 Standards-Version: 3.9.6
 Homepage: https://www.sanger.ac.uk/resources/software/artemis/
 Vcs-Git: git://anonscm.debian.org/debian-med/artemis.git
diff --git a/debian/rules b/debian/rules
index 07d95e1..12cc794 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,6 +40,9 @@ override_dh_auto_build:
 	sed 's|@CLASSPATH@|$(subst :,$(space),$(subst $(CURDIR),/usr/share/java/artemis.jar,$(CLASSPATH)))|g' debian/artemis.manifest.in > \
 		debian/artemis.manifest
 
+override_dh_auto_test:
+	cd test && ant -f build-test.xml test-headless -DEMBOSS_ROOT=/usr
+
 override_dh_auto_clean:
 	dh_auto_clean
 	$(RM) debian/artemis.manifest

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/artemis.git



More information about the debian-med-commit mailing list